This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Symbol weirdness on SCO OSR5


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

badsyms.t.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]