https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432
--- Comment #2 from Sascha Scandella <sascha.scandella at dentsplysirona dot com> --- > Still libstdc++ ;-) True that ;-) > Patrick, we talked about this and IIRC your suggestion was to move the > __has_attribute check into configure, so that it depends on GCC, not on > whichever compiler happens to include <iostream> later. I think this would also be a solution. Would this then be included in a future GCC 13.2? Took quite a while until I figured out the reason for the segfault. Just for completeness sake. I also posted it on one of the brew repositories for GCC. Probably this could be patched on macOS also for GCC 13.1. https://github.com/iains/gcc-13-branch/issues/6