From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 49B613858405; Mon, 15 Nov 2021 13:38:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49B613858405 From: "jason at zx2c4 dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/28595] glibc-2.34 build fails with linker error (TLS transition from R_386_TLS_GOTIE to R_386_TLS_LE_32 against `__libc_tsd_CTYPE_B' at 0xf4 in section `.text' failed) Date: Mon, 15 Nov 2021 13:38:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at zx2c4 dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2021 13:38:42 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28595 Jason A. Donenfeld changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at zx2c4 dot com --- Comment #5 from Jason A. Donenfeld --- Pulling from the downstream bug report: > -march=3Dtigerlake - ERROR > -march=3Dcooperlake - ERROR > -march=3Dcascadelake - ERROR > -march=3Dcannonlake - ERROR > -march=3Dskylake-avx512 - ERROR > -march=3Dskylake - OK And from my own failure, I noticed that this is hit during the -m32 build. I don't know whether that's a relevant detail, but it is a detail: x86_64-pc-linux-gnu-gcc -m32 -march=3Dnative -pipe -O2 -Wl,-O1 -Wl,--as-nee= ded -nostdlib -nostartfiles -static -o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/ldconfig -Wl,-O1 -Wl,--as-needed=20 /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/csu/crt1.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/csu/crti.o `x86_64-pc-linux-gnu-gcc -m32 -march=3Dnative -pipe -O2 -Wl,-O1 -Wl,--as-ne= eded=20 --print-file-name=3DcrtbeginT.o` /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/ldconfig.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/cache.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/readlib.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/xmalloc.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/xstrdup.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/chroot_canon.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/static-stubs.o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/elf/stringtable.o -Wl,-z,now -Wl,--start-group /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/libc.a -lgcc -Wl,--end-group `x86_64-pc-linux-gnu-gcc -m32 -march=3Dnative -pipe = -O2 -Wl,-O1 -Wl,--as-needed --print-file-name=3Dcrtend.o` /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/csu/crtn.o make[4]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.34-r2/work/glibc-2.34/nptl' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin= /ld: /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/libc.a(inet_addr.o): TLS transition from R_386_TLS_GOTIE to R_386_TLS_LE_32 against `__libc_tsd_CTYPE_B' at 0xf4 in section `.text' failed /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin= /ld: final link failed: bad value collect2: error: ld returned 1 exit status --=20 You are receiving this mail because: You are on the CC list for the bug.=