PSA: Static linking and threads has never worked with the GNU toolchain, it was always a limited use scenario and developers ignored the warnings. It doesn't work 100%. Still in draft form for Fedora C/C++ guidelines: https://fedoraproject.org/wiki/C_and_C%2B%2B_v2#Static_Linking …
Yes the dlopened lib needs to be able to see syms from the static linked program but that doesn't require plt in main program, just in the lib as usual.
-
-
Unfortunately static ET_EXEC seems to lack dynsym table (or any _DYNAMIC), and gcc doesn't honor -rdynamic, but -Wl,--export-dynamic works.
End of conversation
New conversation
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.