This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Need Help building glibc with NPTL support for ARM Linux 2.4.20
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Andrew Chalmers" <achalmers at ellex dot com>
- Cc: "Mike Frysinger" <vapier at gentoo dot org>, libc-help at sourceware dot org
- Date: Tue, 3 Jun 2008 08:50:54 -0400
- Subject: Re: Need Help building glibc with NPTL support for ARM Linux 2.4.20
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=HkuuPhBtK9dZj3I5MC6fpXW0VehEuTc9fp8cnP78bts=; b=mitB7BzsMryqgrhSDRMCiowJaE2wX65ucecXRKDE43pKRokQGQRIzBfjX6hNAKBm11kmKMRG5O58glqlPKecY0ZwHmHfOjZs2IRbvYcIPPoL5j1VQH3CCfKPVeicfipFqQ5hosU1R8DJSx19gerOownhgirCuPb4zucklO5rLO4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=VwBH7wsJvJsHo9qiQ5wJ9En8CZE3L6+vQaP+WbENRnCEEZKycFptqA2sfDAXwZKmlZPula5vicgqiGP6yt3xnHtI73/BYlQ5QFejdAXgXhs3DkAQsUP1P+4ZSo1eKmWWMlqCne81QgQ1tZGSEylHxblYVgfhtWzygd1ZY+DnP4U=
- References: <4844CC0E.5050707@ellex.com> <200806030135.57597.vapier@gentoo.org> <4844F604.4070203@ellex.com>
On Tue, Jun 3, 2008 at 3:43 AM, Andrew Chalmers <achalmers@ellex.com> wrote:
> Mike,
>
> Are you sure NPTL requires linux-2.6? I've seem numerous reference on the
> net to NPTL under linux 2.4. My understanding is that 2.4.18 or 2.4.20
> onwards includes the necessary features to support NPTL. But I cannot find
> any confirmation of this anywhere.
You need 2.6.16 at a minimum.
CodeSourcery has documented the key requirements here:
"ARM Linux Kernel Versions for Sourcery G++ 4.1/4.2"
https://support.codesourcery.com/GNUToolchain/kbentry22
> Will I have any more luck building the tool chain with 2.6 headers anyway?
Yes.
> Which versions should I use?
As high a version of kernel headers as possible. This allows glibc to
make use of newer features at run-time.
> I've seen it written that you can build glibc against a newer version of the
> kernel headers than the target kernel. Would that work if you build against
> 2.6 headers and run 2.4.20 on the target? (My gut feel is that something is
> bound to break.)
The 2.4 kernel is still not new enough to provide all the support
required for NPTL.
> Is there a NPTL support page that works? The link form the various copies of
> the original NPTL announcement on the net, all give me a unresponsive Redhat
> page.
What do you mean by "support page?" NPTL is part of glbic. This is the
authoritative mailing list :-) You need a new kernel.
Cheers,
Carlos.