From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD8683857C5E; Tue, 16 Nov 2021 11:56:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD8683857C5E 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: Tue, 16 Nov 2021 11:56:10 +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: security- X-Bugzilla-Changed-Fields: 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: Tue, 16 Nov 2021 11:56:10 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28595 --- Comment #13 from Jason A. Donenfeld --- The GCC-bug side of things seems to be a bad optimization caused by weird register allocator performance. That's being tracked here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103252 The .o that gcc creates for both the avx512 case and the non-avx512 case bo= th have the same relocation type: 000000f0 R_386_TLS_GOTIE __libc_tsd_CTYPE_B That makes me suspect that the problem isn't with gcc but is with something= in binutils -- the assembler or the linker or something called later on. Either way, I'll attach the preprocessed source and assembly as requested. --=20 You are receiving this mail because: You are on the CC list for the bug.=