From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 06A7C3858010; Tue, 19 Oct 2021 16:51:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06A7C3858010 From: "i at maskray dot me" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/27924] ld.so: Support DT_RELR relative relocation format Date: Tue, 19 Oct 2021 16:51:21 +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: i at maskray dot me X-Bugzilla-Status: WAITING 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 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: Tue, 19 Oct 2021 16:51:22 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27924 --- Comment #10 from Fangrui Song --- in-reply-to: https://bugzilla.redhat.com/show_bug.cgi?id=3D2014699#c1 > * [v2] elf: Support DT_RELR relative relocation format [BZ #27924] > * Need official gABI assignment (Carry Coutant status?) > * Needs to be reserved verbally by Carry (Action item) > * Required for patch acceptance. s/Carry/Cary. https://groups.google.com/g/generic-abi/c/bX460iggiKg/m/6psrcLHLAgAJ (2018-= 02) https://sourceware.org/bugzilla/show_bug.cgi?id=3D27924#c7 (2021-06) and https://sourceware.org/pipermail/libc-alpha/2021-October/131781.html are verbal by Cary. > * Need BFD port or a released llvm/lld that supports DT_RELR to review pa= tches. > * Minimally a 32-bit and 64-bit port that can build glibc and passes reg= ression testing. > * Required for patch review. LLD since 7.0.0 supports --pack-dyn-relocs=3Drelr. Both arm and aarch64 ports have users. ld.lld --pack-dyn-relocs=3Drelr produces working executables on Fuchsia, Li= nux kernel's arm64 port, FreeBSD-CURRENT, ChromeOS's (patched glibc) today. Just that the produced executable segfaults on glibc due to lack of support. > * Official glibc relese with feature? > * Need BFD port to support build-many-glibcs to provide testing confiden= ce. > * HJ: Would like to see a BFD port before a glibc release with the featur= es. > * Sufficient to have a released binutils with DT_RELR also. Wish that a GNU ld maintainer can work on this... > * Release date of released static linkers with support should be close to= glibc release with feature. > * When glibc is released users can pick a static linker to test with (bi= nutils or lld). LLD since 7.0.0 supports --pack-dyn-relocs=3Drelr, so the release date (201= 8) cannot be close to the glibc version now... Even in the absence of GNU ld support, with DT_RELR support, users can use ld.lld --pack-dyn-relocs=3Drelr today. --=20 You are receiving this mail because: You are on the CC list for the bug.=