Summary: | Build failure for *xstat.c for Linux headers < 2.6.4 | ||
---|---|---|---|
Product: | glibc | Reporter: | Maciej W. Rozycki <macro> |
Component: | ports | Assignee: | Roland McGrath <roland> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | glibc-bugs, gotom, vapier |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | alpha-linux-gnu | Target: | |
Build: | Last reconfirmed: | ||
Attachments: |
glibc-2.3.5-alpha-xstat64.patch
6001_all_alpha-glibc-2.4-xstat.patch |
Description
Maciej W. Rozycki
2005-06-20 17:25:03 UTC
Created attachment 523 [details]
glibc-2.3.5-alpha-xstat64.patch
mmm i'm pretty sure GOTO's patch is more correct: http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html Created attachment 920 [details]
6001_all_alpha-glibc-2.4-xstat.patch
trunk has a new file that also needs to be updated:
sysdeps/unix/sysv/linux/alpha/fxstatat.c
Thanks for your submission. This patch works more than one year with Debian alpha platforms. I'm happy if it'll be integrated in mainline. Maciej, Richard, could you review it? > This patch works more than one year with Debian alpha platforms.
yeah, we've need it for Gentoo/alpha too
Well, it looks like the resulting library won't work correctly if built against headers from Linux 2.6.4 or later and run on an earlier kernel. isnt that the point ? glibc isnt supposed to work on any kernel lower than what was passed to --enable-kernel at build time ... It's not about what's been passed to --enable-kernel if at all, but about what kernel headers are used for the build. In this particular case the option wasn't used. Alpha is not in the main tree anymore since we have no maintainer. Somebody has to step up and volunteer to be the maintainer of the alpha ports tree or nothing will happen. Richard Henderson committed GOTO Masanori's fix in commit 6a84c77c71 to glibc-ports.git. Marking as fixed. Thanks a lot, Matt and Richard! |