pkgsrc-Users archive

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

Re: Relocation against symbol can not be used when making a shared object



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 10.02.2016 13:05, Kamil Rytarowski wrote:
> On 10.02.2016 13:01, Joerg Sonnenberger wrote:
>> On Wed, Feb 10, 2016 at 11:27:55AM +0100, Kamil Rytarowski
>> wrote:
>>> On 10.02.2016 11:18, Joerg Sonnenberger wrote:
>>>> On Wed, Feb 10, 2016 at 11:00:21AM +0100, Kamil Rytarowski 
>>>> wrote:
>>>>> May someone please give me a hand with it and try to build 
>>>>> it please?
>>>> 
>>>> Well, the most important question is whether that symbol is 
>>>> supposed to be defined in the library in first place or not. 
>>>> That's what you should research first.
>>>> 
>>>> Joerg
>>>> 
>>> 
>>> Yes, the symbol is defined in the library and called from 
>>> assembly as visible in the attached file to this mail.
>>> 
>>> Maybe there is need to use in assembly _SYMBOL instead of 
>>> SYMBOL?
> 
>> No, but it if is defined in the library and not explicitly
>> hidden, the call still needs to go via PLT.
> 
>> Joerg
> 
> This function is declared as extern, so it wasn't hidden.
> 
> How to pass it there via PLT? Have you got a draft patch or an
> example?
> 

I think it's nailed down -- I need to add @plt and build is failing late
r.

Thank you!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWuyuwAAoJEEuzCOmwLnZsS8YQAIPKh/yJx2rSSZIRwvpqTiYz
0oO63aqR0VNNJB4qoDytQQ+cNhkhFX+S27eB/oEK1UfVQ8zFQENW4nhV2CD97iFQ
aIsuzeCjGLsr36N3ni+KWkulGaLGqaOPbceZwC1DAVJLHNqubDhj4f24IuSsZLRG
uoEC2n4h1GeHa2h9viUGlcghXxcNG6CmOh/r+mk8YsN3Pj2/LWxckQFMuwbnlAoK
gfv90fcBaiMO1WTfkm98ega4feH3H376rar44BpP3F1TcOmb6EasTOdVjQvenUua
lNyI08shqCywoDmxIP4ZCbkB8V5tHEuQoVN/KSErIySvBkT8THxT376euBTe/yNf
toeFU3KkmFJjhXw8Qgc9yANkyavBp78m31/FdnCUzatkgnSRyYL2hIcJT1gPslsb
HBImPVGKWzI6pOMSNfHhFREWzbK6w+FRt9kWR5ubJluSGHDZPZEm3PqyEnpXoZCo
aYDEdtTNDk6zQSXvlaDcM+MLMzSFKhFh1ZzIT0R95ei+Mc6Mt3AhHdlLHUabHEZF
Yc8wznbaRotOVDfBnEkLYPNajf+IbEvTJPfkcLiQAKkPBpi2C7yns3K5cmYW3IeP
VsHqasn6I3aiDp16en2XiGpYAPKKMAGvwfwo28HQzpHTyO7rVZAPV5T6T+00g7YC
oV9CTN3nIymMflTcujoC
=lM9a
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index