From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57607 invoked by alias); 14 Mar 2019 16:15:38 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 57497 invoked by uid 48); 14 Mar 2019 16:15:35 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/24344] New: [dwz] Support relocatable elf Date: Tue, 01 Jan 2019 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody 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 X-SW-Source: 2019-q1/txt/msg00120.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24344 Bug ID: 24344 Summary: [dwz] Support relocatable elf Product: dwz Version: unspecified Status: NEW Severity: enhancement Priority: P2 Component: default Assignee: nobody at sourceware dot org Reporter: vries at gcc dot gnu.org CC: dwz at sourceware dot org Target Milestone: --- When building openSUSE:Factory/kernel-vanilla I get lots of "is not a shared library" errors, like f.i.: ... [ 3916s] dwz: "./lib/modules/4.20.13-0-vanilla/kernel/sound/usb/6fire/snd-usb-6fire.ko.de= bug" is not a shared library ... This is a file with debug info for a loadable module, which is an ELF relocatable: ... $ file ./usr/lib/debug/lib/modules/4.20.13-0-vanilla/kernel/sound/usb/6fire/snd-us= b-6fire.ko.debug ./usr/lib/debug/lib/modules/4.20.13-0-vanilla/kernel/sound/usb/6fire/snd-us= b-6fire.ko.debug: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=3D5f01e04c17fe8b2f9941b0981ff89ebbe3eb308e, with debug_info, = not stripped ... Dwz doesn't support relocatables atm. To do so, it would have to add suppor= t to parse and update RELA section related to debug sections. Not sure if this feature would be useful for anything else than loadable modules. --=20 You are receiving this mail because: You are on the CC list for the bug.