https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66530
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davek at gcc dot gnu.org --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Dave, would you be able to properly test the patch in comment 5? It should make Cygwin use the just-built target libs not the existing ones already installed on the system. You could verify it by intentionally introducing an abort into the libstdc++ sources e.g. --- a/libstdc++-v3/src/c++98/locale_init.cc +++ b/libstdc++-v3/src/c++98/locale_init.cc @@ -247,6 +247,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION locale::locale() throw() : _M_impl(0) { + __builtin_abort(); + _S_initialize(); // Checked locking to optimize the common case where _S_global then in $target/libstdc++-v3 run "make && make check" (without "make install") which should produce thousands of FAILs!