[Bug sanitizer/68650] Firefox compilation fails with Address Sanitizer (error: undefined reference to 'dlerror')
gk at torproject dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 3 12:20:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68650
--- Comment #6 from Georg Koppen <gk at torproject dot org> ---
Alright, thanks. So, what happens with r215527 is that checking for dlopen()
working properly in the configure script is not enough anymore to decide
whether one needs -ldl needs to get added explicitly if address sanitizer is
enabled. If it is not enabled the dlopen() check is still sufficient.
If one uses dlsym() for instance instead the check for needing -ldl is working
as before.
I still don't understand exactly why this is needed but I guess this is a thing
which needs to get fixed on the Mozilla side. Sorry for the noise.
More information about the Gcc-bugs
mailing list