libiberty and m68k-coff?

Doug Evans devans@cygnus.com
Tue Jul 13 15:29:00 GMT 1999


   Date: Tue, 13 Jul 1999 11:12:50 -0700
   From: "Aaron J. Grier" <aaron@frye.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[1]: Leaving directory `/usr/local/src/onepass/m68k/m68k-coff/newlib'
   make[1]: 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[1]: *** [argv.o] Error 1
   make[1]: 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
   somewhere?

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 crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list