https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68650
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- /home/thomas/Arbeit/Tor/mozilla-central/xpcom/glue/standalone/nsXPCOMGlue.cpp:167: error: undefined reference to 'dlerror' That does look like it is actually one of the firefox' objects that needs dlerror, not *asan*. And -fsanitize=address never emits calls to these functions itself, when they aren't present in the source code already. So perhaps firefox has some code guarded with the sanitizer preprocessor macros or something similar? Look for dlerror in nsXPCOMGlue.cpp ?