From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26585 invoked by alias); 17 Nov 2017 16:46:53 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 26529 invoked by uid 48); 17 Nov 2017 16:46:49 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug libdw/22452] Failed to obtain CFI data for a OP_call_frame_CFA when looking for func entrypoc in an s390 kernel module Date: Fri, 17 Nov 2017 16:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libdw X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org 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: 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-SW-Source: 2017-q4/txt/msg00059.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22452 --- Comment #9 from Mark Wielaard --- (In reply to H. Brueckner from comment #8) > (In reply to Mark Wielaard from comment #5) > > (In reply to Mark Wielaard from comment #4) > > > So, if you could provide the output of eu-readelf --relocs paes_s390.= ko (on > > > your combined paes_s390.ko containing both code and debug) that would= be > > > helpful. > >=20 > > eu-readelf --debug-dump=3Dframes --relocs paes_s390.ko > >=20 > > would be even better. >=20 > Just attached the output; also the output of the binutils readelf command > for comparision. I guess that there are some more issues because lots of > invalid relocations are listed. Is that eu-readelf from a distro install? Then there is something wrong with that install. If it is a build from source then make sure LD_LIBRARY_PATH contains the backends directory that has libebl_s390.so. Otherwise eu-reade= lf won't know about machine specific ELF/DWARF mappings (like the relocation types/names). But the output does confirm what I feared. The R_390_PC32 .rela.eh_frame relocations are not "simple". They are load based. It might not be too hard to add support for those. But if there is any possibility to generate .debug_frame based CFI for the s390x kernel modules that would IMHO a much better/simpler solution because it makes things more= in line with other arches. It should also make the kernel modules smaller. Does anything actually use the loaded .eh_frame CFI on s390x? --=20 You are receiving this mail because: You are on the CC list for the bug.