https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245677

--- Comment #3 from Konstantin Belousov <[email protected]> ---
(In reply to Tobias Kortkamp from comment #2)
I definitely do not want to run pkg install of some random package even on test
machine.

I unpacked the tarball and looked.  The reason why the things fail are
somewhat silly.  First, the binary seems to be built as PIE, which results
in the binary actually be dso.  Then, the binary has TLS segment, compiled
for initial exec mode.  This mode is unsupported for dlopened libs, we reserve
128 bytes of slack for them, but fd requires ~6K of TLS data.

ldd for libraries does dlopen(), and we cannot dlopen because the slack is only
128 bytes, while binary asks for 6k. So  we abort.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to