https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67116
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Cezary Śliwa from comment #2) > This is a quite special case, target and host architecture are the same, > only the thread models are different. I think libstdc++ uses the > preinstalled compiler rather that the one just built. If that is happening it's certainly a bug. Could you attach the $target/libstdc++-v3/config.log please?