[Bug fortran/88750] [9.0 regression] runtime error in statically linked binaries

juergen.reuter at desy dot de gcc-bugzilla@gcc.gnu.org
Tue Jan 8 05:40:00 GMT 2019


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

--- Comment #4 from Jürgen Reuter <juergen.reuter at desy dot de> ---
The linker before throws this warning:
ld: warning: direct access in function 'operator new[](unsigned long,
std::nothrow_t const&) [clone .cold]' from file
'/usr/local/lib/libstdc++.a(new_opvnt.o)' to global weak symbol 'operator
new[](unsigned long, std::nothrow_t const&)' from file
'/usr/local/lib/libstdc++.a(new_opvnt.o)' means the weak symbol cannot be
overridden at runtime. This was likely caused by different translation units
being compiled with different visibility settings.
This could very well be a change in MACOSX or the static stdc++ library.


More information about the Gcc-bugs mailing list