From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CFF74384514B; Thu, 25 Apr 2024 11:18:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFF74384514B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1714043901; bh=BVSrTOXmq3L6oKKKGDYDsuhM5/Ac85EzpXV6Kn72LkY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DSQhq8ujmGwrB7yU9crawYQc6nWpoGJDHPWLGJ5T+yKbfBYd90pj/s2SpHcvviByV y2XpN3oaJfDD/rl2NRejRJBfbxsAGfMBdSVxg41BUVqxebn9Ol8TvWo+x6oMaBVodQ /IUlD5HH7y8Y5e8lYGvqXCniYJk0vQCZdnE3A4kE= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/31676] Configuring with CC="gcc -march=x86-64-v3" --with-rtld-early-cflags=-march=x86-64 results in linker failure Date: Thu, 25 Apr 2024 11:18:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31676 --- Comment #6 from Sourceware Commits --- The release/2.39/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D2f8f157eb0cc7f1d8d9= a3fcaa8c55bed53b092a8 commit 2f8f157eb0cc7f1d8d9a3fcaa8c55bed53b092a8 Author: H.J. Lu Date: Tue Apr 23 13:59:50 2024 -0700 x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676] Define MINIMUM_X86_ISA_LEVEL at configure time to avoid /usr/bin/ld: =C3=A2=C2=A6/build/elf/librtld.os: in function `init_cpu_f= eatures': =C3=A2=C2=A6/git/elf/../sysdeps/x86/cpu-features.c:1202: undefined refe= rence to `_dl_runtime_resolve_fxsave' /usr/bin/ld: =C3=A2=C2=A6/build/elf/librtld.os: relocation R_X86_64_PC3= 2 against undefined hidden symbol `_dl_runtime_resolve_fxsave' can not be used when making a shared object /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status when glibc is built with -march=3Dx86-64-v3 and configured with --with-rtld-early-cflags=3D-march=3Dx86-64, which is used to allow ld.s= o to print an error message on unsupported CPUs: Fatal glibc error: CPU does not support x86-64-v3 This fixes BZ #31676. Reviewed-by: Sunil K Pandey (cherry picked from commit 46c999741340ea559784c20a45077955b50aca43) --=20 You are receiving this mail because: You are on the CC list for the bug.=