qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] linux-user: fix build error against older glibcs
@ 2009-06-09 21:26 Eduardo Habkost
  2009-06-09 21:26 ` [Qemu-devel] [PATCH 1/2] linux-user/syscall.c: define _ATFILE_SOURCE Eduardo Habkost
  2009-06-09 21:26 ` [Qemu-devel] [PATCH 2/2] check for utimensat() availability on configure Eduardo Habkost
  0 siblings, 2 replies; 22+ messages in thread
From: Eduardo Habkost @ 2009-06-09 21:26 UTC (permalink / raw)
  To: Anthony Liguori, Glauber Costa; +Cc: qemu-devel

This series fixes the following build error on older glibc versions (on my
case, version 2.5-34 from RHEL-5).

   LINK  x86_64-linux-user/qemu-x86_64
 syscall.o: In function `sys_utimensat':
 /home/ehabkost/code/qemu/qemu/linux-user/syscall.c:419: undefined reference to `utimensat'
 collect2: ld returned 1 exit status
 make[1]: *** [qemu-x86_64] Error 1
 make: *** [subdir-x86_64-linux-user] Error 2

This happens because the older glibc has most xxxat() functions available, but
not utimensat(). utimensat() needs a separate test on configure.

---
Eduardo Habkost (2):
  linux-user/syscall.c: define _ATFILE_SOURCE
  check for utimensat() availability on configure

 configure            |   24 ++++++++++++++++++++++++
 linux-user/syscall.c |   26 ++++++++++++++++++--------
 2 files changed, 42 insertions(+), 8 deletions(-)

-- 
Eduardo

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-06-12 13:22 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 21:26 [Qemu-devel] [PATCH 0/2] linux-user: fix build error against older glibcs Eduardo Habkost
2009-06-09 21:26 ` [Qemu-devel] [PATCH 1/2] linux-user/syscall.c: define _ATFILE_SOURCE Eduardo Habkost
2009-06-09 21:26 ` [Qemu-devel] [PATCH 2/2] check for utimensat() availability on configure Eduardo Habkost
2009-06-09 22:06   ` Arnaud Patard
2009-06-10 14:12     ` Eduardo Habkost
2009-06-10 14:39       ` Arnaud Patard
2009-06-10 19:10         ` Eduardo Habkost
2009-06-10 21:48           ` Riku Voipio
2009-06-10 22:09             ` Eduardo Habkost
2009-06-11 15:14               ` Riku Voipio
2009-06-10 16:07       ` Riku Voipio
2009-06-10 16:20         ` Glauber Costa
2009-06-10 16:30           ` Arnaud Patard
2009-06-10 16:56             ` Glauber Costa
2009-06-10 22:05               ` Riku Voipio
2009-06-11  8:33                 ` Arnaud Patard
2009-06-11 15:09                   ` Riku Voipio
2009-06-12  8:30                     ` ltp vs linux-user (was: Re: [Qemu-devel] [PATCH 2/2] check for utimensat() availability on configure) Arnaud Patard
2009-06-11 11:27                 ` [Qemu-devel] [PATCH 2/2] check for utimensat() availability on configure vibi sreenivasan
2009-06-12 13:24                 ` vibi sreenivasan
2009-06-10 15:03     ` Glauber Costa
2009-06-10 21:53       ` Riku Voipio

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).