Mail Archives: cygwin/1999/06/15/14:07:32
Q: How can I solve this problem?
NT4 SP4 cygwin b20.1 (gcc egcs-2.91.57=egcs-1.1)
Attempting to build ACE (corba) for cygwin.
The second invocation of g++ (parameters sorted apphabetically):
g++ -c
-DACE_HAS_EXCEPTIONS
-fPIC
-g
-I/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/include/mingw32
-I/cygnus/cygwin-b20/include/g++
-I.
-I/ACE_wrappers
-mno-cygwin
-o .shobj/Log_Msg.o
-pipe
-Wall
-Wpointer-arith
Log_Msg.cpp
gave errors like this:
as.exe: bfd assertion fail
/home/noer/src/b20/comp-tools/devo/bfd/coff-i386.c:479
{standard input}: Assembler messages:
{standard input}:2391:
Error: Cannot represent relocation type BFD_RELOC_386_GOTPC
Inspecting the assembly-files reveals that the error occurs
on lines like these:
addl $_GLOBAL_OFFSET_TABLE_+[.-L8271],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8389],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8434],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8466],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8498],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8552],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8605],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8682],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8685],%ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-L8822],%ebx
I've put the assembly-file on http://huizen.dds.nl/~tjoen/Log_Msg.o.gz
for people who are interested to reproduce the error.
That is produced with parameter -S
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -