This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4
- From: "macro at linux-mips dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 20 Jun 2005 17:25:07 -0000
- Subject: [Bug libc/1026] New: Build failure for *xstat.c for Linux headers < 2.6.4
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
As advised by Ulrich Drepper I'm putting this report for you to resolve
when possible.
The Alpha/Linux port requires *stat64 calls for building
sysdeps/unix/sysv/linux/alpha/*xstat.c, but they have only been introduced
in Linux 2.6.4. The attached patch fixes the problem by only using these
calls if their numbers are provided by the set of Linux headers used for
the build.
2005-06-20 Maciej W. Rozycki <macro@linux-mips.org>
* sysdeps/unix/sysv/linux/alpha/fxstat.c (__fxstat): Exclude code
for calling the fstat64() syscall if its number is unavailable.
* sysdeps/unix/sysv/linux/alpha/lxstat.c (__lxstat): Likewise for
lstat64().
* sysdeps/unix/sysv/linux/alpha/xstat.c (__xstat): Likewise for
stat64().
Please consider -- for HEAD.
See also "http://sourceware.org/ml/libc-alpha/2005-06/msg00042.html" and
the containing thread.
--
Summary: Build failure for *xstat.c for Linux headers < 2.6.4
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: rth at redhat dot com
ReportedBy: macro at linux-mips dot org
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: alpha-linux-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1026
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.