[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: please drop whatever you're doing and add -fPIC to all your rockspecs.
- From: Mikhail Gusarov <dottedmag@...>
- Date: Sun, 28 Feb 2010 00:25:36 +0600
Twas brillig at 19:34:18 27.02.2010 UTC+02 when email@example.com did gyre and gimble:
>> Not only is it sensible, it's essential for properly working shared
sd> Fair enough, but how have we managed to do without it then?
On x86 you'll get a bunch of TEXTREL relocations, so resulting shared
objects will work, but runtime linker will need to modify their .text
segment during load and hence loaded code won't be shared between
processes (such shared objects shouldn't be called "shared" at all :).
On other archituctures you'll get a linker error upfront.
Description: PGP signature