Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved, work around] glibc emerge problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Tue Dec 24, 2019 2:05 am    Post subject: [solved, work around] glibc emerge problem Reply with quote

Hello there,
i believe i had a multilib version of glibc for quite a while. This year i continued to emerge world by excluding glibc and libnsl.

To emerge glibc without those excluding statements, can i install glibc native for 64 bit system somehow?
I can not emerge -C glibc. Can i install a binary package of glibc using rpm? what do i have to do for this?

Following is what i have from emerge --info:
Code:
 Portage 2.3.79 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.6
KiB Mem:     8126304 total,   3668544 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Mon, 23 Dec 2019 18:30:01 +0000
Head commit of repository gentoo: c95d8ef87dbeef6e31ea525c8a34f5c699ac3def
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp/portage"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emacs emboss encode exif extras fam flac fortran gdbm gif gpm iconv icu ipv6 jpeg jpeg2k kde kipi kwallet latex lcms ldap libkms libnotify libtirpc lyx mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt5 readline sdl seccomp semantic-desktop spell split-usr sql sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis webkit widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


and the output with the error message after i just do emerge glibc libnsl together.

Quote:

 * Package: sys-libs/glibc-2.29-r7
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multiarch multilib ssp userland_GNU
 * FEATURES: network-sandbox sandbox userpriv usersandbox
>>> Unpacking source...
make -j8 -s glibc-test
* Checking that IA32 emulation is enabled in the running kernel ...
 [ ok ]
* Checking gcc for __thread support ...
 [ ok ]
* Checking running kernel version (3.8.13-gentoo >= 3.2.0) ...
 [ ok ]
* Checking linux-headers version (4.19.0 >= 3.2.0) ...
 [ ok ]
>>> Unpacking gcc-multilib-bootstrap-20180511.tar.xz to /tmp/portage/portage/sys-libs/glibc-2.29-r7/work
* strip-flags: CFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
* strip-flags: CXXFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
* Manual CC: x86_64-pc-linux-gnu-gcc -m64
>>> Unpacking glibc-2.29.tar.xz to /tmp/portage/portage/sys-libs/glibc-2.29-r7/work
>>> Unpacking glibc-2.29-patches-8.tar.xz to /tmp/portage/portage/sys-libs/glibc-2.29-r7/work
>>> Source unpacked in /tmp/portage/portage/sys-libs/glibc-2.29-r7/work
>>> Preparing source in /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29 ...
* Applying Gentoo Glibc Patchset 2.29-8
* Applying patches from /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/patches ...
* 0001-Gentoo-disable-ldconfig-during-install.patch ...
 [ ok ]
* 0002-Gentoo-support-running-tests-under-sandbox.patch ...
 [ ok ]
* 0004-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch ...
 [ ok ]
* 0005-Gentoo-disable-tests-that-fail-only-in-sandbox.patch ...
 [ ok ]
* 0006-Gentoo-Disable-test-that-fails-because-of-the-gethos.patch ...
 [ ok ]
* 0007-Gentoo-Adapt-to-Gentoo-specific-etc-mail-aliases.patch ...
 [ ok ]
* 0008-Gentoo-Add-a-C.UTF-8-locale.patch ...
 [ ok ]
* 0009-Gentoo-force-O0-in-conform-tests-to-survive-CC-chang.patch ...
 [ ok ]
* 0010-Gentoo-Adapt-nss-tst-nss-files-alias-leak-to-Gentoo-.patch ...
 [ ok ]
* 0011-nptl-Fix-pthread_rwlock_try-lock-stalls-Bug-23844.patch ...
 [ ok ]
* 0012-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch ...
 [ ok ]
* 0013-arm-Use-nr-constraint-for-Systemtap-probes-BZ-24164.patch ...
 [ ok ]
* 0014-Add-compiler-barriers-around-modifications-of-the-ro.patch ...
 [ ok ]
* 0015-nptl-Avoid-fork-handler-lock-for-async-signal-safe-f.patch ...
 [ ok ]
* 0016-nptl-Fix-invalid-Systemtap-probe-in-pthread_join-BZ-.patch ...
 [ ok ]
* 0017-Fix-output-of-LD_SHOW_AUXV-1.patch ...
 [ ok ]
* 0018-regex-fix-read-overrun-BZ-24114.patch ...
 [ ok ]
* 0019-Record-CVE-2019-9169-in-NEWS-and-ChangeLog-BZ-24114.patch ...
 [ ok ]
* 0020-S390-Mark-vx-and-vxe-as-important-hwcap.patch ...
 [ ok ]
* 0021-ja_JP-Change-the-offset-for-Taisho-gan-nen-from-2-to.patch ...
 [ ok ]
* 0022-ja_JP-locale-Add-entry-for-the-new-Japanese-era-BZ-2.patch ...
 [ ok ]
* 0023-malloc-Set-and-reset-all-hooks-for-tracing-Bug-16573.patch ...
 [ ok ]
* 0024-memusagestat-use-local-glibc-when-linking-BZ-18465.patch ...
 [ ok ]
* 0025-Revert-memusagestat-use-local-glibc-when-linking-BZ-.patch ...
 [ ok ]
* 0026-support-Add-support_capture_subprogram.patch ...
 [ ok ]
* 0027-elf-Fix-pldd-BZ-18035.patch ...
 [ ok ]
* 0028-malloc-Check-for-large-bin-list-corruption-when-inse.patch ...
 [ ok ]
* 0029-Fix-crash-in-_IO_wfile_sync-bug-20568.patch ...
 [ ok ]
* 0030-dlfcn-Guard-__dlerror_main_freeres-with-__libc_once_.patch ...
 [ ok ]
* 0031-Update-NEWS-for-BZ-24476-Guard-__dlerror_main_freere.patch ...
 [ ok ]
* 0032-Fix-tcache-count-maximum-BZ-24531.patch ...
 [ ok ]
* 0033-malloc-Fix-warnings-in-tests-with-GCC-9.patch ...
 [ ok ]
* 0034-Use-a-proper-C-tokenizer-to-implement-the-obsolete-t.patch ...
 [ ok ]
* 0035-libio-do-not-attempt-to-free-wide-buffers-of-legacy-.patch ...
 [ ok ]
* 0036-Gentoo-Fix-make-install-headers-when-cross-compiler-.patch ...


and so on untill at the end i got
Quote:

_Static_assert (__alignof__ (type) == align , \
^
../include/setjmp.h:60:1: note: in expansion of macro 'TEST_ALIGN'
TEST_ALIGN (sigjmp_buf, SIGJMP_BUF_ALIGN);
^~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __mask_was_saved field of struct __jmp_buf_tag != 64"
_Static_assert (offsetof (type, member) == offset, \
^
../include/setjmp.h:63:1: note: in expansion of macro 'TEST_OFFSET'
TEST_OFFSET (struct __jmp_buf_tag, __mask_was_saved,
^~~~~~~~~~~
../include/setjmp.h:50:3: error: static assertion failed: "offset of __saved_mask field of struct __jmp_buf_tag != 72"
_Static_assert (offsetof (type, member) == offset, \
^
../include/setjmp.h:65:1: note: in expansion of macro 'TEST_OFFSET'
TEST_OFFSET (struct __jmp_buf_tag, __saved_mask,
^~~~~~~~~~~
Traceback (most recent call last):
File "../scripts/gen-as-const.py", line 120, in <module>
main()
File "../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib64/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h.dT -MT '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h.d /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h' -S -o /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmp11smxz_1/test.s -x c - < /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmp11smxz_1/test.c' returned non-zero exit status 1
Traceback (most recent call last):
Traceback (most recent call last):
<stdin>: In function 'dummy':
Traceback (most recent call last):
File "../scripts/gen-as-const.py", line 120, in <module>
<stdin>:6:81: error: 'La_x86_64_vector' undeclared (first use in this function)
File "../scripts/gen-as-const.py", line 120, in <module>
File "../scripts/gen-as-const.py", line 120, in <module>
<stdin>:6:81: note: each undeclared identifier is reported only once for each function it appears in
<stdin>:7:78: error: 'La_x86_64_xmm' undeclared (first use in this function)
<stdin>:8:78: error: 'La_x86_64_ymm' undeclared (first use in this function)
<stdin>:9:78: error: 'La_x86_64_zmm' undeclared (first use in this function)
<stdin>:10:78: error: '__int128_t' undeclared (first use in this function)
<stdin>:11:77: error: invalid application of 'sizeof' to incomplete type 'struct La_x86_64_regs'
In file included from ../sysdeps/nptl/libc-lockP.h:24:0,
from ../sysdeps/nptl/libc-lock.h:184,
from ../include/link.h:52,
from <stdin>:1:
<stdin>:12:92: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:13:91: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:14:91: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:15:92: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:16:92: error: invalid use of undefined type 'struct La_x86_64_regs'
main()
File "../scripts/gen-as-const.py", line 116, in main
<stdin>:17:92: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:18:92: error: invalid use of undefined type 'struct La_x86_64_regs'
main()
File "../scripts/gen-as-const.py", line 116, in main
<stdin>:19:92: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:20:92: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:21:95: error: invalid use of undefined type 'struct La_x86_64_regs'
<stdin>:23:92: error: invalid use of undefined type 'struct La_x86_64_regs'
consts = glibcextract.compute_c_consts(sym_data, args.cc)
main()
File "/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
File "../scripts/gen-as-const.py", line 116, in main
<stdin>:25:78: error: invalid application of 'sizeof' to incomplete type 'struct La_x86_64_retval'
In file included from ../sysdeps/nptl/libc-lockP.h:24:0,
from ../sysdeps/nptl/libc-lock.h:184,
from ../include/link.h:52,
from <stdin>:1:
<stdin>:26:93: error: invalid use of undefined type 'struct La_x86_64_retval'
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
<stdin>:27:93: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:28:94: error: invalid use of undefined type 'struct La_x86_64_retval'
subprocess.check_call(cmd, shell=True)
File "/usr/lib64/python3.5/subprocess.py", line 271, in check_call
<stdin>:29:94: error: invalid use of undefined type 'struct La_x86_64_retval'
subprocess.check_call(cmd, shell=True)
consts = glibcextract.compute_c_consts(sym_data, args.cc)
raise CalledProcessError(retcode, cmd)
make[2]: *** [../Makerules:271: /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tlsdesc.h] Error 1
File "/usr/lib64/python3.5/subprocess.py", line 271, in check_call
File "/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
<stdin>:30:93: error: invalid use of undefined type 'struct La_x86_64_retval'
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.dT -MT '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.d /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h' -S -o /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpab8p0o7k/test.s -x c - < /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpab8p0o7k/test.c' returned non-zero exit status 1
<stdin>:31:93: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:32:97: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:33:97: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:35:94: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:36:94: error: invalid use of undefined type 'struct La_x86_64_retval'
subprocess.check_call(cmd, shell=True)
File "/usr/lib64/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h.dT -MT '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h.d /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h' -S -o /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpbmnxur0u/test.s -x c - < /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpbmnxur0u/test.c' returned non-zero exit status 1
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h.dT -MT '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h.d /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h' -S -o /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpqbef0uw7/test.s -x c - < /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpqbef0uw7/test.c' returned non-zero exit status 1
Traceback (most recent call last):
make[2]: *** [../Makerules:271: /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h] Error 1
File "../scripts/gen-as-const.py", line 120, in <module>
make[2]: *** [../Makerules:271: /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/tcb-offsets.h] Error 1
main()
File "../scripts/gen-as-const.py", line 116, in main
consts = glibcextract.compute_c_consts(sym_data, args.cc)
File "/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
subprocess.check_call(cmd, shell=True)
File "/usr/lib64/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu -I/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS -MD -MP -MF /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h.dT -MT '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h.d /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h' -S -o /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpjv7152eb/test.s -x c - < /tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/tmpjv7152eb/test.c' returned non-zero exit status 1
make[2]: *** [../Makerules:271: /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/rtld-offsets.h] Error 1
make[2]: *** [../Makerules:271: /tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h] Error 1
make[2]: Leaving directory '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/csu'
make[1]: *** [Makefile:259: csu/subdir_lib] Error 2
make[1]: Leaving directory '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl'
* ERROR: sys-libs/glibc-2.29-r7::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-libs/glibc-2.29-r7::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.29-r7::gentoo'`.
* The complete build log is located at '/tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/build.log'.
* The ebuild environment file is located at '/tmp/portage/portage/sys-libs/glibc-2.29-r7/temp/environment'.
* Working directory: '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29'
* S: '/tmp/portage/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29'


I believe the errors can be understood from the lines:

<stdin>:31:93: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:32:97: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:33:97: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:35:94: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:36:94: error: invalid use of undefined type 'struct La_x86_64_retval'

which i am reading from the net indicate that this is incompatibility of 64 and the multisystem packages.


Last edited by ngorelen on Fri Jan 31, 2020 1:53 am; edited 2 times in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Dec 24, 2019 2:24 pm    Post subject: Reply with quote

It's not quiet clear what you are asking for me, the only thing i'm sure is that your glibc is not building
You could use a tinderbox to grab a valid glibc and emerge it (with --usepkg=y), toralf is running one, but alas i don't have his url
but i'm sure someone have the right url somewhere and will come to provide it
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Sat Jan 11, 2020 2:43 am    Post subject: Reply with quote

Thanks Krinn.
I am installing gentoo from scratch now, keeping my home directory.
After chroot'ing i managed to emerge world successfully and build the kernel. Then revdep-rebuild and so on.
I am at the end of installation...

Accidentally after "emerge world" i tried to see if glibc emerges, and did: emerge -v glibc .
( I have sys-libs/glibc-2.29-r7 already from original installation package. )
Well, i am geting the same kinds of errors i had before:
Code:
 
......
<stdin>:31:93: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:32:97: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:33:97: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:35:94: error: invalid use of undefined type 'struct La_x86_64_retval'
<stdin>:36:94: error: invalid use of undefined type 'struct La_x86_64_retval'
......


I am wondering, did i do something wrong? should i continue, and see what happens after i reboot?

During glibc installation i am getting following USE value:
Code:

emerge -pv glibc
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] sys-libs/glibc-2.29-r7:2.2::gentoo  USE="multiarch (multilib) ssp -audit -caps (-cet) -compile-locales -doc -gd -headers-only -nscd -profile (-selinux) -suid -systemtap -test (-vanilla)" 0 KiB


Is "multiarch (multilib)" something not to worry? Can i turn them off? Maybe this will get rid of those error warnings.

Thanks in advance, Nikolai.

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Jan 11, 2020 3:42 pm    Post subject: Reply with quote

Python 3.4 is long dead. https://packages.gentoo.org/packages/dev-lang/python

Did you re-install from an old source?
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Sat Jan 11, 2020 3:56 pm    Post subject: Reply with quote

Thanks, I was installing gentoo with all its capabilities which i downloaded last week. I have Python 3.7, 3.6 as i see with: eselect python list.

Anyways, since i have the latest glibc (glibc-2.29-r7) maybe this is OK for now.
Later i can emerge binary glibc without compiling it. Is it possible?
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Jan 11, 2020 8:01 pm    Post subject: Reply with quote

My /etc/python-exec/python-exec.conf has the following (after a bunch of comments):
Code:
python2.7
python3.6


Code:
 $ equery b /etc/python-exec/python-exec.conf
 * Searching for /etc/python-exec/python-exec.conf ...
dev-lang/python-exec-2.4.6-r1 (/etc/python-exec/python-exec.conf)


Run "emerge -a1v python-exec" (That's a number 1 not a lower case L)
Run etc-update afterward if it asks you to.
That should get rid of the error message. If you sill have it you must be setting python targets somewhere outside your profile like in make.conf
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Mon Jan 13, 2020 4:17 pm    Post subject: Reply with quote

Thanks Tony, that did not help.
I already have those setups for pythons and python-exec.

I just reemerged those python and python-exec packaging to be sure.
Emerging glibc has the same problems.

Further information follows.

Code:

emerge -pvq glibc
[ebuild   R   ] sys-libs/glibc-2.29-r7  USE="multiarch (multilib) ssp -audit -caps (-cet) -compile-locales -doc -gd -headers-only -nscd -profile (-selinux) -suid -systemtap -test (-vanilla)"


then emerge --info glibc:

Code:

Portage 2.3.79 (python 2.7.17-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.86-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.6
KiB Mem:     8115440 total,   1415972 free
KiB Swap:   10485756 total,  10482164 free
Timestamp of repository gentoo: Wed, 08 Jan 2020 00:45:01 +0000
Head commit of repository gentoo: 0a6066e1ee02dcedd4e06cc4a1a3f560976c1f03
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.5.4-r1::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bzip2 cdr cli consolekit crypt cxx dbus dri dvd emacs extras fortran gdbm iconv ipv6 jpeg jpeg2k latex libkms libtirpc lyx mmx mng multilib ncurses nls nptl ogg opengl openmp pam pcre png policykit python readline seccomp split-usr sql sse sse2 ssl svg tcpd udev unicode vorbis webkit xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-libs/glibc-2.29-r7::gentoo was built with the following:
USE="multiarch (multilib) ssp -audit -caps (-cet) -compile-locales -doc -gd -headers-only -nscd -profile (-selinux) -suid -systemtap -test (-vanilla)" ABI_X86="(64)"
CFLAGS="-pipe -O2 -fno-strict-aliasing"
CXXFLAGS="-pipe -O2 -fno-strict-aliasing"
FEATURES="sandbox unknown-features-warn usersandbox fail-clean network-sandbox assume-digests strict buildpkg sfperms binpkg-logs ipc-sandbox xattr unmerge-orphans pid-sandbox binpkg-docompress unmerge-logs ebuild-locks fixlafiles usersync userfetch merge-sync protect-owned multilib-strict preserve-libs config-protect-if-modified distlocks userpriv binpkg-dostrip parallel-fetch"



and full ebuild report, which i trimmed a bit:

Code:

 * Package:    sys-libs/glibc-2.29-r7
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multiarch multilib ssp userland_GNU
 * FEATURES:   network-sandbox sandbox userpriv usersandbox
>>> Unpacking source...
make -j8 -s glibc-test
 * Checking that IA32 emulation is enabled in the running kernel ...
 [ ok ]
 * Checking gcc for __thread support ...
 [ ok ]
 * Checking running kernel version (4.19.86-gentoo-x86_64 >= 3.2.0) ...
 [ ok ]
 * Checking linux-headers version (4.19.0 >= 3.2.0) ...
 [ ok ]
>>> Unpacking gcc-multilib-bootstrap-20180511.tar.xz to /var/tmp/portage/sys-libs/glibc-2.29-r7/work
 * strip-flags: CFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 * strip-flags: CXXFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 *       Manual CC:   x86_64-pc-linux-gnu-gcc -m64
>>> Unpacking glibc-2.29.tar.xz to /var/tmp/portage/sys-libs/glibc-2.29-r7/work
>>> Unpacking glibc-2.29-patches-8.tar.xz to /var/tmp/portage/sys-libs/glibc-2.29-r7/work
>>> Source unpacked in /var/tmp/portage/sys-libs/glibc-2.29-r7/work
>>> Preparing source in /var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29 ...
 * Applying Gentoo Glibc Patchset 2.29-8
 * Applying patches from /var/tmp/portage/sys-libs/glibc-2.29-r7/work/patches ...
 *   0001-Gentoo-disable-ldconfig-during-install.patch ...
 [ ok ]
 *   0002-Gentoo-support-running-tests-under-sandbox.patch ...
 [ ok ]
 *   0004-Revert-sysdeps-posix-getaddrinfo.c-gaih_inet-Only-us.patch ...
 [ ok ]
 *   0005-Gentoo-disable-tests-that-fail-only-in-sandbox.patch ...
 [ ok ]
 *   0006-Gentoo-Disable-test-that-fails-because-of-the-gethos.patch ...
 [ ok ]
 *   0007-Gentoo-Adapt-to-Gentoo-specific-etc-mail-aliases.patch ...
 [ ok ]
 *   0008-Gentoo-Add-a-C.UTF-8-locale.patch ...
 [ ok ]
 *   0009-Gentoo-force-O0-in-conform-tests-to-survive-CC-chang.patch ...
 [ ok ]
 *   0010-Gentoo-Adapt-nss-tst-nss-files-alias-leak-to-Gentoo-.patch ...
 [ ok ]
 *   0011-nptl-Fix-pthread_rwlock_try-lock-stalls-Bug-23844.patch ...
 [ ok ]
 *   0012-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch ...
 [ ok ]
 *   0013-arm-Use-nr-constraint-for-Systemtap-probes-BZ-24164.patch ...
 [ ok ]
 *   0014-Add-compiler-barriers-around-modifications-of-the-ro.patch ...
 [ ok ]
 *   0015-nptl-Avoid-fork-handler-lock-for-async-signal-safe-f.patch ...
 [ ok ]
 *   0016-nptl-Fix-invalid-Systemtap-probe-in-pthread_join-BZ-.patch ...
 [ ok ]
 *   0017-Fix-output-of-LD_SHOW_AUXV-1.patch ...
 [ ok ]
 *   0018-regex-fix-read-overrun-BZ-24114.patch ...
 [ ok ]
 *   0019-Record-CVE-2019-9169-in-NEWS-and-ChangeLog-BZ-24114.patch ...
 [ ok ]
 *   0020-S390-Mark-vx-and-vxe-as-important-hwcap.patch ...
 [ ok ]
 *   0021-ja_JP-Change-the-offset-for-Taisho-gan-nen-from-2-to.patch ...
 [ ok ]
 *   0022-ja_JP-locale-Add-entry-for-the-new-Japanese-era-BZ-2.patch ...
 [ ok ]
 *   0023-malloc-Set-and-reset-all-hooks-for-tracing-Bug-16573.patch ...
 [ ok ]
 *   0024-memusagestat-use-local-glibc-when-linking-BZ-18465.patch ...
 [ ok ]
 *   0025-Revert-memusagestat-use-local-glibc-when-linking-BZ-.patch ...
 [ ok ]
 *   0026-support-Add-support_capture_subprogram.patch ...
 [ ok ]
 *   0027-elf-Fix-pldd-BZ-18035.patch ...
 [ ok ]
 *   0028-malloc-Check-for-large-bin-list-corruption-when-inse.patch ...
 [ ok ]
 *   0029-Fix-crash-in-_IO_wfile_sync-bug-20568.patch ...
 [ ok ]
 *   0030-dlfcn-Guard-__dlerror_main_freeres-with-__libc_once_.patch ...
 [ ok ]
 *   0031-Update-NEWS-for-BZ-24476-Guard-__dlerror_main_freere.patch ...
 [ ok ]
 *   0032-Fix-tcache-count-maximum-BZ-24531.patch ...
 [ ok ]
 *   0033-malloc-Fix-warnings-in-tests-with-GCC-9.patch ...
 [ ok ]
 *   0034-Use-a-proper-C-tokenizer-to-implement-the-obsolete-t.patch ...
 [ ok ]
 *   0035-libio-do-not-attempt-to-free-wide-buffers-of-legacy-.patch ...
 [ ok ]
 *   0036-Gentoo-Fix-make-install-headers-when-cross-compiler-.patch ...
 [ ok ]
 *   0038-Revert-Gentoo-Fix-make-install-headers-when-cross-co.patch ...
 [ ok ]
 *   0039-Fix-RISC-V-vfork-build-with-Linux-5.3-kernel-headers.patch ...
 [ ok ]
 *   0040-io-Remove-copy_file_range-emulation-BZ-24744.patch ...
 [ ok ]
 *   0041-NEWS-Add-deprecated-section-heading.patch ...
 [ ok ]
 *   0042-aarch64-add-STO_AARCH64_VARIANT_PCS-and-DT_AARCH64_V.patch ...
 [ ok ]
 *   0043-aarch64-handle-STO_AARCH64_VARIANT_PCS.patch ...
 [ ok ]
 *   0044-posix-Fix-large-mmap64-offset-for-mips64n32-BZ-24699.patch ...
 [ ok ]
 *   0045-alpha-Do-not-redefine-__NR_shmat-or-__NR_osf_shmat.patch ...
 [ ok ]
 *   0046-hppa-Update-libm-tests-ulps.patch ...
 [ ok ]
 *   0047-Update-Alpha-libm-test-ulps.patch ...
 [ ok ]
 *   0048-Improve-performance-of-strstr.patch ...
 [ ok ]
 *   0049-Improve-performance-of-memmem.patch ...
 [ ok ]
 *   0050-alpha-force-old-OSF1-syscalls-for-getegid-geteuid-an.patch ...
 [ ok ]
 *   0051-Call-_dl_open_check-after-relocation-BZ-24259.patch ...
 [ ok ]
 *   0052-support-Export-bindir-path-on-support_path.patch ...
 [ ok ]
 *   0053-nss_db-fix-endent-wrt-NULL-mappings-BZ-24695-BZ-2469.patch ...
 [ ok ]
 *   0054-elf-Refuse-to-dlopen-PIE-objects-BZ-24323.patch ...
 [ ok ]
 *   0055-mips-Force-RWX-stack-for-hard-float-builds-that-can-.patch ...
 [ ok ]
 *   0056-Fix-alignment-of-TLS-variables-for-tls-variant-TLS_T.patch ...
 [ ok ]
 *   0057-Fix-assertion-in-malloc.c-tcache_get.patch ...
 [ ok ]
 *   0058-Small-tcache-improvements.patch ...
 [ ok ]
 *   0059-malloc-Remove-unwanted-leading-whitespace-in-malloc_.patch ...
 [ ok ]
 *   0060-malloc-Fix-missing-accounting-of-top-chunk-in-malloc.patch ...
 [ ok ]
 *   0061-Add-glibc.malloc.mxfast-tunable.patch ...
 [ ok ]
 *   0062-malloc-Various-cleanups-for-malloc-tst-mxfast.patch ...
 [ ok ]
 *   0063-Base-max_fast-on-alignment-not-width-of-bins-Bug-249.patch ...
 [ ok ]
 *   0064-Linux-Use-in-tree-copy-of-SO_-constants-for-__USE_MI.patch ...
 [ ok ]
 *   0065-rtld-Check-__libc_enable_secure-before-honoring-LD_P.patch ...
 [ ok ]
 *   0066-Update-NEWS-for-CVE-2019-19126.patch ...
 [ ok ]
 * Done.
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating scripts/config.sub
 [ ok ]
 *   Updating scripts/config.guess
 [ ok ]
 * Adjusting to prefix /
 *   locale-gen ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29 ...
 * strip-flags: CFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 * strip-flags: CXXFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 *       Manual CC:   x86_64-pc-linux-gnu-gcc -m64
 * strip-flags: CFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 * strip-flags: CXXFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 *       Manual CC:   x86_64-pc-linux-gnu-gcc -m32
 * Running do_src_configure for ABI x86
 * Configuring glibc for nptl
 *             ABI:   x86
 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   x86_64-pc-linux-gnu
 *      CBUILD_OPT:   x86_64-pc-linux-gnu
 *     CTARGET_OPT:   x86_64-pc-linux-gnu
 *              CC:   x86_64-pc-linux-gnu-gcc -m32
 *             CXX:   
 *              LD:   
 *         ASFLAGS:   
 *          CFLAGS:   -march=native -pipe -O2 -fno-strict-aliasing
 *        CPPFLAGS:   
 *        CXXFLAGS:   -march=native -pipe -O2 -fno-strict-aliasing
 *         LDFLAGS:   -Wl,-O1 -Wl,--as-needed
 *        MAKEINFO:   /dev/null
 *       Manual CC:   x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed
 *      Manual CXX:   x86_64-pc-linux-gnu-g++ -m32 -march=native -pipe -O2 -fno-strict-aliasing

/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/configure --enable-stack-protector=all --enable-stackguard-randomization --disable-cet --enable-kernel=3.2.0 --without-selinux --without-cvs --disable-werror --enable-bind-now --build=x86_64-pc-linux-gnu --host=x86_64-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.29-r7 p8 --disable-systemtap --disable-nscd --disable-timezone-tools
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -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 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed accepts -g... yes
checking for x86_64-pc-linux-gnu-readelf... x86_64-pc-linux-gnu-readelf
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ -m32 -march=native -pipe -O2 -fno-strict-aliasing accepts -g... yes
checking whether x86_64-pc-linux-gnu-g++ -m32 -march=native -pipe -O2 -fno-strict-aliasing can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arm csky hppa i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64 checking whether x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed compiles in -mx32 mode by default... no

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... yes
checking whether the linker supports textrels along with ifunc... yes
checking if compiler warns about alias for function with incompatible types... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether ln -s works... yes
checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as is GNU as... yes
checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ld... yes
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as... 2.32.0, ok
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld... 2.32.0, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.2.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.19.8.1, ok
checking for makeinfo... /dev/null
checking version of /dev/null... v. ?.??, bad
checking for sed... sed
checking version of sed... 4.5, ok
checking for gawk... gawk
checking version of gawk... 4.2.1, ok
checking for bison... bison
checking version of bison... 3.1, ok
checking if x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed is sufficient to build libc... yes
checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm
checking for python3... python3
checking version of python3... 3.6.9, 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 LD_LIBRARY_PATH variable... ok
checking for bash... /bin/bash
checking for perl... /usr/bin/perl
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 whether to use .ctors/.dtors header and trailer... no
checking for libunwind-support in compiler... no
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for linker that supports -z execstack... yes
checking for linker that supports --no-dynamic-linker... yes
checking for -static-pie... yes
checking for -fpie... yes
checking for --hash-style option... (cached) no
checking for sufficient default -shared layout... no
checking for GLOB_DAT reloc... yes
checking linker output format... elf32-i386
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -mtls-dialect=gnu2... yes
checking whether cc puts quotes around section names... no
checking for __builtin_memset... yes
checking for redirection of built-in functions... yes
checking for compiler option to disable generation of FMA instructions... -ffp-contract=off
checking if x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -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 linker provides working __ehdr_start... yes
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/x86_64/64
running configure fragment for sysdeps/unix/sysv/linux/x86_64
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/x86_64
checking for AVX512DQ support in assembler... no
checking for AVX512 support... no
checking for Intel MPX support... no
running configure fragment for sysdeps/x86
checking whether -fPIC is default... yes
checking whether -fPIE is default... yes
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
 * strip-flags: CFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 * strip-flags: CXXFLAGS: changed '-march=native -O2 -pipe -fomit-frame-pointer' to '-march=native -O2 -pipe'
 *       Manual CC:   x86_64-pc-linux-gnu-gcc -m64
 * Running do_src_configure for ABI amd64
 * Configuring glibc for nptl
 *             ABI:   amd64
 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   x86_64-pc-linux-gnu
 *      CBUILD_OPT:   x86_64-pc-linux-gnu
 *     CTARGET_OPT:   x86_64-pc-linux-gnu
 *              CC:   x86_64-pc-linux-gnu-gcc -m64
 *             CXX:   
 *              LD:   
 *         ASFLAGS:   
 *          CFLAGS:   -march=native -pipe -O2 -fno-strict-aliasing
 *        CPPFLAGS:   
 *        CXXFLAGS:   -march=native -pipe -O2 -fno-strict-aliasing
 *         LDFLAGS:   -Wl,-O1 -Wl,--as-needed
 *        MAKEINFO:   /dev/null
 *       Manual CC:   x86_64-pc-linux-gnu-gcc -m64 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed
 *      Manual CXX:   x86_64-pc-linux-gnu-g++ -m64 -march=native -pipe -O2 -fno-strict-aliasing

/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/configure --enable-stack-protector=all --enable-stackguard-randomization --disable-cet --enable-kernel=3.2.0 --without-selinux --without-cvs --disable-werror --enable-bind-now --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=$(prefix)/lib64 --mandir=$(prefix)/share/man --infodir=$(prefix)/share/info --libexecdir=$(libdir)/misc/glibc --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion=Gentoo 2.29-r7 p8 --disable-systemtap --disable-nscd --disable-timezone-tools
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m64 -march=native -pipe -O2 -fno-strict-aliasing -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 -m64 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed accepts -g... yes
checking for x86_64-pc-linux-gnu-readelf... x86_64-pc-linux-gnu-readelf
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ -m64 -march=native -pipe -O2 -fno-strict-aliasing accepts -g... yes
checking whether x86_64-pc-linux-gnu-g++ -m64 -march=native -pipe -O2 -fno-strict-aliasing can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arm csky hppa i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64 checking whether x86_64-pc-linux-gnu-gcc -m64 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed compiles in -mx32 mode by default... no

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... yes
checking whether the linker supports textrels along with ifunc... yes
checking if compiler warns about alias for function with incompatible types... yes
checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether ln -s works... yes
checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as is GNU as... yes
checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ld... yes
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/as... 2.32.0, ok
checking for /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld
checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld... 2.32.0, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 4.2.1, ok


....




                 from ../sysdeps/nptl/libc-lock.h:184,
                 from ../include/link.h:52,
                 from <stdin>:1:
<stdin>:12:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:13:74: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:14:74: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:15:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:16:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:17:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:18:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:19:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:20:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:21:78: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:23:75: error: invalid use of undefined type ‘struct La_x86_64_regs’
<stdin>:25:78: error: invalid application of ‘sizeof’ to incomplete type ‘struct La_x86_64_retval’
In file included from ../sysdeps/nptl/libc-lockP.h:24,
                 from ../sysdeps/nptl/libc-lock.h:184,
                 from ../include/link.h:52,
                 from <stdin>:1:
<stdin>:26:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:27:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:28:77: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:29:77: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:30:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:31:76: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:32:80: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:33:80: error: invalid use of undefined type ‘struct La_x86_64_retval’
<stdin>:35:77: error: invalid use of undefined type ‘struct La_x86_64_retval’
Traceback (most recent call last):
Traceback (most recent call last):
  File "../scripts/gen-as-const.py", line 120, in <module>
  File "../scripts/gen-as-const.py", line 120, in <module>
<stdin>:36:77: error: invalid use of undefined type ‘struct La_x86_64_retval’
    main()
  File "../scripts/gen-as-const.py", line 116, in main
    main()
  File "../scripts/gen-as-const.py", line 116, in main
    consts = glibcextract.compute_c_consts(sym_data, args.cc)
  File "/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
    consts = glibcextract.compute_c_consts(sym_data, args.cc)
  File "/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
    subprocess.check_call(cmd, shell=True)
  File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call
    subprocess.check_call(cmd, shell=True)
  File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline  -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno     -ftls-model=initial-exec   -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu  -I/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/x86_64  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64/wordsize-64  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /usr/include  -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS          -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h.dT          -MT '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h.d /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h' -S -o /var/tmp/portage/sys-libs/glibc-2.29-r7/temp/tmp1lslv82u/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.29-r7/temp/tmp1lslv82u/test.c' returned non-zero exit status 1.
    raise CalledProcessError(retcode, cmd)
Traceback (most recent call last):
  File "../scripts/gen-as-const.py", line 120, in <module>
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline  -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno     -ftls-model=initial-exec   -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu  -I/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/x86_64  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64/wordsize-64  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /usr/include  -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS          -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.dT          -MT '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h.d /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h' -S -o /var/tmp/portage/sys-libs/glibc-2.29-r7/temp/tmp3xzsg2kp/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.29-r7/temp/tmp3xzsg2kp/test.c' returned non-zero exit status 1.
    main()
  File "../scripts/gen-as-const.py", line 116, in main
    consts = glibcextract.compute_c_consts(sym_data, args.cc)
  File "/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/scripts/glibcextract.py", line 62, in compute_c_consts
    subprocess.check_call(cmd, shell=True)
  File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 -march=native -pipe -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -std=gnu11 -fgnu89-inline  -march=native -pipe -O2 -fno-strict-aliasing -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-all -Wstrict-prototypes -Wold-style-definition -fmath-errno     -ftls-model=initial-exec   -U_FORTIFY_SOURCE   -I../include -I/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/csu  -I/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl  -I../sysdeps/unix/sysv/linux/x86_64/64  -I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86  -I../sysdeps/x86/nptl  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/x86_64  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64  -I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86  -I../sysdeps/ieee754/float128  -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64/wordsize-64  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -isystem /usr/include  -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -DTOP_NAMESPACE=glibc -DGEN_AS_CONST_HEADERS          -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h.dT          -MT '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h.d /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h' -S -o /var/tmp/portage/sys-libs/glibc-2.29-r7/temp/tmp_ybk1swn/test.s -x c - < /var/tmp/portage/sys-libs/glibc-2.29-r7/temp/tmp_ybk1swn/test.c' returned non-zero exit status 1.
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/ucontext_i.h] Error 1
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/cpu-features-offsets.h] Error 1
make[2]: *** [../Makerules:271: /var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl/link-defines.h] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29/csu'
make[1]: *** [Makefile:259: csu/subdir_lib] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/build-x86-x86_64-pc-linux-gnu-nptl'
 * ERROR: sys-libs/glibc-2.29-r7::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.29-r7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.29-r7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.29-r7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.29-r7/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29'
 * S: '/var/tmp/portage/sys-libs/glibc-2.29-r7/work/glibc-2.29'



[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Mon Jan 13, 2020 5:43 pm    Post subject: Reply with quote

Well that error message is as clear as mud!
Here's how mine was built. Any differences from yours?
Ignore the mingw stuff.

Code:
tony@MSI ~ $ emerge -pv glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-libs/glibc-2.29-r7:2.2::gentoo  USE="(multilib) ssp suid -audit -caps (-cet) -compile-locales -doc -gd -headers-only -multiarch -nscd -profile (-selinux) -systemtap -test (-vanilla)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
tony@MSI ~ $ gcc-config -l
 [1] i686-w64-mingw32-8.3.0
 [2] i686-w64-mingw32-9.1.0 *

 [3] x86_64-pc-linux-gnu-7.3.0
 [4] x86_64-pc-linux-gnu-8.3.0
 [5] x86_64-pc-linux-gnu-9.2.0 *


EDIT: Okay, I see some differences:
MINE YOURS
suid -suid
-multiarch multiarch
-profile {blank}
ABI_X86="64 32" ABI_X86="(64)"

Try flipping multiarch and suid. You can try like this for non-permanent changes
USE="-multiarch suid -profile" emerge -1v glibc
If it works try it eliminating one flag at a time to see which flag is causing the problem (if any). Then make the appropriate permanent change in package.use
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54421
Location: 56N 3W

PostPosted: Mon Jan 13, 2020 5:57 pm    Post subject: Reply with quote

ngorelen,

Code:
Portage 2.3.79 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 3.8.13-gentoo x86_64)

That install is several years old.

You won't be able to do that update in one go.

Your error is at
Code:
subprocess.CalledProcessError: Command 'x86_64-pc-linux-gnu-gcc -m32 ...

The -m32 means that configure is trying to build and execute some 32 bit code. As you have a multilib install, that should be OK.
It needs kernel support though. That's the kernels CONFIG_IA32_EMULATION option.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Mon Jan 13, 2020 6:06 pm    Post subject: Reply with quote

Tony0945:
I have the same setup in gcc-config.

One difference is how you emerge glibc. Mine went through:
Code:

emerge -pvq glibc
[ebuild   R   ] sys-libs/glibc-2.29-r7  USE="multiarch (multilib) ssp -audit -caps (-cet) -compile-locales -doc -gd -headers-only -nscd -profile (-selinux) -suid -systemtap -test (-vanilla)"


I just turned off multiarch with: USE="-multiarch" emerge -v1 glibc
to make it exactly like yours. I got the same error messages.

EDITS:
i added other changes per your suggestions with no success. I will finish installations (sorry, i have some priority jobs to do :) and do what NeddySeagoon suggested, i.e. make changes to the kernel.

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]


Last edited by ngorelen on Mon Jan 13, 2020 8:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Mon Jan 13, 2020 6:16 pm    Post subject: Reply with quote

to NeddySeagoon:
thanks, i will set up CONFIG_IA32_EMULATION=y for a new kernel and will check it up.
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Wed Jan 15, 2020 10:54 pm    Post subject: Reply with quote

I finished the installation trying to be 64 bit oriented. The newer emerge --info output is below.

I rebuilt the gentoo system and am rebooting it. I followed suggestion by NeddySeagoon for kernel to set up CONFIG_IA32_EMULATION=y in .config file. The problem with glibc remains when i am trying to remerge it. Actually i read somewhere that an error related to 'struct La_x86_64_retval' etc. messages has to do with the upgrade from 32 to 64. It is described here: https://forums.gentoo.org/viewtopic-t-1066342-start-0.html .

As i was saying i don't mind to emerge or somehow install the binary glibc. This is just one more or less self-contained package. How can i do this so that emerge would know?

Code:

 emerge --info
Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64)
=================================================================
System uname: Linux-4.19.86-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.6
KiB Mem:     8106272 total,   5042276 free
KiB Swap:   10485756 total,  10484980 free
Timestamp of repository gentoo: Wed, 08 Jan 2020 00:45:01 +0000
Head commit of repository gentoo: 0a6066e1ee02dcedd4e06cc4a1a3f560976c1f03
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.5.4-r1::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emacs emboss encode exif extras fam flac fortran gdbm gif gpm iconv icu ipv6 jpeg jpeg2k kde kipi kwallet latex lcms ldap libkms libnotify libtirpc lyx mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt5 readline sdl seccomp semantic-desktop spell split-usr sql sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis webkit widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
ngorelen
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2019
Posts: 80
Location: Princeton, NJ

PostPosted: Fri Jan 24, 2020 4:02 pm    Post subject: (solved, see last message) any suggestions from veterans etc Reply with quote

I have 64 bit gentoo running.
But i am still getting those annoying errors when trying to re-emerge glibc, don't know how to fix them, any suggestions?

EDITS: Ok not exactly i solve the problem of emerge glibc, but i have found a description of how to make a binary at https://wiki.gentoo.org/wiki/Binary_package_guide

The solution is : I have two PCs. One works just fine with emerge glibc. There i create a binary by: quickpkg sys-libs/glibc. Then i move the file /usr/portage/packages/sys-libs/glibc-2.29-r7.tbz2 to second PC. Then i do emerge --ask --usepkgonly sys-devel/glibc which will install glibc. And yes, read the wiki page on some additional requirements and reservations.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum