Symbol weirdness on SCO OSR5
J. Kean Johnston
jkj@sco.com
Mon Sep 1 16:59:00 GMT 1997
Hi all.
Just noticed a distrurbing difference between GCC 2.7.2.1 and egcs (and
gcc 2.8.0 snapshots too). I noticed it while trying to compile XFree86 on
SCO Open Server 5. When compiling with egcs or gcc2.8, I get the following
error when trying to create the dynamic version of libXaw.so:
fatal error: relocations remain against allocatable but non-writable
section: .text
This is becuase ld is being invoked with -z text. It bleats about the
symbols in Panner.o. For reference, I have included the object files
generated by both egcs and the old gcc2.7.2.1, as well as objdump
disassembly and objump --reloc.
Any clues?
JKJ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: badsyms.t.gz
Type: application/x-gzip
Size: 44853 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/19970901/8f1a7e27/attachment.bin>
More information about the Gcc
mailing list