* Package: sys-devel/gcc-12.2.0:12 * Repository: gentoo * Maintainer: toolchain@gentoo.org * USE: abi_x86_64 ada amd64 cxx elibc_glibc fortran go graphite jit kernel_linux nls nptl openmp pgo pie sanitize ssp userland_GNU vtv * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gcc-12.2.0.tar.xz to /var/tmp/portage/sys-devel/gcc-12.2.0/work >>> Unpacking gcc-12.2.0-patches-1.tar.xz to /var/tmp/portage/sys-devel/gcc-12.2.0/work >>> Unpacking gcc-12.2.0-musl-patches-1.tar.xz to /var/tmp/portage/sys-devel/gcc-12.2.0/work >>> Source unpacked in /var/tmp/portage/sys-devel/gcc-12.2.0/work >>> Preparing source in /var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0 ... * Applying Gentoo patches ... * Applying 01_all_default-fortify-source.patch ... [ ok ] * Applying 02_all_default-warn-format-security.patch ... [ ok ] * Applying 03_all_default-warn-trampolines.patch ... [ ok ] * Applying 04_all_nossp-on-nostdlib.patch ... [ ok ] * Applying 05_all_alpha-mieee-default.patch ... [ ok ] * Applying 06_all_ia64_note.GNU-stack.patch ... [ ok ] * Applying 07_all_libiberty-asprintf.patch ... [ ok ] * Applying 08_all_libiberty-pic.patch ... [ ok ] * Applying 09_all_nopie-all-flags.patch ... [ ok ] * Applying 10_all_sh-drop-sysroot-suffix.patch ... [ ok ] * Applying 11_all_ia64-TEXTREL.patch ... [ ok ] * Applying 12_all_disable-systemtap-switch.patch ... [ ok ] * Applying 14_all_respect-build-cxxflags.patch ... [ ok ] * Applying 20_all_libstdcxx-no-vtv.patch ... [ ok ] * Applying 22_all_default_ssp-buffer-size.patch ... [ ok ] * Applying 23_all_EXTRA_OPTIONS-z-now.patch ... [ ok ] * Applying 24_all_EXTRA_OPTIONS-fstack-clash-protection.patch ... [ ok ] * Applying 25_all_lto-intl-workaround-PR95194.patch ... [ ok ] * Applying 26_all_enable-cet.patch ... [ ok ] * Applying 27_all_plugin-objdump.patch ... [ ok ] * Applying 28_all_drop_CFLAGS_sed.patch ... [ ok ] * Applying 29_all_msgfmt-libstdc++-link.patch ... [ ok ] * Applying 75_all_go_posix_shell_arithmetic_nonbash.patch ... [ ok ] * ============================================================================= * Applying user patches from /etc/portage/patches ... * Applying fortify-source-3.patch ... [ ok ] * User patches applied. * ============================================================================= * Updating gcc to use automatic PIE building ... * Updating gcc to use automatic SSP building ... * Running elibtoolize in: gcc-12.2.0/ * Applying portage/2.2 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.2.6 patch ... * Using GNU config files from /usr/share/gnuconfig * Updating config.sub ... [ ok ] * Updating config.guess ... [ ok ] * Fixing misc issues in configure files * Remove texinfo (bug #198182, bug #464008) * Applying gcc-configure-texinfo.patch ... [ ok ] * Touching generated files * Touching gcc/configure * Touching gcc/cstamp-h.in * Touching gcc/config.in >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0 ... * CFLAGS="-pipe -march=native -fno-diagnostics-color -O2" * CXXFLAGS="-pipe -march=native -fno-diagnostics-color -O2" * LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" * PREFIX: /usr * BINPATH: /usr/x86_64-pc-linux-gnu/gcc-bin/12.2.0 * LIBPATH: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0 * DATAPATH: /usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0 * STDCXX_INCDIR: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12 * Languages: c,c++,go,fortran,ada * Configuring JIT gcc * /bin/sh /var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/python --enable-languages=c,c++,go,fortran,ada --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.0 p1 --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --enable-vtable-verify --without-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp --disable-libada --disable-libsanitizer --disable-libvtv --disable-libgomp --disable-libquadmath --disable-libatomic --disable-lto --disable-bootstrap --enable-host-shared --enable-languages=jit checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... gawk checking for libitm support... yes checking for libphobos support... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... yes checking for x86_64-pc-linux-gnu-gnatbind... no checking for gnatbind... no checking for x86_64-pc-linux-gnu-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking for x86_64-pc-linux-gnu-gdc... no checking for gdc... no checking whether the D compiler works... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking whether x86_64-pc-linux-gnu-g++ supports C++11 features by default... yes checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes The following languages will be built: c,jit *** This configuration is not supported in the following subdirectories: zlib target-libquadmath gnattools gotools target-libada target-libstdc++-v3 target-libphobos target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi target-libobjc target-libgomp target-liboffloadmic target-libatomic target-libsanitizer target-libvtv target-libssp target-libitm (Any other directories should still work fine.) checking for default BUILD_CONFIG... checking for --enable-vtable-verify... yes checking for bison... bison -y checking for bison... bison checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... no checking for runtest... no checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-as... x86_64-pc-linux-gnu-as checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking for x86_64-pc-linux-gnu-dsymutil... no checking for dsymutil... dsymutil checking for ld... (cached) /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld checking for x86_64-pc-linux-gnu-ld... (cached) /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld checking for x86_64-pc-linux-gnu-lipo... no checking for lipo... no checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-windres... no checking for windres... no checking for x86_64-pc-linux-gnu-windmc... no checking for windmc... no checking for x86_64-pc-linux-gnu-objcopy... x86_64-pc-linux-gnu-objcopy checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking for x86_64-pc-linux-gnu-otool... no checking for otool... no checking for x86_64-pc-linux-gnu-readelf... x86_64-pc-linux-gnu-readelf checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gfortran... gfortran checking for gccgo... gccgo checking for gdc... no checking for ar... /usr/x86_64-pc-linux-gnu/bin/ar checking for as... /usr/x86_64-pc-linux-gnu/bin/as checking for dlltool... no checking for dlltool... no checking for dsymutil... no checking for dsymutil... dsymutil checking for ld... /usr/x86_64-pc-linux-gnu/bin/ld checking for lipo... no checking for lipo... no checking for nm... /usr/x86_64-pc-linux-gnu/bin/nm checking for objcopy... /usr/x86_64-pc-linux-gnu/bin/objcopy checking for objdump... /usr/x86_64-pc-linux-gnu/bin/objdump checking for otool... no checking for otool... no checking for ranlib... /usr/x86_64-pc-linux-gnu/bin/ranlib checking for readelf... /usr/x86_64-pc-linux-gnu/bin/readelf checking for strip... /usr/x86_64-pc-linux-gnu/bin/strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target as... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target cc... just compiled checking where to find the target c++... host tool checking where to find the target c++ for libstdc++... host tool checking where to find the target dlltool... host tool checking where to find the target dsymutil... host tool checking where to find the target gcc... just compiled checking where to find the target gfortran... host tool checking where to find the target gccgo... host tool checking where to find the target gdc... host tool checking where to find the target ld... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target lipo... host tool checking where to find the target nm... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target objcopy... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target objdump... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target otool... host tool checking where to find the target ranlib... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target readelf... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target strip... pre-installed in /usr/x86_64-pc-linux-gnu/bin checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile * /bin/sh /var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/python --enable-languages=c,c++,go,fortran,ada --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.0 p1 --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --enable-vtable-verify --without-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... gawk checking for libatomic support... yes checking for libitm support... yes checking for libsanitizer support... yes checking for libvtv support... yes checking for libphobos support... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... yes checking for x86_64-pc-linux-gnu-gnatbind... no checking for gnatbind... no checking for x86_64-pc-linux-gnu-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking for x86_64-pc-linux-gnu-gdc... no checking for gdc... no checking whether the D compiler works... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes configure: error: GNAT is required to build ada * ERROR: sys-devel/gcc-12.2.0::gentoo failed (configure phase): * Failed to run command: /bin/sh /var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/python --enable-languages=c,c++,go,fortran,ada --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.0 p1 --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --enable-vtable-verify --without-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp * * Call stack: * ebuild.sh, line 122: Called src_configure * environment, line 2794: Called toolchain_src_configure * environment, line 4082: Called edo '/bin/sh' '/var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0/configure' '--host=x86_64-pc-linux-gnu' '--build=x86_64-pc-linux-gnu' '--prefix=/usr' '--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.2.0' '--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include' '--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0' '--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/man' '--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/info' '--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12' '--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.2.0/python' '--enable-languages=c,c++,go,fortran,ada' '--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.0 p1' '--disable-esp' '--enable-libstdcxx-time' '--disable-libstdcxx-pch' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--with-multilib-list=m64' '--disable-fixed-point' '--enable-targets=all' '--enable-libgomp' '--disable-libssp' '--disable-libada' '--disable-cet' '--disable-systemtap' '--disable-valgrind-annotations' '--enable-vtable-verify' '--without-zstd' '--enable-lto' '--with-isl' '--disable-isl-version-check' '--enable-default-pie' '--enable-default-ssp' * environment, line 1206: Called die * The specific snippet of code: * "$@" || die -n "Failed to run command: $@" * * If you need support, post the output of `emerge --info '=sys-devel/gcc-12.2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-12.2.0::gentoo'`. * * Please include /var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-build-logs.tar.bz2 in your bug report. * * The complete build log is located at '/var/log/portage/sys-devel:gcc-12.2.0:20220912-201832.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/gcc-12.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-12.2.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/gcc-12.2.0/work/build' * S: '/var/tmp/portage/sys-devel/gcc-12.2.0/work/gcc-12.2.0'