[Olsr-dev] compile error on native ARMv7 / Ubuntu15.04

Ferry Huberts (spam-protected)
Mon Nov 9 13:54:08 CET 2015



On 09/11/15 13:50, Ferry Huberts wrote:
>
>
> On 09/11/15 13:45, Henning Rogge wrote:
>> On Mon, Nov 9, 2015 at 12:58 PM, Bastian Bittorf
>> <(spam-protected)> wrote:
>>>> I think this is really target-platform specific.
>>>
>>> yes, it is specific:
>>> the idea was to "just add it", because it does not
>>> hurt on real hardware, but only on embedded systems.
>>> (so only add it when NOT crosscompiling)
>>
>> This would be just a crude hack...
>>
>> on some platforms you will need fPIC... it doesn't matter if you
>> crosscompile for them or not.
>>
>> on others you don't need it, don't want it (or cannot use it?).
>
> why would you not want it?
>
>>
>> Does someone know the size difference between fPIC executables and
>> "normal ones"?
>
> I think it's not much, just an extra relocation table

Ah no, not that.

Other instructions; relative jumps etc.
So maybe a bit more instructions and a little more register pressure, 
depending on the architecture.



More information about the Olsr-dev mailing list