From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4A9D7385700B; Mon, 15 Mar 2021 16:37:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A9D7385700B From: "siddhesh at sourceware dot org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/27555] Static tests fail with --enable-stack-protector=all Date: Mon, 15 Mar 2021 16:37:31 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: siddhesh at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 Mar 2021 16:37:31 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27555 Siddhesh Poyarekar changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Siddhesh Poyarekar --- Fix is in mainline. commit 941ea10f8099cb4fcc98c65249fc17a63fcff6a4 Author: Siddhesh Poyarekar Date: Mon Mar 15 20:24:45 2021 +0530 Build get-cpuid-feature-leaf.c without stack-protector [BZ #27555] __x86_get_cpuid_feature_leaf is called during early startup, before the stack check guard is initialized and is hence not safe to build with stack-protector. Additionally, IFUNC resolvers for static tst-ifunc-isa tests get called too early for stack protector to be useful, so fix them to disable stack protector for the resolver functions. This fixes all failures seen with --enable-stack-protector=3Dall configuration. Reviewed-by: Adhemerval Zanella I've also created bug 27582 because it is possible (but just a bit more wor= k to vwrite and verify than I can put in at the moment) to make this test non-fl= aky with stack-protector-all. --=20 You are receiving this mail because: You are on the CC list for the bug.=