[Bug c++/91876] Segmentation fault when comparing std::system_error::code() and std::errc::invalid_argument
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 24 07:48:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91876
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The gdb backtrace shows your program is linked to the wrong libstdc++.so that
comes from the gcc-4.4.7 system compiler, not the one from gcc-7.2.1 that you
compiled with.
See
https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths
and
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dynamic_or_shared.html#manual.intro.using.linkage.dynamic
More information about the Gcc-bugs
mailing list