------- Comment #7 from rob1weld at aol dot com  2009-02-14 04:17 -------
I grepped for CRT_GET_RFIB_DATA and found a definition at the tail of: 
/usr/share/src/gcc_trunk/gcc/config/frv/frv.h .


Here is ../gcc_trunk/gcc/crtstuff.c :
static void __attribute__((used))
frame_dummy (void)
{ ...

and the error:

/usr/local/bin/as -v -I.
-I/usr/share/src/gcc_build/x86_64-pc-solaris2.11/amd64/libgcc
-I../../gcc_trunk/gcc
-I../../gcc_trunk/gcc//usr/share/src/gcc_build/x86_64-pc-solaris2.11/amd64/libgcc
-I../../gcc_trunk/gcc/../include -I./../intl
-I../../gcc_trunk/gcc/../libcpp/include -I/usr/local/include
-I/usr/local/include -I../../gcc_trunk/gcc/../libdecnumber
-I../../gcc_trunk/gcc/../libdecnumber/dpd -I../libdecnumber -V -Qy --64 -s -o
/usr/share/src/gcc_build/x86_64-pc-solaris2.11/amd64/libgcc/crtbegin.o
crtstuff.s
GNU assembler version 2.19.1 (i386-pc-solaris2.11) using BFD version (GNU
Binutils) 2.19.1
crtstuff.s: Assembler messages:
crtstuff.s:91: Error: suffix or operands invalid for `pop'
crtstuff.s:92: Error: Incorrect register `%rdx' used with `l' suffix


Here is a (likely incorrect) modification:

#define CRT_GET_RFIB_DATA(dbase) \
  ({ extern void *_GLOBAL_OFFSET_TABLE_; (dbase) = &_GLOBAL_OFFSET_TABLE_; })
static void __attribute__((used))
frame_dummy (void)
{ ...


but no error messages ... So the existing definition (if I can locate it)
is borked and hardwired 32 bit. It could be a file created by a script
or a static (non-created) file. Slowly I inch forward ...

Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39186

Reply via email to