From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 833DC391289D; Sun, 18 Dec 2022 00:33:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 833DC391289D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671323607; bh=omBgeJfVo71vX/PI1NhBAhylDfaH/3V5Qs2Fb/pKzUQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qGNZtpjJoq1LxansWvPWWtyaQp5XvHCGXYUNZTVaq5GYYYmKpqcPEVFvJaCA6Hl7K rZ7om5dxgcPloy7c47tP1Vq19v+QWvAhizmbMeVkIdacw3Us67osRikXlzEFFbbEXQ coZk52aJPjW1EabHdfbhYHtpQFyM+FaZC49B1xfE= From: "i at maskray dot me" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29835] Error compiling glibc multilib with --enable-static-pie option turned on Date: Sun, 18 Dec 2022 00:33:26 +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.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i at maskray dot me X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29835 Fangrui Song changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #9 from Fangrui Song --- sysdeps/arm/configure.ac doesn't say `AC_DEFINE(SUPPORT_STATIC_PIE)`, so static-pie isn't supported by the port yet. It's not correct to supply -D SUPPORT_STATIC_PIE and pretend that it is working. The reason could be in glibc or in binutils ld.bfd (i.e. the linker may need some patches to properly support static pie). Then the glibc build system m= ay need to detect whether the linker is capable of static pie. GCC not supporting static-pie has such an error: error: unrecognized option '-static-pie' --=20 You are receiving this mail because: You are on the CC list for the bug.=