This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Symbol weirdness on SCO OSR5
- To: "J. Kean Johnston" <jkj at sco dot com>
- Subject: Re: Symbol weirdness on SCO OSR5
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Fri, 05 Sep 1997 14:00:32 -0600
- cc: EGCS Mailing List <egcs at cygnus dot com>
- Reply-To: law at cygnus dot com
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