Toolchain versions
Greg Schafer
diy-linux-dev@diy-linux.org
Fri, 3 Feb 2006 08:34:13 +1100
Hi Guys
A commit was just made to INSTALL on the Glibc trunk:
http://sources.redhat.com/ml/glibc-cvs/2006-q1/msg00587.html
The relevant paragraph now reads:
* GCC 3.4 or newer, GCC 4.1 recommended
The GNU C library can only be compiled with the GNU C compiler
family. For the 2.3 releases, GCC 3.2 or higher is required; GCC
3.4 is the compiler we advise to use for 2.3 versions. For the
2.4 release, GCC 3.4 or higher is required; as of this writing,
GCC 4.1 is the compiler we advise to use for current versions. On
certain machines including `powerpc64', compilers prior to GCC 4.0
have bugs that prevent them compiling the C library code in the
2.4 release. On other machines, GCC 4.1 is required to build the C
library with support for the correct `long double' type format;
these include `powerpc' (32 bit), `s390' and `s390x'.
Note especially the sentence about which GCC they advise to use for the 2.3
versions. This further justifies my big fat "Important" para in the current
Ref' Build doc about the unsuitability of using GCC-4.0.x with Glibc-2.3.x.
BTW, the general feedback I'm receiving about this "multiple version"
support in the Ref' Build is positive. I'll probably extend this even
further when GCC-4.1 soon hits the streets. It adds a testing burden but I
think it's worth it. Note there will always be a "default" set of toolchain
versions.
BTW another thing, the last Glibc trunk snapshot I tried worked pretty well.
There was 1 testsuite failure caused by the fact that one of the Glibc tests
is now compiled with g++:
/temptools/src/glibc-build/nptl/tst-cancel24: error while loading shared
libraries: libstdc++.so.6: cannot open shared object file: No such file or
directory
make[2]: *** [/temptools/src/glibc-build/nptl/tst-cancel24.out] Error 127
which probably means we'll need to add an additional essential symlink to
circumvent the issue. Additionally, there was 1 weird failure in the
Coreutils testsuite which I haven't dug into yet..
Regards
Greg