ld: gengenrtl: Not enough room for program headers

Larry Evans jcampbell3@prodigy.net
Wed Jun 5 10:50:00 GMT 2002


I got the above error message while bootstrapping gcc3.1 on:

uname -a
Linux localhost.localdomain 2.2.13-4mdk #1 Tue Sep 7 18:23:11 CEST 1999 i586 unknown

I configured with:

/mnt/scratch/download/gcc-3.1/gcc-3.1/configure
--prefix=/mnt/scratch/download/gcc-3.1/debug/install --enable-languages=c++,java
--enable-checking --enable-threads=posix

A more detailed copy of the error message follows:
<-----------------------------------

make[1]: Entering directory `/mnt/scratch/download/gcc-3.1/debug/build/gcc'
make CC="stage1/xgcc -Bstage1/
-B/mnt/scratch/download/gcc-3.1/debug/install/i586-pc-linux-gnu/bin/" \
  STAGE_PREFIX=stage1/ \
  CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-Wtraditional
-pedantic -Wno-long-long" libdir=/mnt/scratch/download/gcc-3.1/debug/install/lib LANGUAGES="c
gcov c++ java" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
make[2]: Entering directory `/mnt/scratch/download/gcc-3.1/debug/build/gcc'
stage1/xgcc -Bstage1/ -B/mnt/scratch/download/gcc-3.1/debug/install/i586-pc-linux-gnu/bin/
-DIN_GCC    -g -O2 -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/bin/ld: gengenrtl: Not enough room for program headers (allocated 6, need 7)
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [gengenrtl] Error 1
make[2]: Leaving directory `/mnt/scratch/download/gcc-3.1/debug/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/scratch/download/gcc-3.1/debug/build/gcc'
make: *** [bootstrap] Error 2
>------------------------------------
Please, what should I do to work-around the problem?
 I've got a 32meg ram Dell Dimension XPS P200s.

TIA.





More information about the Gcc-help mailing list