https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108250
--- Comment #1 from Sam James <sam at gentoo dot org> --- GCC built at releases/gcc-12 at a3fbfc1027e9edcd14bb290b5702504d80d9e8fe with a revert of 22c242342e38ebffa6bbf7e86e7a1e4abdf0d686 which produces a working llvm-tblgen: ``` $ gcc-12 -V Using built-in specs. COLLECT_GCC=gcc-12 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-unknown-linux-gnu/12/lto-wrapper Target: powerpc-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-12.3.9999/work/gcc-12.3.9999/configure --host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/12 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/12/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/12 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/12/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/12/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/12/include/g++-v12 --with-python-dir=/share/gcc-data/powerpc-unknown-linux-gnu/12/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 12.2.1, commit a00a9de1ca2ed3d1740715a1a4824908350b21c0' --with-gcc-major-version-only --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.2.1 20221227 (Gentoo 12.2.1, commit a00a9de1ca2ed3d1740715a1a4824908350b21c0) ``` GCC built at releases/gcc-12 at a3fbfc1027e9edcd14bb290b5702504d80d9e8fe which produces a broken llvm-tblgen: ``` $ gcc-12 -V Using built-in specs. COLLECT_GCC=gcc-12 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-unknown-linux-gnu/12/lto-wrapper Target: powerpc-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-12.3.9999/work/gcc-12.3.9999/configure --host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/12 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/12/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/12 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/12/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/12/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/12/include/g++-v12 --with-python-dir=/share/gcc-data/powerpc-unknown-linux-gnu/12/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 12.2.1, commit a3fbfc1027e9edcd14bb290b5702504d80d9e8fe' --with-gcc-major-version-only --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.2.1 20221227 (Gentoo 12.2.1, commit a3fbfc1027e9edcd14bb290b5702504d80d9e8fe) ```