From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 331003857C4B; Tue, 12 Dec 2023 17:45:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 331003857C4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702403121; bh=gcBvfZ5/n4bd9xJ9nOe+rpfmfsbXdzwr/CHYRIBPYHI=; h=From:To:Subject:Date:From; b=b3ivkqtAh7QeL3L9GZWwh2bMiUDx6oTnkxmE27W+8C6rzmBbbSLesN19BSgFdaM6M SW0sACa/X9xjzMR3CTBegwGpbwcU6BRVl1UUynrCP81tpzR4tCMCHsKC1WsfPIsI3S oORCORwSGIUUfjygJ2xwVy+UdhlQZHMlT9Dm8q1A= From: "aurelien at aurel32 dot net" To: glibc-bugs@sourceware.org Subject: [Bug libc/31151] New: [riscv64] elf/tst-audit{1,2,8} failures with --enable-bind-now and recent binutils Date: Tue, 12 Dec 2023 17:45:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 dot net 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 cf_gcchost cf_gcctarget cf_gccbuild 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=3D31151 Bug ID: 31151 Summary: [riscv64] elf/tst-audit{1,2,8} failures with --enable-bind-now and recent binutils Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: aurelien at aurel32 dot net CC: drepper.fsp at gmail dot com Target Milestone: --- Host: riscv64-unknown-linux-gnu Target: riscv64-unknown-linux-gnu Build: riscv64-unknown-linux-gnu The following patch has been recently merged in binutils: 7345d05aafde53a48d5a587a6d9c1778db78e0f3 is the first bad commit commit 7345d05aafde53a48d5a587a6d9c1778db78e0f3 Author: Andreas Schwab Date: Thu Sep 21 16:49:41 2023 +0200 RISC-V: Protect .got with relro Move .got before .data so that it can be protected with -zrelro. Also separate .got.plt from .got if -znow is not in effect; the first two wo= rds of .got.plt are placed within the relro region. ld: PR ld/30877 * emulparams/elf32lriscv-defs.sh (DATA_GOT, SEPARATE_GOTPLT): Define. * emulparams/elf64lriscv-defs.sh (SEPARATE_GOTPLT): Define. * testsuite/ld-elf/binutils.exp (binutils_test): Remove riscv*-= *-* from relro_got expression. ld/emulparams/elf32lriscv-defs.sh | 4 ++++ ld/emulparams/elf64lriscv-defs.sh | 1 + ld/testsuite/ld-elf/binutils.exp | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) It causes the elf/audit1 elf/tst-audit2 elf/tst-audit8 glibc tests to fail = with a segmentation fault if configured with --enable-bind-now. It appears to be= a bug in glibc. --=20 You are receiving this mail because: You are on the CC list for the bug.=