This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling GCC 3.2 on i686-pc-linux: "not enough room for program headers"


So updating binutils helped: I'm getting further, but now I'm stuck
somewhere else. It's on this line:

/home/francis/gcc-3.2/gcc/gcj -B/home/francis/gcc-3.2/i686-pc-linux-gnu/libj
ava/ -B/home/francis/gcc-3.2/gcc/ --encoding=UTF-8 -fclasspath= -fbootclassp
ath=/home/francis/gcc-3.2/i686-pc-linux-gnu/libjava -ffloat-store -g -O2 -MD
 -MT java/lang/Class.lo -MF java/lang/Class.d -c
java/lang/Class.java -fPIC -o java/lang/.libs/Class.o
/tmp/ccWKhZuc.s: Assembler messages:
/tmp/ccWKhZuc.s:2: Warning: Missing string
/tmp/ccWKhZuc.s:2: Error: Rest of line ignored. First ignored character is
`1'.
/tmp/ccWKhZuc.s:17: Error: Unknown pseudo-op:  `.loc'
/tmp/ccWKhZuc.s:28: Error: Unknown pseudo-op:  `.loc'
/tmp/ccWKhZuc.s:34: Error: Unknown pseudo-op:  `.loc'
/tmp/ccWKhZuc.s:43: Warning: Missing string
/tmp/ccWKhZuc.s:43: Error: Rest of line ignored. First ignored character is
`2'.
/tmp/ccWKhZuc.s:44: Warning: Missing string
/tmp/ccWKhZuc.s:44: Error: Rest of line ignored. First ignored character is
`3'.
....

I'll spare you the 6 or so screens of output: It's a lot of "Unknown
pseudo-op" and "Bad .section directive: want a,w,x in string" ... Since this
is Java-specific stuff, and I only really care about C & C++ at this point,
I tried using

./configure --enable-languages=c,c++

but that seemed to open a whole different can of worms ... Any ideas where I
should look next?

Thanks,

Francis

----- Original Message -----
From: "Ben Elliston" <bje@redhat.com>
To: <gcc-help@gcc.gnu.org>
Sent: Wednesday, October 30, 2002 8:02 PM
Subject: Re: Problem compiling GCC 3.2 on i686-pc-linux: "not enough room
for program headers"


> >>>>> "Francis" == Francis Hwang <francis@rhizome.org> writes:
>
>   >> What kind of system do you have?  What does `sh config.guess' say?
>
>   Francis> i686-pc-linux-gnu
>
> Of course, as your message subject suggests. Ooops.
>
>   >> /usr/bin/ld -v
>   Francis> GNU ld version 2.9.1 (with BFD 2.9.1.0.24)
>
>   Francis> So, the GNU linker, I suppose. BTW, is the version number
>   Francis> for ld the same as the version number for binutils? Cause
>   Francis> if so, and binutils is at 2.13, maybe that means I ought to
>   Francis> update that?
>
> I think that would be a good starting point.  It sounds like it could
> be a bug in the linker script used by ld.
>
> Ben
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]