public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ld: gengenrtl: Not enough room for program headers
@ 2002-06-05 10:50 Larry Evans
  2002-06-07  5:53 ` Larry Evans
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Evans @ 2002-06-05 10:50 UTC (permalink / raw)
  To: gcc-help

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ld: gengenrtl: Not enough room for program headers
  2002-06-05 10:50 ld: gengenrtl: Not enough room for program headers Larry Evans
@ 2002-06-07  5:53 ` Larry Evans
  0 siblings, 0 replies; 3+ messages in thread
From: Larry Evans @ 2002-06-07  5:53 UTC (permalink / raw)
  To: gcc-help

Larry Evans wrote:

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

[snip]

>
> /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?

[snip]
Found an answer in search for "room program headers" in http://sources.redhat.com/ml/bug-binutils/.
Sorry for the noise.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* ld: gengenrtl: Not enough room for program headers
@ 2002-07-07 16:17 danny
  0 siblings, 0 replies; 3+ messages in thread
From: danny @ 2002-07-07 16:17 UTC (permalink / raw)
  To: gcc-help

Hey Now  linux people,

I'm getting this error too. I checkout Larry Evens solution, found on a
red hat list but it did not explain how to correct the problem. Hey I'm
a newbe. I suppose I may have missed something. Any ideas?

Thanks
  Danny

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-07 23:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05 10:50 ld: gengenrtl: Not enough room for program headers Larry Evans
2002-06-07  5:53 ` Larry Evans
2002-07-07 16:17 danny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).