[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/7] linux-user: dup3, fallocate syscalls
From: |
Jan-Simon Möller |
Subject: |
Re: [Qemu-devel] [PATCH 1/7] linux-user: dup3, fallocate syscalls |
Date: |
Sun, 26 Jul 2009 00:37:11 +0200 |
User-agent: |
KMail/1.9.9 |
Am Freitag 24 Juli 2009 19:10:26 schrieb Ulrich Hecht:
> +#if defined(CONFIG_FALLOCATE) && defined(TARGET_NR_fallocate)
> + case TARGET_NR_fallocate:
> + ret = get_errno(fallocate(arg1, arg2, arg3, arg4));
> + break;
> +#endif
This might need checking for the glibc version, of it will fail to build e.g.
on FC11 or with "older" glibc.
See https://bugzilla.redhat.com/show_bug.cgi?id=500487
buildlog:
LINK i386-linux-user/qemu-i386
/usr/lib/gcc/i586-redhat-linux/4.4.0/../../../libpthread.a(libpthread.o): In
function `sem_open':
(.text+0x69da): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/usr/bin/ld: Dwarf Error: Offset (9067) greater than or equal to .debug_str
size (7930).
syscall.o: In function `do_syscall':
/home/abuild/rpmbuild/BUILD/qemu-0.11git2009.07.24.0516/linux-user/syscall.c:6989:
undefined reference to `fallocate64'
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make: *** [subdir-i386-linux-user] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Tjmyt9 (%build)
Best,
Jan-Simon
- [Qemu-devel] [PATCH 0/7] linux-user syscall fixes, Ulrich Hecht, 2009/07/24
- [Qemu-devel] [PATCH 1/7] linux-user: dup3, fallocate syscalls, Ulrich Hecht, 2009/07/24
- [Qemu-devel] [PATCH 2/7] linux-user: fcntl fixes for LTP, Ulrich Hecht, 2009/07/24
- [Qemu-devel] [PATCH 3/7] linux-user: enable getdents for > 32-bit systems, Ulrich Hecht, 2009/07/24
- [Qemu-devel] [PATCH 4/7] linux-user: define a couple of syscalls for non-uid16 targets, Ulrich Hecht, 2009/07/24
- [Qemu-devel] [PATCH 5/7] linux-user: getpriority errno fix, Ulrich Hecht, 2009/07/24
- [Qemu-devel] [PATCH 6/7] linux-user: fadvise64 implementation, Ulrich Hecht, 2009/07/24
- [Qemu-devel] [PATCH 7/7] linux-user: zero fstat buffer to initialize nsec fields, Ulrich Hecht, 2009/07/24
Re: [Qemu-devel] [PATCH 1/7] linux-user: dup3, fallocate syscalls,
Jan-Simon Möller <=