[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


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 
/usr/bin/ld: Dwarf Error: Offset (9067) greater than or equal to .debug_str 
size (7930).
syscall.o: In function `do_syscall':
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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]