Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Questions about the building process (Olimex lime2)



Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>On Thu, 11 Jul 2019, Robert Swindells wrote:
>>
>> Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>>> On Thu, 11 Jul 2019, Robert Swindells wrote:
>>>> I have tried running both MKPIE=no and MPIE=yes, same results. It is
>>>> reproduceable by building something from pkgsrc, www/curl generates a
>>>> lot of errors.
>>
>>> My bulk build (earmv7hf-el 8.99.42) is at 7886 packages so far. Just
>>> installed the curl package and it works fine..
>>
>> What do you see in the build log for it ?
>
>Ah! I do see those "invalid string offset" messages at link time:
>
>   CCLD     curl
>ld: ../lib/.libs/libcurl.so: invalid string offset 1444 >= 1362 for 
>section `.strtab'
>ld: ../lib/.libs/libcurl.so: invalid string offset 2027 >= 1362 for 
>section `.strtab'
>
>The resulting binary still works though:

I would guess that a fair number of strings in curl are error messages
which won't be dereferenced in normal usage.

It would still be nice to get rid of the error/warning messages for
NetBSD-9.


Home | Main Index | Thread Index | Old Index