From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 88E5F3858D39; Thu, 18 Apr 2024 08:35:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88E5F3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713429351; bh=kxgWdPmDtWIiIzXaVZ+0ZSZJE6bT7TLly+6dSDHacRA=; h=From:To:Subject:Date:From; b=A/YhOV7WZ5LVXjpnu4JbQz0nftJBiYaeoe5rFEAnykD9xyIF70gHp6L2imfSSSctb 20J4Z/jU5VsVq739HAp4O8hT557i4h0FXBewj1EBTNaijsESyIu4HJant39ZPG7qRG PrPyNNcVR79ZwscOPny8+RV6F39oEvOIHffIuHlk= From: "akyragvtdizi at gmail dot com" To: debugedit@sourceware.org Subject: [Bug debugedit/31653] New: RISC-V: readelf fails to apply R_RISCV_SET/SUB_ULEB128 relocations: [debugedit 5.0] testsuite: 10 11 19 23 failed Date: Thu, 18 Apr 2024 08:35:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akyragvtdizi at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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 attachments.created 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=3D31653 Bug ID: 31653 Summary: RISC-V: readelf fails to apply R_RISCV_SET/SUB_ULEB128 relocations: [debugedit 5.0] testsuite: 10 11 19 23 failed Product: debugedit Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: debugedit Assignee: unassigned at sourceware dot org Reporter: akyragvtdizi at gmail dot com CC: debugedit at sourceware dot org Target Milestone: --- Created attachment 15471 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15471&action=3Ded= it testsuite log While building debugedit-5.0 in a RISC-V nspawn environment, I encountered = test failures during the make check phase. Specifically, tests 10, 11, 19, and 23 failed due to unsupported relocation types as indicated by readelf warnings= in the logs. The exact messages are: readelf: Warning: unable to apply unsupported reloc type 60 to section .debug_loclists readelf: Warning: unable to apply unsupported reloc type 61 to section .debug_loclists These warnings relate to relocation types 60 and 61, which correspond to R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128, respectively. I am currently u= sing binutils version 2.42, and upon reviewing the readelf source code, it appea= rs that readelf may not yet support these RISC-V specific relocation types. Given this issue, I propose temporarily skipping the affected tests (10, 11, 19, 23) for the RISC-V architecture to allow for successful test completions while a solution is being developed. --=20 You are receiving this mail because: You are on the CC list for the bug.=