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]
Other format: [Raw text]

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


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