I ran into problems building the triumvirate linux, gcc, glibc. I have
a linux 2.4.21-50 with gcc 3.2.3. I built and installed the gcc V3.4.6
and I tried to build the latest (V2.7) glibc. Here I started to have
problems with __thread, and nptl and finaly I found a note in gcc-bug
list I have to install more recent headers. I quote from the gcc-bug
mailing list "NPTL requires a 2.6 kernel with appropriate headers."
So I tried to find on the net a compatibility matrix for linux / gcc /
glibc. I mean something like linux V2.4.36-2 will work with gcc
V3.4.6 and glibc V2.3.6. Until now I haven't been able to find
something clear. I would appreciate if somebody could point me to such
a information.
Thanks,
StephanT.
> So I tried to find on the net a compatibility matrix for linux / gcc /
> glibc. I mean something like linux V2.4.36-2 will work with gcc
> V3.4.6 and glibc V2.3.6. Until now I haven't been able to find
> something clear. I would appreciate if somebody could point me to such
> a information.
You are unlikely to find such matrix, and if you do, it is very
unlikely to be correct:
- There is no such thing as "linux V2.4.36-2" or "2.4.21-50".
There are unpatched versions 2.4.21 and 2.4.36.2, but -50 implies
local patches from whichever distribution you are using.
- In general, NPTL requires 2.6.x kernels. But RedHat back-ported
a lot of required changes to 2.4.x, and has been shipping NPTL
glibc since RedHat 9.0 (kernel 2.4.20; but that's not really
2.4.20, it's 2.4.20 + redhat patches).
- Other distributors may apply different set of patches, may
name their kernels whatever they want, etc. etc.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
> You are unlikely to find such matrix, and if you do, it is very
> unlikely to be correct:
This is a valuable information :o) - helps me to build my own
compatibility table.
The 2.4.36.2 I had mention in my previous post is downloaded from the
kernel dot org. I built it on top of an
old RedHat 2.4.21-50EL and I tried to update my GNU tools to the
latest... Wrong decision!
After some build experiences plus what you say and what I see on the
net a "raw" 2.4 will work at the best with:
- binutils V2.16
- gcc V3.4.6 and
- glibc V2.3.6
Any higher versions of GNU tools will require 2.6 to make NPTL happy.
Am I right?
Ciao,
/st