This is the mail archive of the
mailing list for the crossgcc project.
Re: libiberty and m68k-coff?
- To: firstname.lastname@example.org
- Subject: Re: libiberty and m68k-coff?
- From: Doug Evans <email@example.com>
- Date: Tue, 13 Jul 1999 13:16:55 -0700
- Reply-To: firstname.lastname@example.org
Date: Tue, 13 Jul 1999 11:12:50 -0700
From: "Aaron J. Grier" <email@example.com>
After wrestling a little getting things pounded out into the one-tree
configuration, and getting egcs-1.1.2 to compile and almost all of
newlib built, I'm now stuck with libiberty:
make: Leaving directory `/usr/local/src/onepass/m68k/m68k-coff/newlib'
make: Entering directory `/usr/local/src/onepass/m68k/m68k-coff/libiberty'
test x"yes" != xyes || \
/usr/local/src/onepass/m68k/gcc/xgcc -B/usr/local/src/onepass/m68k/gcc/ -idirafter /usr/local/src/onepass/m68k/m68k-coff/newlib/targ-include -idirafter /usr/local/src/onepass/newlib/libc/include -nostdinc -c -DHAVE_CONFIG_H -g -Os -I. -I../../../libiberty/../include -fpic ../../../libiberty/argv.c -o pic/argv.o
/tmp/cc0hCo8E.s: Assembler messages:
/tmp/cc0hCo8E.s:52: Error: parse error -- statement `lea (%pc,_GLOBAL_OFFSET_TABLE_@GOTPC),%a5' ignored
/tmp/cc0hCo8E.s:177: Error: parse error -- statement `lea (%pc,_GLOBAL_OFFSET_TABLE_@GOTPC),%a5' ignored
/tmp/cc0hCo8E.s:231: Error: parse error -- statement `lea (%pc,_GLOBAL_OFFSET_TABLE_@GOTPC),%a5' ignored
make: *** [argv.o] Error 1
make: Leaving directory `/usr/local/src/onepass/m68k/m68k-coff/libiberty'
make: *** [all-target-libiberty] Error 2
Is _GLOBAL_OFFSET_TABLE@GOTPC supposed to be defined in a header file
m68k-coff doesn't support -fpic [I could be wrong but I doubt it].
You need to find out why a shared library version of the target libiberty
is trying to be built. [Did you configure with --enable-shared? Though
I would have thought that wouldn't affect this.]
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
To remove yourself from the crossgcc list, send
mail to firstname.lastname@example.org with the
text 'unsubscribe' (without the quotes) in the
body of the message.