qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jan-Simon Möller" <dl9pf@gmx.de>
To: qemu-devel@nongnu.org
Cc: riku.voipio@iki.fi
Subject: Re: [Qemu-devel] [PATCH 1/7] linux-user: dup3, fallocate syscalls
Date: Sun, 26 Jul 2009 00:37:11 +0200	[thread overview]
Message-ID: <200907260037.11900.dl9pf@gmx.de> (raw)
In-Reply-To: <1248455432-12959-2-git-send-email-uli@suse.de>

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

      parent reply	other threads:[~2009-07-25 22:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24 17:10 [Qemu-devel] [PATCH 0/7] linux-user syscall fixes Ulrich Hecht
2009-07-24 17:10 ` [Qemu-devel] [PATCH 1/7] linux-user: dup3, fallocate syscalls Ulrich Hecht
2009-07-24 17:10   ` [Qemu-devel] [PATCH 2/7] linux-user: fcntl fixes for LTP Ulrich Hecht
2009-07-24 17:10     ` [Qemu-devel] [PATCH 3/7] linux-user: enable getdents for > 32-bit systems Ulrich Hecht
2009-07-24 17:10       ` [Qemu-devel] [PATCH 4/7] linux-user: define a couple of syscalls for non-uid16 targets Ulrich Hecht
2009-07-24 17:10         ` [Qemu-devel] [PATCH 5/7] linux-user: getpriority errno fix Ulrich Hecht
2009-07-24 17:10           ` [Qemu-devel] [PATCH 6/7] linux-user: fadvise64 implementation Ulrich Hecht
2009-07-24 17:10             ` [Qemu-devel] [PATCH 7/7] linux-user: zero fstat buffer to initialize nsec fields Ulrich Hecht
2009-07-25 22:37   ` Jan-Simon Möller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200907260037.11900.dl9pf@gmx.de \
    --to=dl9pf@gmx.de \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).