Require binutils 2.20 or later to build glibc

Carlos O'Donell carlos@systemhalted.org
Mon Feb 27 22:59:00 GMT 2012


On Mon, Feb 27, 2012 at 5:33 PM, Ryan S. Arnold <ryan.arnold@gmail.com> wrote:
>> Normally a native toolchain would not include glibc - it would work with
>> the system's pre-existing glibc, since using a different glibc from that
>> installed in /lib etc. isn't particularly convenient - while a cross
>> toolchain would include the compiler used to build glibc and the
>> distribution's native compiler version wouldn't be relevant.  (To be
>> clear, the version requirement proposal is purely about $CC, the compiler
>> used to build glibc itself, not $BUILD_CC, the native compiler for the
>> system on which glibc is built.)
>
> Yes, it's used to make early use of compiler and library performance
> and functionality improvements.  I just reviewed our scripting and
> verified that we don't actually build GLIBC in any stage with the
> system compiler, so we should be ok.

I think that if you want 4.3 support you'll have to start compiling
with 4.3 and start by fixing the uchar.h problem and fallback to some
compatible types.

I'd review such a patch.

Cheers,
Carlos.



More information about the Libc-alpha mailing list