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 <[email protected]> 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 [email protected].
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/CAL9cFfNuRTWsL9wr7Bzekq3GXA0WTig3L7S69d7g-k8XpPzHRw%40mail.gmail.com.

Reply via email to