Lee Noar wrote:

I've checked my version of libglib2 in /home/riscos/env/lib and have
found that it does contain PIC code.

Is this a recent build?  Check in last-success for the build log and
see if it has -fPIC or not for the various object files.

Ideally, the linker would help out here, refusing to link fPIC
and non-fPIC files (as it does for different FPU emulations), but
I don't know what the mechanics of this are under ELF.

Although, if the compiler was somehow including shared library
code when the -fPIC wasn't specified, this wouldn't help.

_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to