Hi Adrien,
Am 23/10/2016 um 21:52 schrieb Adrien Destugues:
It looks like there are two problems at play here.[...]
a) Make the _gSharedObjectHaikuABI symbol always global. It is a GLOBAL
when I look at the .o for our glue code, however, it somehows become
local when bundled into zlib. Is there some way to force this symbol to
be exported? Ideally in LD or some system linker script that's used when
linking shared libraries, but I did not find such a file.
b) The alternative is making the runtime_loader accept the symbol even
if it is declared local. It feels a little less clean, but I don't think
it would break anything.