This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: detecting non-PIC in shared lib on Darwin?
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: howarth at bromo dot msbb dot uc dot edu, mrs at apple dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 27 Apr 2006 15:11:21 -0400 (EDT)
- Subject: Re: detecting non-PIC in shared lib on Darwin?
Mike,
Indeed this is a bug in the linker on MacOS X. Read...
http://gcc.gnu.org/ml/gcc/2006-04/msg00523.html
When the arch is set to ppc64, the error...
ld: foo.o has local relocation entries in non-writable section (__TEXT,__text)
doesn't occur and non-PIC code is silently linked into a shared lib. Blah.
Jack