On Sat, 5 Mar 2022 at 20:34, Jonathan Wakely via Libstdc++ wrote: > > Tested powerpc64le-linux, pushed to trunk. > > -- >8 -- > > This ensures there's no linker error if libstdc++ headers are included > following a pragma that sets hidden visibility. > > Similarly for std::__terminate, which is always-inline so shouldn't > matter, but it's not wrong to do this anyway. > > libstdc++-v3/ChangeLog: > > * include/bits/c++config (__glibcxx_assert_fail): Add visibility > attribute. > (__terminate): Likewise. This broke mingw targets. Fixed like so. Tested x86_64-linux, pushed to trunk.