Symbol weirdness on SCO OSR5
Jeffrey A Law
law@hurl.cygnus.com
Fri Sep 5 13:00:00 GMT 1997
In message < Pine.SCO.3.96.970901165458.23189A-101000@hyperion.pdev.sco.com >you write:
> 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.
>
Did it complain about any particular symbols? If so, are those symbols
stuff normally found in libgcc.a? That would indicate a missing -fpic/-fPIC
when building libgcc.
jeff
More information about the Gcc
mailing list