from ../sysdeps/unix/sysv/linux/i386/sysdep.h:27, from <stdin>:1: ../sysdeps/i386/nptl/tls.h:57:1: error: static assertion failed: "offset of __private_ss != 0x30" _Static_assert (offsetof (tcbhead_t, __private_ss) == 0x30, ^~~~~~~~~~~~~~ In file included from ../nptl/descr.h:24, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-desktop_libressl_20190207-191529 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) emerge -qpvO sys-libs/glibc [ebuild U ] sys-libs/glibc-2.28-r5 [2.27-r6] USE="headers-only* multiarch (multilib) -audit -caps (-cet) (-compile-locales) -doc -gd -nscd -profile (-selinux) -suid -systemtap -test% (-vanilla) (-hardened%)"
Created attachment 564140 [details] emerge-info.txt
Created attachment 564142 [details] emerge-history.txt
Created attachment 564144 [details] environment
Created attachment 564146 [details] etc.portage.tbz2
Created attachment 564148 [details] logs.tbz2
Created attachment 564150 [details] sys-libs:glibc-2.28-r5:20190207-220056.log
Created attachment 564152 [details] temp.tbz2
For some reason for 32-bit ABI -m32 is not passed to gcc and glibc exposed on first assert: * 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: * CXX: * LD: ... * Manual CC: x86_64-pc-linux-gnu-gcc -pipe -march=native -O2 -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed * Manual CXX: x86_64-pc-linux-gnu-g++ -m32 -pipe -march=native -O2 -fno-strict-aliasing ...
I think -m32 injection omitted here: >>> Configuring source in /var/tmp/portage/sys-libs/glibc-2.28-r5/work/glibc-2.28 ... * Skip CC ABI injection. We can't use (cross-)compiler yet. * Skip CC ABI injection. We can't use (cross-)compiler yet. It happens due to USE=headers-only on a native system.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a821c3499a6f99b780eec2d5dd81c785535600c commit 3a821c3499a6f99b780eec2d5dd81c785535600c Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-02-07 23:01:12 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-02-07 23:02:38 +0000 sys-libs/glibc: ignore USE=headers-only for native case, bug #677474 Let's not allow users to "deinstall" native glibc. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/677474 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/glibc/glibc-2.27-r6.ebuild | 4 ++-- sys-libs/glibc/glibc-2.28-r5.ebuild | 2 +- sys-libs/glibc/glibc-2.29.ebuild | 2 +- sys-libs/glibc/glibc-9999.ebuild | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26aa836f4404981b7c3441a5bc9cb5a556c363ba commit 26aa836f4404981b7c3441a5bc9cb5a556c363ba Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2019-02-07 22:59:12 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2019-02-07 23:02:37 +0000 toolchain-glibc.eclass: ignore USE=headers-only for native case, bug #677474 Let's not allow users to deinstall native glibc. Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/677474 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> eclass/toolchain-glibc.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)