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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Symbol resolution in an executable or a shared library at run-time is
determined by

1. Linker options + all input files at link-time.
2. ld.so + all shared libraries at run-time.

Add a compiler option at compile-time has very limited impact on symbol
resolution at run-time.

My GNU_PROPERTY_SINGLE_GLOBAL_DEFINITION proposal provides a way
to specify symbol resolution at compile-time, link-time and
link-time.

Reply via email to