Summary: | sys-libs/glibc-2.28-r5 : ../.../tls.h:57:1: error: static assertion failed: offset of _private_ss != <snip> | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | slyfox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sys-libs:glibc-2.28-r5:20190207-220056.log temp.tbz2 |
Description
Toralf Förster
![]() 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(-) |