From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6CA5385802E; Mon, 3 Oct 2022 15:40:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6CA5385802E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664811606; bh=2ZTKIbqhBHkwdpxuxe16rjlsPhAhw9rJoqTMZidTHk4=; h=From:To:Subject:Date:From; b=HQTBBJPZQ0StzHkNBJ9+YC6OtJjPEIe4crYYj9YJRKtNInSlrDfiURCwTFL3JIfAz 4rUF4PC6xMfWYQ71iTs25nbXeJ68rQapK5UBtQU8vFBcgMEwQPbmcss93gQ74V2GVX LoTKpV4A+GD1VUEU2q+m4aBvH8Y53dzVlRxBZfFI= From: "wdijkstr at arm dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/29648] New: Static-pie builds contain many redundant GOT references Date: Mon, 03 Oct 2022 15:40:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.35 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wdijkstr at arm 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: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: 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=3D29648 Bug ID: 29648 Summary: Static-pie builds contain many redundant GOT references Product: glibc Version: 2.35 Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: wdijkstr at arm dot com CC: carlos at redhat dot com Target Milestone: --- The static-pie changes introduced ~1200 unnecessary GOT references in the lib/*.a files. Even --disable-default-pie results in ~288 GOT references. G= LIBC 2.34 and earlier contain zero GOT accesses as expected. One issue is that "hidden" attributes are ignored with static-pie, which results in codequality of the static-pie build being worse than fPIC... --=20 You are receiving this mail because: You are on the CC list for the bug.=