https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91034
--- Comment #1 from Andrew Roberts <andrewm.roberts at sky dot com> --- Configure line used for building gcc 9.1.0: ../gcc-9.1.0/configure --prefix=/usr/local/gcc-9.1.0 --program-suffix= --disa ble-werror --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style =gnu --enable-plugin --enable-gnu-indirect-function --enable-lto --with-isl --enable-languages=c,c++,fortran,lto --disable-libgcj --enable-clocale=gnu --d isable-libstdcxx-pch --enable-install-libiberty --disable-multilib --disabl e-libssp --enable-default-pie --enable-default-ssp --host=arm-linux-gnueabi hf --build=arm-linux-gnueabihf --with-arch=armv6 --with-float=hard --with-fpu=vf p --disable-bootstrap the -with-arch=armv6 is the same as the host compiler. I would normally build on ArchLinux ARM (but that's not available for Pi4 yet). One difference is Raspbian configures its gcc using: --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf --with-arch=armv6 Basically one gcc configuration for all raspberry pi's. whereas ArchLinux ARM uses: --host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a (RPI 3b 32bit) --host=armv6l-unknown-linux-gnueabihf --build=armv6l-unknown-linux-gnueabihf --with-arch=armv6 (RPI Zero) I normally copy the triplet/arch from the host compiler when building. If I use the ArchLinx ARM triplet: armv7l-unknown-linux-gnueabihf and "--with-arch=armv7-a" it still fails in the same way, so its not the --with-arch or triplet which is breaking things. Alternate (arch linux arm style) config which also fails: ../gcc-9.1.0/configure --prefix=/usr/local/gcc-9.1.0 --program-suffix= --disa ble-werror --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style =gnu --enable-plugin --enable-gnu-indirect-function --enable-lto --with-isl --enable-languages=c,c++,fortran,lto --disable-libgcj --enable-clocale=gnu --d isable-libstdcxx-pch --enable-install-libiberty --disable-multilib --disabl e-libssp --enable-default-pie --enable-default-ssp --host=armv7l-unknown-li nux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a --with- float=hard --with-fpu=vfp --disable-bootstrap