linux-user: fix build error against older glibcs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | linux-user/syscall.c: define _ATFILE_SOURCElinux-user/ | +1 | 0 replies | |
| 2/2 | check for utimensat() availability on configureconfigure linux-user/ | +41 | 19 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] linux-user: fix build error against older glibcs
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(-)
Signature · 1 line
Eduardo