https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123874

--- Comment #3 from Kirill Elagin <kirelagin at gmail dot com> ---
Actually, now that I think of it, the problem is not limited to deprecated
symbols. It can happen with any symbol that is intercepted and resides in a
shared object that is not linked to by the main executable, but is linked to by
a dlopen-ed object.

For example, sanitizers intercept `__b64_ntop` and `__b64_pton`, which are
defined in `libresolv.so`. It is conceivable that they are not available at
startup, but, later, a plugin is loaded that depends on `libresolv.so`, causing
the same kind of crash.

Reply via email to