* Package:    sys-libs/glibc-2.37-r3:2.2
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 custom-cflags elibc_glibc kernel_linux multiarch multilib static-libs
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Checking whether python3_11 is suitable ...
 *   >=dev-lang/python-3.11.3:3.11 ...
 [ ok ]
 * Using python3.11 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
 * Checking general environment sanity.
 * Checking that IA32 emulation is enabled in the running kernel ...
 [ ok ]
 * Checking running kernel version (6.3.9 >= 3.2.0) ...
 [ ok ]
 * Checking linux-headers version (6.3.0 >= 3.2.0) ...
 [ ok ]
>>> Unpacking glibc-2.37.tar.xz to /dev/shm/portage/sys-libs/glibc-2.37-r3/work
>>> Unpacking glibc-2.37-patches-5.tar.xz to /dev/shm/portage/sys-libs/glibc-2.37-r3/work
>>> Source unpacked in /dev/shm/portage/sys-libs/glibc-2.37-r3/work
>>> Preparing source in /dev/shm/portage/sys-libs/glibc-2.37-r3/work/glibc-2.37 ...
 * Applying Gentoo Glibc patchset 2.37-5
 * Applying patches from /dev/shm/portage/sys-libs/glibc-2.37-r3/work/patches ...
 *   0001-Disable-ldconfig-during-install.patch ...
 [ ok ]
 *   0002-Adapt-to-Gentoo-specific-etc-mail-aliases.patch ...
 [ ok ]
 *   0003-Force-O0-in-conform-tests-to-survive-CC-changes.patch ...
 [ ok ]
 *   0004-Fix-miscompilation-on-ia64-s-gcc-10.patch ...
 [ ok ]
 *   0005-linux-Use-getdents64-on-non-LFS-readdir.patch ...
 [ ok ]
 *   0006-linux-Set-internal-DIR-filepos-as-off64_t-BZ-23960-B.patch ...
 [ ok ]
 *   0007-linux-Add-__readdir64_unlocked.patch ...
 [ ok ]
 *   0008-linux-Add-__old_readdir64_unlocked.patch ...
 [ ok ]
 *   0009-linux-Use-getdents64-on-readdir64-compat-implementat.patch ...
 [ ok ]
 *   0010-Make-stdlib-testmb-compile-when-_FORTIFY_SOURCE-is-n.patch ...
 [ ok ]
 *   0011-cdefs-Limit-definition-of-fortification-macros.patch ...
 [ ok ]
 *   0012-LoongArch-Add-new-relocation-types.patch ...
 [ ok ]
 *   0013-Use-64-bit-time_t-interfaces-in-strftime-and-strptim.patch ...
 [ ok ]
 *   0014-Account-for-grouping-in-printf-width-bug-30068.patch ...
 [ ok ]
 *   0015-NEWS-Document-CVE-2023-25139.patch ...
 [ ok ]
 *   0016-elf-Smoke-test-ldconfig-p-against-system-etc-ld.so.c.patch ...
 [ ok ]
 *   0017-stdlib-Undo-post-review-change-to-16adc58e73f3-BZ-27.patch ...
 [ ok ]
 *   0018-elf-Restore-ldconfig-libc6-implicit-soname-logic-BZ-.patch ...
 [ ok ]
 *   0019-gshadow-Matching-sgetsgent-sgetsgent_r-ERANGE-handli.patch ...
 [ ok ]
 *   0020-elf-Add-z-lazy-to-some-more-tests.patch ...
 [ ok ]
 *   0021-elf-Add-missing-dependency-between-resolvfail-and-te.patch ...
 [ ok ]
 *   0022-stdio-common-tests-don-t-double-define-_FORTIFY_SOUR.patch ...
 [ ok ]
 *   0023-gshadow-Matching-sgetsgent-sgetsgent_r-ERANGE-handli.patch ...
 [ ok ]
 *   0024-x86_64-Fix-asm-constraints-in-feraiseexcept-bug-3030.patch ...
 [ ok ]
 *   0025-posix-Fix-system-blocks-SIGCHLD-erroneously-BZ-30163.patch ...
 [ ok ]
 *   0026-gmon-Fix-allocated-buffer-overflow-bug-29444.patch ...
 [ ok ]
 *   0027-gmon-improve-mcount-overflow-handling-BZ-27576.patch ...
 [ ok ]
 *   0028-gmon-fix-memory-corruption-issues-BZ-30101.patch ...
 [ ok ]
 *   0029-gmon-Revert-addition-of-tunables-to-preserve-GLIBC_P.patch ...
 [ ok ]
 *   0030-gmon-Revert-addition-of-tunables-to-the-manual.patch ...
 [ ok ]
 * Done.
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating scripts/config.sub ...
 [ ok ]
 *   Updating scripts/config.guess ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /dev/shm/portage/sys-libs/glibc-2.37-r3/work/glibc-2.37 ...
make --jobs=12 --load-average=13 glibc-test 
x86_64-pc-linux-gnu-gcc -m64 -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none -Wl,-O1 -Wl,--as-needed -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -m32 -mfpmath=sse  -Wl,-O1 -Wl,--as-needed  glibc-test.c   -o glibc-test
 * Running do_src_configure for ABI x86
 * ==== glibc build environment ========================================================
 *             ABI:   x86
 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   x86_64-pc-linux-gnu
 *      CBUILD_OPT:   i686-pc-linux-gnu
 *     CTARGET_OPT:   i686-pc-linux-gnu
 *              CC:   x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none -Wl,-O1 -Wl,--as-needed
 *             CXX:   x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none
 *             CPP:   
 *              LD:   
 *         ASFLAGS:   
 *          CFLAGS:   -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none
 *        CPPFLAGS:   
 *        CXXFLAGS:   -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none
 *         LDFLAGS:   -Wl,-O1 -Wl,--as-needed
 *        MAKEINFO:   /dev/null
 *              NM:   x86_64-pc-linux-gnu-nm
 *              AR:   
 *              AS:   
 *           STRIP:   
 *          RANLIB:   
 *         OBJCOPY:   
 *         STRINGS:   
 *         OBJDUMP:   
 *         READELF:   x86_64-pc-linux-gnu-readelf
 * =====================================================================================
/dev/shm/portage/sys-libs/glibc-2.37-r3/work/glibc-2.37/configure --enable-stack-protector=no --disable-cet --enable-kernel=3.2.0 --without-selinux --disable-werror --enable-bind-now --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(prefix)/lib --mandir=$(prefix)/share/man --infodir=$(prefix)/share/info --libexecdir=$(libdir)/misc/glibc --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion=Gentoo 2.37-r3 (patchset 5) --disable-crypt --disable-systemtap --disable-nscd ac_cv_path_PERL=no libc_cv_complocaledir=${exec_prefix}/lib/locale libc_cv_include_x86_isa_level=no libc_cv_have_x86_lahf_sahf=no libc_cv_have_x86_movbe=no --disable-timezone-tools
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none -Wl,-O1 -Wl,--as-needed
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 -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none -Wl,-O1 -Wl,--as-needed accepts -g... yes
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none accepts -g... yes
checking whether x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arc arm csky hppa i386 loongarch m68k microblaze checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
mips nios2 or1k powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
sparc x86_64 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld... 2.40.0, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.4.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.22, ok
checking for makeinfo... /dev/null
checking version of /dev/null... v. ?.??, bad
checking for sed... sed
checking version of sed... 4.9, ok
checking for gawk... gawk
checking version of gawk... 5.2.2, ok
checking for bison... bison
checking version of bison... 3.8.2, ok
checking if x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none -Wl,-O1 -Wl,--as-needed is sufficient to build libc... yes
checking for python3... python3
checking version of python3... 3.11.4, ok
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features or tests will be disabled.
*** Check the INSTALL file for required versions.
checking for use of fpu sysdeps directories... yes
checking for -fstack-protector... yes
checking for -fstack-protector-strong... yes
checking for -fstack-protector-all... yes
checking for assembler and linker STT_GNU_IFUNC support... yes
checking for gcc attribute ifunc support... no
checking whether the linker supports textrels along with ifunc... yes
checking for GNU attribute retain support... yes
checking if compiler warns about alias for function with incompatible types... no
checking sysdep dirs... sysdeps/unix/sysv/linux/i386/i686 sysdeps/i386/i686/nptl sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/i386/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu/multiarch sysdeps/i386/i686/fpu sysdeps/i386/i686/multiarch sysdeps/i386/i686 sysdeps/i386/fpu sysdeps/x86/fpu sysdeps/i386 sysdeps/x86 sysdeps/wordsize-32 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic
checking LD_LIBRARY_PATH variable... ok
checking for bash... /usr/bin/bash
checking for perl... (cached) no
checking for install-info... /usr/bin/install-info
checking for .set assembler directive... yes
checking linker support for protected data symbol... yes
checking linker support for INSERT in linker script... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for libunwind-support in compiler... no
checking whether --noexecstack is desirable for .S files... yes
checking for linker that supports -z execstack... yes
checking for linker that supports -z start-stop-gc... yes
checking for linker that supports --depaudit... yes
checking for linker that supports -z pack-relative-relocs... yes
checking for linker that supports --no-dynamic-linker... yes
checking for -static-pie... yes
checking for -fpie... yes
checking for GLOB_DAT reloc... yes
checking for -mtls-dialect=gnu2... yes
checking if -Wno-ignored-attributes is required for aliases... 
checking whether cc puts quotes around section names... no
checking for __builtin_memset... no
checking for redirection of built-in functions... yes
checking for compiler option to disable generation of FMA instructions... -ffp-contract=off
checking for compiler option that -fsignaling-nans... -fsignaling-nans
checking if x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -pipe -w -march=native -O3 -flto=12 -flto-compression-level=0 -fcf-protection=none -Wl,-O1 -Wl,--as-needed accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes
checking for libgd... no
checking for _FORTIFY_SOURCE predefine... yes
checking whether the assembler requires one version per symbol... no
checking for __builtin_trap with no external dependencies... yes
checking whether the C++ compiler supports thread_local... yes
running configure fragment for sysdeps/unix/sysv/linux/i386
running configure fragment for sysdeps/unix/sysv/linux
checking installed Linux kernel header files... 3.2.0 or later
checking for kernel header at least 3.2.0... ok
checking for symlinks in /usr/include... ok
running configure fragment for sysdeps/gnu
running configure fragment for sysdeps/i386
checking for compiler support of inlined builtin function __sync_val_compare_and_swap... configure: error: 
*** Building with -march=i386/-mcpu=i386 is not supported.
*** Please use host i786, i686, i586, or i486.
*** For example: /source/glibc/configure CFLAGS='-O2 -march=i686' ...
 * ERROR: sys-libs/glibc-2.37-r3::gentoo failed (configure phase):
 *   failed to configure glibc
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3492:  Called foreach_abi 'do_src_configure'
 *   environment, line 1532:  Called do_src_configure
 *   environment, line 1213:  Called glibc_do_configure 'nptl'
 *   environment, line 2013:  Called die
 * The specific snippet of code:
 *       "$@" || die "failed to configure glibc";
 * 
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.37-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.37-r3::gentoo'`.
 * The complete build log is located at '/dev/shm/portage/sys-libs/glibc-2.37-r3/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/sys-libs/glibc-2.37-r3/temp/environment'.
 * Working directory: '/dev/shm/portage/sys-libs/glibc-2.37-r3/work/build-x86-x86_64-pc-linux-gnu-nptl'
 * S: '/dev/shm/portage/sys-libs/glibc-2.37-r3/work/glibc-2.37'