From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7804C385841D; Wed, 28 Feb 2024 19:50:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7804C385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709149820; bh=leSAaq15JoHV69bRhtt9JAqVeDuTgmF0/fC8PSXl468=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jHePEvxbI8QnRDb8kOizVHZE+eFALNGfPoB4aYYJ5r/iOKa07Ha8Lmor/iXaD87t+ ILpV6phiaKOJTsteWi8ahKtQ0PTIz4J7KKp97iaUDUn0/NtruZ1AKFW92Rk0E9RbR7 dQX49bSzbCl7nxRpUT81KcjiZ3Gj5+W2SeAGiOBE= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug build/31429] Glibc failed to build with -march=x86-64-v3 Date: Wed, 28 Feb 2024 19:50:19 +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: 2.40 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31429 --- Comment #1 from Sourceware Commits --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3Dbefe2d3c4dec8be2cdd= 01a47132e47bdb7020922 commit befe2d3c4dec8be2cdd01a47132e47bdb7020922 Author: H.J. Lu Date: Wed Feb 28 09:51:14 2024 -0800 x86-64: Don't use SSE resolvers for ISA level 3 or above When glibc is built with ISA level 3 or above enabled, SSE resolvers aren't available and glibc fails to build: ld: .../elf/librtld.os: in function `init_cpu_features': .../elf/../sysdeps/x86/cpu-features.c:1200:(.text+0x1445f): undefined reference to `_dl_runtime_resolve_fxsave' ld: .../elf/librtld.os: relocation R_X86_64_PC32 against undefined hidd= en symbol `_dl_runtime_resolve_fxsave' can not be used when making a shared ob= ject /usr/local/bin/ld: final link failed: bad value For ISA level 3 or above, don't use _dl_runtime_resolve_fxsave nor _dl_tlsdesc_dynamic_fxsave. This fixes BZ #31429. Reviewed-by: Noah Goldstein --=20 You are receiving this mail because: You are on the CC list for the bug.=