This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

eprintf hates me


Hi!

On my i586-pc-linux-gnu I set up a cross-compiling environment for a
powerpc-g3-linux-gnu, which seems to work (I can compile a kernel and boot
it w/o any problems). But I'm having big difficulties in compiling a
native compiler (gcc-2.95.2) on my i586 to run on the g3. The following
error gives me headaches (I posted only the tail -- the whole 2> is about
200k, all about __eprintf):

where.o: In function `ffewhere_line_filelinenum':
/usr/src/sources/lppc/compile/gcc-obj/gcc/f/../../../gcc-2.95.2/gcc/f/where.c:219: relocation truncated to fit: R_PPC_REL24 __eprintf
where.o: In function `ffewhere_line_kill':
/usr/src/sources/lppc/compile/gcc-obj/gcc/f/../../../gcc-2.95.2/gcc/f/where.c:235: relocation truncated to fit: R_PPC_REL24 __eprintf
where.o: In function `ffewhere_line_use':
/usr/src/sources/lppc/compile/gcc-obj/gcc/f/../../../gcc-2.95.2/gcc/f/where.c:333: relocation truncated to fit: R_PPC_REL24 __eprintf
collect2: ld returned 1 exit status
make[2]: *** [../f771] Error 1
make[1]: *** [f771] Error 2
make: *** [all-gcc] Error 2

The configuration was done by:

gcc-obj $ ../gcc-2.95.2/configure --host=powerpc-g3-linux-gnu --build=i586-pc-linux-gnu --target=powerpc-g3-linux-gnu --enable-static-link --with-newlib

I also tried to --enable-languagues="c" since the error seems to appear
when compiling the f77 compiler (or am I wrong?), but then gcc doesn't get
built either... very strange.

I need the --enable-static-link option because the target system does not
have a libc yet.

Does anybody have any idea about what I'm doing wrong?

best regards,
florin.


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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