Using dlmope/dlopem with RTLD_GLOBAL
Florian Weimer
fweimer@redhat.com
Mon Feb 13 10:29:55 GMT 2023
* Nima Hamidi via Libc-help:
> The error won’t happen if I dlopen with RTLD_LOCAL in b.cpp rather
> than RTLD_GLOBAL. I would appreciate any help on what I’m doing wrong
> here.
I think I see what's going on. The add_to_global_resize function does
not take into account that the global scope does not exist yet when it
is called. Would you please file a bug in Bugzilla?
<https://sourceware.org/bugzilla/enter_bug.cgi?product=glibc&component=dynamic-link>
Thanks,
Florian
More information about the Libc-help
mailing list