public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem compiling GCC 3.2 on i686-pc-linux: "not enough room for program headers"
@ 2002-10-29 14:51 Francis Hwang
  2002-10-29 17:11 ` Ben Elliston
  0 siblings, 1 reply; 10+ messages in thread
From: Francis Hwang @ 2002-10-29 14:51 UTC (permalink / raw)
  To: gcc-help

I'm trying to compile GCC 3.2, and configure seems to work, but then when I
make, I get this error:

checking whether the C compiler (...) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.

So I started looking around in the config.log files, and the first errors I
found were these, in i686-pc-linux-gnu/libstdc++-v3/config.log:

/usr/bin/ld: conftest: Not enough room for program headers (allocated 6,
need 7)
/usr/bin/ld: final link failed: Bad value

I'm getting a lot of these "not enough room for program headers" errors. In
the list archives, I've seen a couple of people saying that running ld -N
works well, but I'm not sure how to set that up when I'm compiling GCC. Is
there some flag that I should use that'll do that for me?

Thanks in advance,

Francis

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

end of thread, other threads:[~2002-11-22 18:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29 14:51 Problem compiling GCC 3.2 on i686-pc-linux: "not enough room for program headers" Francis Hwang
2002-10-29 17:11 ` Ben Elliston
2002-10-30  9:55   ` Francis Hwang
2002-10-30 17:02     ` Ben Elliston
2002-10-31 11:16       ` Francis Hwang
2002-11-22  9:17     ` CPP (preprocessor) quandry Eljay Love-Jensen
2002-11-22  9:43       ` Buddy Lott
2002-11-22 10:06         ` Eljay Love-Jensen
2002-11-22 10:11           ` Buddy Lott
2002-11-22 10:32             ` Eljay Love-Jensen

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).