binutils + gcc 3.3

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Sat Jun 28 10:32:00 GMT 2003


On Saturday 28 June 2003 09:00, Dara Hazeghi wrote:
> Hello,
>
> I've been trying to find what the minimum version of
> binutils needed to bootstrap gcc 3.3 with on
> i686-pc-linux-gnu. 2.9.1.0.15 is what the install
> docs. say, but I suspected this was outdated, and
> indeed, results in:
> ...
> stage1/xgcc -Bstage1/
> -B/usr/local/i686-pc-linux-gnu/bin/   -g -O2 -DIN_GCC
>  -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic
> -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o
> gengenrtl \
>  gengenrtl.o ../libiberty/libiberty.a
> /usr/local/binutils/bin/ld: gengenrtl: Not enough room
> for program headers (allocated 6, need 7)
> /usr/local/binutils/bin/ld: final link failed: Bad
> value
> collect2: ld returned 1 exit status
>
> Does anybody have a better idea which version of
> binutils we should be currently requiring. I can go
> back and test them one at a time, but if someone
> knows, it'd save a good bit of time. Thanks,

On a linux platform with glibc-2.3.2 the minimum requirement is 2.13.1 or 
2.13.90.0.4. Older versions might give you strange problems with current 
glibc.

IMHO we simply shouldn't be that permissive with binutils at configure time, 
bailing out early for anything before 2.13.1 will save the users a lot of 
trouble and us from a lot of unnecessary support. After all binutils is a 
well-maintained GNU project we can rely on.

Franz.



More information about the Gcc mailing list