Hi,

I have created a pull request that should address this 
- https://github.com/cloudius-systems/osv/pull/1245. Please give it a try 
and let me know.

Waldek

On Thursday, August 10, 2023 at 5:59:13 PM UTC-4 Waldek Kozaczuk wrote:

> Hi,
>
>
> Yes indeed OSv does not support this relocation at this time. 
>
> However I am working on the changes to support static executables that 
> include adding support of these relocations. I should be sending 
> corresponding PR soon. 
>
> Regards,
> Waldek
>
> On Thu, Aug 10, 2023 at 02:30 Deepak Krishnan <deep...@gmail.com> wrote:
>
>> Hi,
>>
>> I was playing around with OSv and came across an .so file with a 
>> ''R_X86_64_IRELATIVE' entry in PLTGOT - which seems to be crashing OSv 
>> because of this assert in core/elf.cc:relocate_pltgot() : assert(type == 
>> ARCH_JUMP_SLOT || type == ARCH_TLSDESC)
>>
>> The binary itself seems to have been built using GCC 7.3.0 and isn't 
>> anything special as far as I can see. What's the reason behind the assert 
>> there? Is an IRELATIVE type relocation not expected or is it simply 
>> unhandled?
>>
>> Thank You in advance.
>>
>> -Deepak 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "OSv Development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to osv-dev+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/osv-dev/3ef4fbbb-2d8a-4aa5-8254-54eb742e613fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/osv-dev/3ef4fbbb-2d8a-4aa5-8254-54eb742e613fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/b0675763-2318-4a7f-a28c-746c6d506071n%40googlegroups.com.

Reply via email to