Glibc-2.6 (was Re: GCC-4.2)
Greg Schafer
diy-linux-dev@diy-linux.org
Fri, 18 May 2007 16:08:12 +1000
On Fri, May 18, 2007 at 01:08:38PM +1000, Greg Schafer wrote:
> I'll start some testing.
Ok, first problem for x86 is Glibc-2.6 doesn't support i386 anymore. Lowest
supported config is apparently i486. We'll have to change the temptools
Glibc to compile with -march=i486 (chroot Glibc already uses -march=i686 so
it's sweet):
http://sourceware.org/ml/libc-alpha/2007-01/msg00060.html
http://sourceware.org/ml/libc-alpha/2007-02/msg00008.html
Second problem is coreutils-6.9 fails to compile. Glibc-2.6 has apparently
gained futimens() and it conflicts with the Coreutils version. I tried
hacking Coreutils to make it build but gave up after half an hour of
frustration. Instead, I just remmed out the futimens declaration in
sys/stat.h :-/ Someone needs to fix Coreutils.. I've sent upstream a note:
http://lists.gnu.org/archive/html/bug-coreutils/2007-05/msg00158.html
Glibc-2.6 tests for GCC-4.2 and adds `-fgnu89-inline' to CFLAGS which gets
rid of the earlier mentioned warnings.
There are still testsuite errors but slightly better than earlier:
# grep "\*\*\*.*Error" glibc-2.6.log
make[2]: *** [/temptools/src/glibc-build/math/test-double.out] Error 1
make[2]: *** [/temptools/src/glibc-build/math/test-ldouble.out] Error 1
make[2]: *** [/temptools/src/glibc-build/math/test-ildoubl.out] Error 1
make[1]: *** [math/tests] Error 2
make[2]: *** [/temptools/src/glibc-build/posix/tst-vfork3.out] Error 1
make[1]: *** [posix/tests] Error 2
make: *** [check] Error 2
More later...
Regards
Greg