https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228
--- Comment #2 from Matthias Klose <doko at debian dot org> --- you have: --enable-languages=c,c++,objc,fortran,obj-c++,go,d --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/11 --enable-ssp --disable-libssp --disable-libvtv --disable-cet --disable-libcc1 --disable-plugin --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --with-default-libstdcxx-abi=gcc4-compatible --enable-libphobos --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-11 --without-system-libunwind --with-tune=zEC12 --with-arch=z196 --with-long-double-128 --enable-decimal-float --build=s390x-suse-linux --host=s390x-suse-linux so apparently some additional flags: --enable-libstdcxx-allocator=new --with-default-libstdcxx-abi=gcc4-compatible --enable-gnu-indirect-function and a different base line: --with-tune=zEC12 --with-arch=z196