2.35. When recompiling GCC, I get compilation errors in libio.
2.36. Why shall glibc never get installed on GNU/Linux systems in
/usr/local?
+2.37. When recompiling GCC, I get compilation errors in libstdc++.
3. Source and binary incompatibilities, and what to do about them
You should always try to use the latest official release. Older versions
may not have all the features GNU libc requires. The current releases of
-gcc (2.95 or newer) should work with the GNU C library (for powerpc see
-question 1.5; for ARM see question 1.6; for MIPS see question 1.20).
+gcc (3.2 or newer) should work with the GNU C library (for MIPS see question 1.20).
Please note that gcc 2.95 and 2.95.x cannot compile glibc on Alpha due to
problems in the complex float support.
1.5. Which compiler should I use for powerpc?
-{GK} You want to use at least gcc 2.95 (together with the right versions
-of all the other tools, of course). See also question 2.8.
+{} Removed. Does not apply anymore.
1.6. Which tools should I use for ARM?
-{PB} You should use egcs 1.1 or a later version. For ELF systems some
-changes are needed to the compiler; a patch against egcs-1.1.x can be found
-at:
-
-<ftp://ftp.netwinder.org/users/p/philb/egcs-1.1.1pre2-diff-981126>
-
-Binutils 2.10.1 or later is also required.
+{} Removed. Does not apply anymore.
1.7. Do I need some more things to compile the GNU C Library?
There are some failures which are not directly related to the GNU libc:
- Some compilers produce buggy code. No compiler gets single precision
- complex numbers correct on Alpha. Otherwise, the egcs 1.1 release should be
- ok; gcc 2.8.1 might cause some failures; gcc 2.7.2.x is so buggy that
- explicit checks have been used so that you can't build with it.
+ complex numbers correct on Alpha. Otherwise, gcc-3.2 should be ok.
- The kernel might have bugs. For example on Linux/Alpha 2.0.34 the
floating point handling has quite a number of bugs and therefore most of
the test cases in the math subdirectory will fail. Linux 2.2 has
1.20. Which tools should I use for MIPS?
-{AJ} You should use the current development version of gcc 3.0 or newer from
-CVS. gcc 2.95.x does not work correctly on mips-linux.
+{AJ} You should use the current development version of gcc 3.2 or newer from
+CVS.
You need also recent binutils, anything before and including 2.11 will not
work correctly. Either try the Linux binutils 2.11.90.0.5 from HJ Lu or the
glibc 2.x?
{AJ} There's only correct support for glibc 2.0.x in gcc 2.7.2.3 or later.
-But you should get at least gcc 2.95.2.1 (or later versions) instead.
+But you should get at least gcc 2.95.3 (or later versions) anyway
2.10. The `gencat' utility cannot process the catalog sources which
{BH} You are using g++ 2.95.2? After upgrading to glibc 2.2, you need to
apply a patch to the include files in /usr/include/g++, because the fpos_t
type has changed in glibc 2.2. The patch is at
-http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
+
+ http://www.haible.de/bruno/gccinclude-glibc-2.2-compat.diff
2.35. When recompiling GCC, I get compilation errors in libio.
install this glibc version as default version, overriding the existing one,
use --prefix=/usr and everything will go in the right places.
+
+2.37. When recompiling GCC, I get compilation errors in libstdc++.
+
+{BH} You are trying to recompile gcc 3.2? You need to patch gcc 3.2,
+because some last minute changes were made in glibc 2.3 which were not
+known when gcc 3.2 was released. The patch is at
+
+ http://www.haible.de/bruno/gcc-3.2-glibc-2.3-compat.diff
+
\f
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
m68k-*-linux-gnu Linux-2.x on Motorola 680x0
alpha*-*-linux-gnu Linux-2.x on DEC Alpha
powerpc-*-linux-gnu Linux and MkLinux on PowerPC systems
- powerpc64-*-linux-gnu Linux-2.4+ on 64-bit PowerPC systems
+ powerpc64-*-linux-gnu Linux-2.4.19+ on 64-bit PowerPC systems
sparc-*-linux-gnu Linux-2.x on SPARC
sparc64-*-linux-gnu Linux-2.x on UltraSPARC 64-bit
arm-*-none ARM standalone systems
mips*-*-linux-gnu Linux-2.x on MIPS
ia64-*-linux-gnu Linux-2.x on ia64
s390-*-linux-gnu Linux-2.x on IBM S/390
- s390x-*-linux-gnu Linux-2.x on IBM S/390 64-bit
+ s390x-*-linux-gnu Linux-2.4+ on IBM S/390 64-bit
sh-*-linux-gnu Linux-2.x on Super Hitachi
cris-*-linux-gnu Linux-2.4+ on CRIS
+ x86-64-*-linux-gnu Linux-2.4+ on x86-64
Former releases of this library (version 1.09.1 and perhaps earlier
versions) used to run on the following configurations: