* Package: sys-devel/gcc-10.3.0-r2 * Repository: gentoo * Maintainer: toolchain@gentoo.org * USE: arm64 cxx elibc_glibc kernel_linux nptl openmp pch pie prefix sanitize ssp userland_GNU * FEATURES: network-sandbox preserve-libs Unable to unshare: EPERM (for FEATURES="pid-sandbox") Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox") >>> Unpacking source... >>> Unpacking gcc-10.3.0.tar.xz to /data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work >>> Unpacking gcc-10.3.0-patches-3.tar.bz2 to /data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work >>> Source unpacked in /data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox") >>> Preparing source in /data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/gcc-10.3.0 ... removed '/data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/patch/23_all_disable-riscv32-ABIs.patch' * Applying Gentoo patches ... * Applying 01_all_default-fortify-source.patch ... [ ok ] * Applying 02_all_default-warn-format-security.patch ... patching file gcc/c-family/c.opt Hunk #1 succeeded at 599 with fuzz 1 (offset 140 lines). Hunk #2 succeeded at 620 with fuzz 1 (offset 145 lines). [ ok ] * Applying 03_all_default-warn-trampolines.patch ... [ ok ] * Applying 04_all_nossp-on-nostdlib.patch ... patching file gcc/gcc.c Hunk #1 succeeded at 874 with fuzz 1 (offset 17 lines). Hunk #2 succeeded at 1161 with fuzz 1 (offset 24 lines). [ ok ] * Applying 05_all_alpha-mieee-default.patch ... [ ok ] * Applying 06_all_ia64_note.GNU-stack.patch ... [ ok ] * Applying 07_all_i386_libgcc_note.GNU-stack.patch ... [ ok ] * Applying 08_all_libiberty-asprintf.patch ... patching file include/libiberty.h Hunk #1 succeeded at 645 with fuzz 2 (offset 36 lines). [ ok ] * Applying 09_all_libiberty-pic.patch ... [ ok ] * Applying 10_all_nopie-all-flags.patch ... [ ok ] * Applying 11_all_sh-drop-sysroot-suffix.patch ... [ ok ] * Applying 12_all_ia64-TEXTREL.patch ... [ ok ] * Applying 13_all_disable-systemtap-switch.patch ... [ ok ] * Applying 14_all_m68k-textrel-on-libgcc.patch ... [ ok ] * Applying 15_all_respect-build-cxxflags.patch ... [ ok ] * Applying 16_all_libgfortran-Werror.patch ... patching file libgfortran/configure.ac Hunk #1 succeeded at 148 (offset 8 lines). patching file libgfortran/configure Hunk #1 succeeded at 5982 with fuzz 2 (offset 218 lines). [ ok ] * Applying 17_all_libgomp-Werror.patch ... patching file libgomp/configure.ac Hunk #1 succeeded at 124 with fuzz 1 (offset -4158 lines). patching file libgomp/configure Hunk #1 succeeded at 4617 with fuzz 1 (offset 335 lines). [ ok ] * Applying 18_all_libitm-Werror.patch ... patching file libitm/configure.ac Hunk #1 succeeded at 264 with fuzz 1 (offset -4018 lines). patching file libitm/configure Hunk #1 succeeded at 17865 with fuzz 1 (offset 13583 lines). [ ok ] * Applying 19_all_libatomic-Werror.patch ... patching file libatomic/configure.ac Hunk #1 succeeded at 254 with fuzz 1 (offset -4028 lines). patching file libatomic/configure Hunk #1 succeeded at 15572 with fuzz 1 (offset 11290 lines). [ ok ] * Applying 20_all_libbacktrace-Werror.patch ... [ ok ] * Applying 21_all_libsanitizer-Werror.patch ... [ ok ] * Applying 22_all_libstdcxx-no-vtv.patch ... [ ok ] * Applying 24_all_default_ssp-buffer-size.patch ... [ ok ] * Applying 25_all_hppa-faster-synth_mult.patch ... [ ok ] * Applying 26_all_libcpp-ar.patch ... [ ok ] * Applying 27_all_EXTRA_OPTIONS-z-now.patch ... patching file gcc/gcc.c Hunk #1 succeeded at 891 with fuzz 2 (offset 23 lines). Hunk #2 succeeded at 1049 with fuzz 1 (offset 30 lines). [ ok ] * Applying 28_all_EXTRA_OPTIONS-fstack-clash-protection.patch ... [ ok ] * Applying 29_all_lto-intl-workaround-PR95194.patch ... [ ok ] * Applying 30_all_plugin-objdump.patch ... [ ok ] * Applying 31_all_fno-delayed-branch.patch ... [ ok ] * Applying 32_all_vtv-slibtool.patch ... [ ok ] * Applying 33_all_ctor-union-PR100489.patch ... [ ok ] * Applying 34_all_ICE-tsubst-PR100102.patch ... [ ok ] * Applying 35_all_remove-cyclades.patch ... patching file libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc Hunk #1 succeeded at 366 with fuzz 2 (offset -4 lines). patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp Hunk #1 succeeded at 130 (offset -13 lines). Hunk #2 succeeded at 442 with fuzz 2 (offset -17 lines). Hunk #3 succeeded at 807 (offset -15 lines). patching file libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h Hunk #1 succeeded at 974 (offset -9 lines). Hunk #2 succeeded at 1318 (offset -9 lines). [ ok ] * Updating gcc to use automatic PIE building ... * Updating gcc to use automatic SSP building ... * Running elibtoolize in: gcc-10.3.0/ * Applying portage/2.2 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.2.6 patch ... * Using GNU config files from /data/gentoo/tmp/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/cstamp-h.in * Touching gcc/config.in * Touching libgfortran/aclocal.m4 * Touching libgfortran/Makefile.in * Touching libquadmath/Makefile.in * Touching libgfortran/configure * Touching libcpp/aclocal.m4 * Touching libcpp/Makefile.in * Touching libcpp/configure * Touching libgomp/aclocal.m4 * Touching libgomp/Makefile.in * Touching libgomp/testsuite/Makefile.in * Touching libgomp/configure * Touching libgomp/config.h.in * Touching libitm/aclocal.m4 * Touching libitm/Makefile.in * Touching libitm/testsuite/Makefile.in * Touching libitm/configure * Touching libitm/config.h.in * Touching libatomic/aclocal.m4 * Touching libatomic/Makefile.in * Touching libatomic/testsuite/Makefile.in * Touching libatomic/configure * Touching libatomic/auto-config.h.in * Touching libbacktrace/aclocal.m4 * Touching libbacktrace/Makefile.in * Touching libbacktrace/configure * Touching libbacktrace/config.h.in >>> Source prepared. Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox") * Prefixifying dynamic linkers... * Updating gcc/config/aarch64/aarch64-linux.h ... [ ok ] * Updating gcc/config/alpha/linux-elf.h ... [ ok ] * Updating gcc/config/alpha/linux.h ... [ ok ] * Updating gcc/config/arc/linux.h ... [ ok ] * Updating gcc/config/arm/linux-eabi.h ... [ ok ] * Updating gcc/config/arm/linux-elf.h ... [ ok ] * Updating gcc/config/arm/linux-gas.h ... [ ok ] * Updating gcc/config/arm/uclinux-eabi.h ... [ ok ] * Updating gcc/config/arm/uclinux-elf.h ... [ ok ] * Updating gcc/config/arm/uclinuxfdpiceabi.h ... [ ok ] * Updating gcc/config/bfin/linux.h ... [ ok ] * Updating gcc/config/bfin/uclinux.h ... [ ok ] * Updating gcc/config/c6x/uclinux-elf.h ... [ ok ] * Updating gcc/config/cris/linux.h ... [ ok ] * Updating gcc/config/csky/csky-linux-elf.h ... [ ok ] * Updating gcc/config/frv/linux.h ... [ ok ] * Updating gcc/config/h8300/linux.h ... [ ok ] * Updating gcc/config/i386/linux-common.h ... [ ok ] * Updating gcc/config/i386/linux.h ... [ ok ] * Updating gcc/config/i386/linux64.h ... [ ok ] * Updating gcc/config/ia64/linux.h ... [ ok ] * Updating gcc/config/lm32/uclinux-elf.h ... [ ok ] * Updating gcc/config/m32r/linux.h ... [ ok ] * Updating gcc/config/m68k/linux.h ... [ ok ] * Updating gcc/config/m68k/uclinux.h ... [ ok ] * Updating gcc/config/microblaze/linux.h ... [ ok ] * Updating gcc/config/mips/linux-common.h ... [ ok ] * Updating gcc/config/mips/linux.h ... [ ok ] * Updating gcc/config/mips/mti-linux.h ... [ ok ] * Updating gcc/config/mn10300/linux.h ... [ ok ] * Updating gcc/config/moxie/uclinux.h ... [ ok ] * Updating gcc/config/nds32/linux.h ... [ ok ] * Updating gcc/config/nios2/linux.h ... [ ok ] * Updating gcc/config/or1k/linux.h ... [ ok ] * Updating gcc/config/pa/pa-linux.h ... [ ok ] * Updating gcc/config/pa/pa32-linux.h ... [ ok ] * Updating gcc/config/pa/pa64-linux.h ... [ ok ] * Updating gcc/config/riscv/linux.h ... [ ok ] * Updating gcc/config/rs6000/linux.h ... [ ok ] * Updating gcc/config/rs6000/linux64.h ... [ ok ] * Updating gcc/config/rs6000/linuxaltivec.h ... [ ok ] * Updating gcc/config/rx/linux.h ... [ ok ] * Updating gcc/config/s390/linux.h ... [ ok ] * Updating gcc/config/sh/linux.h ... [ ok ] * Updating gcc/config/sparc/linux.h ... [ ok ] * Updating gcc/config/sparc/linux64.h ... [ ok ] * Updating gcc/config/tilegx/linux.h ... [ ok ] * Updating gcc/config/tilepro/linux.h ... [ ok ] * Updating gcc/config/vax/linux.h ... [ ok ] * Updating gcc/config/xtensa/linux.h ... [ ok ] * Updating gcc/config/xtensa/uclinux.h ... [ ok ] * remove --sysroot call on ld for native toolchain ... [ ok ] >>> Configuring source in /data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/gcc-10.3.0 ... * strip-flags: CPPFLAGS: changed '-isystem /data/gentoo/usr/include' to '' * CFLAGS="-pipe -O2" * CXXFLAGS="-pipe -O2" * LDFLAGS="-L/data/gentoo/usr/lib64 -Wl,--dynamic-linker=/data/gentoo/lib64/ld-linux-aarch64.so.1" * PREFIX: /data/gentoo/usr * BINPATH: /data/gentoo/usr/aarch64-unknown-linux-gnu/gcc-bin/10.3.0 * LIBPATH: /data/gentoo/usr/lib/gcc/aarch64-unknown-linux-gnu/10.3.0 * DATAPATH: /data/gentoo/usr/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0 * STDCXX_INCDIR: /data/gentoo/usr/lib/gcc/aarch64-unknown-linux-gnu/10.3.0/include/g++-v10 * Languages: c,c++ * Configuring GCC with: * --host=aarch64-unknown-linux-gnu * --build=aarch64-unknown-linux-gnu * --prefix=/data/gentoo/usr * --bindir=/data/gentoo/usr/aarch64-unknown-linux-gnu/gcc-bin/10.3.0 * --includedir=/data/gentoo/usr/lib/gcc/aarch64-unknown-linux-gnu/10.3.0/include * --datadir=/data/gentoo/usr/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0 * --mandir=/data/gentoo/usr/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0/man * --infodir=/data/gentoo/usr/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0/info * --with-gxx-include-dir=/data/gentoo/usr/lib/gcc/aarch64-unknown-linux-gnu/10.3.0/include/g++-v10 * --with-python-dir=/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0/python * --enable-languages=c,c++ * --enable-obsolete * --enable-secureplt * --disable-werror * --with-system-zlib * --disable-nls * --disable-libunwind-exceptions * --enable-checking=release * --with-bugurl=https://bugs.gentoo.org/ * --with-pkgversion=Gentoo 10.3.0-r2 p3 * --disable-esp * --enable-libstdcxx-time * --enable-shared * --enable-threads=posix * --enable-__cxa_atexit * --enable-clocale=gnu * --disable-multilib * --disable-fixed-point * --enable-libgomp * --disable-libssp * --disable-libada * --disable-systemtap * --disable-vtable-verify * --disable-libvtv * --without-zstd * --enable-lto * --without-isl * --enable-default-pie * --enable-default-ssp * --disable-compiler-version-checks * --disable-lto * --disable-bootstrap * --with-sysroot=/data/gentoo /data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/gcc-10.3.0/configure --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --prefix=/data/gentoo/usr --bindir=/data/gentoo/usr/aarch64-unknown-linux-gnu/gcc-bin/10.3.0 --includedir=/data/gentoo/usr/lib/gcc/aarch64-unknown-linux-gnu/10.3.0/include --datadir=/data/gentoo/usr/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0 --mandir=/data/gentoo/usr/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0/man --infodir=/data/gentoo/usr/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0/info --with-gxx-include-dir=/data/gentoo/usr/lib/gcc/aarch64-unknown-linux-gnu/10.3.0/include/g++-v10 --with-python-dir=/share/gcc-data/aarch64-unknown-linux-gnu/10.3.0/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion=Gentoo 10.3.0-r2 p3 --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp --disable-compiler-version-checks --disable-lto --disable-bootstrap --with-sysroot=/data/gentoo checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /data/gentoo/tmp/usr/bin/sed checking for gawk... gawk checking for libatomic support... yes checking for libitm support... yes checking for libsanitizer support... yes checking for libhsail-rt support... no checking for libphobos support... yes checking for aarch64-unknown-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for aarch64-unknown-linux-gnu-g++... no checking for aarch64-unknown-linux-gnu-c++... no checking for aarch64-unknown-linux-gnu-gpp... no checking for aarch64-unknown-linux-gnu-aCC... no checking for aarch64-unknown-linux-gnu-CC... no checking for aarch64-unknown-linux-gnu-cxx... no checking for aarch64-unknown-linux-gnu-cc++... no checking for aarch64-unknown-linux-gnu-cl.exe... no checking for aarch64-unknown-linux-gnu-FCC... no checking for aarch64-unknown-linux-gnu-KCC... no checking for aarch64-unknown-linux-gnu-RCC... no checking for aarch64-unknown-linux-gnu-xlC_r... no checking for aarch64-unknown-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... yes checking for aarch64-unknown-linux-gnu-gnatbind... no checking for gnatbind... no checking for aarch64-unknown-linux-gnu-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... 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... no configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at https://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. * ERROR: sys-devel/gcc-10.3.0-r2::gentoo failed (configure phase): * failed to run configure * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 2779: Called toolchain_src_configure * environment, line 4087: Called die * The specific snippet of code: * CONFIG_SHELL="${EPREFIX}/bin/bash" bash "${S}"/configure "${confgcc[@]}" || die "failed to run configure"; * * If you need support, post the output of `emerge --info '=sys-devel/gcc-10.3.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-10.3.0-r2::gentoo'`. * * Please include /data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/gcc-build-logs.tar.bz2 in your bug report. * * The complete build log is located at '/data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/temp/build.log'. * The ebuild environment file is located at '/data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/temp/environment'. * Working directory: '/data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/build' * S: '/data/gentoo/var/tmp/portage/sys-devel/gcc-10.3.0-r2/work/gcc-10.3.0'