set fPIC option for librt

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Sep 11 12:44:43 UTC 2008


On Thu, Sep 11, 2008 at 02:13:07PM +0200, Carmelo AMOROSO wrote:
> Bernhard Reutner-Fischer wrote:
>> On Thu, Sep 11, 2008 at 07:32:09PM +0800, JACOB BENJAMIN-VGH684 wrote:

>>> Now how and where do i make the config files to have fPIC set for the
>>> cross compiler??
>>
>>
>> I was under the impression that we already use pic for the shared
>> objects, but ok.
>>
> Yes, exactly. I do think that there is some bogus asm code that is not  
> PIC, and FORCE_SHAREBLAE_TEXT_SEGMENT is set so linker refuses loading
> non pic libraries.

Perhaps you can pinpoint these spots, Jacob.

thanks,



More information about the uClibc mailing list