From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58040 invoked by alias); 24 Nov 2018 00:54:25 -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 57336 invoked by uid 48); 24 Nov 2018 00:54:20 -0000 From: "slyfox at inbox dot ru" To: elfutils-devel@sourceware.org Subject: [Bug libelf/23916] [bisected] elifutils-0.175 broke kernel's objtool (elifutils-0.173 works) Date: Sat, 24 Nov 2018 00:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libelf X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at inbox dot ru 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: 2018-q4/txt/msg00183.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23916 --- Comment #1 from Sergei Trofimovich --- objtool is a part of linux kernel: =20=20=20 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/too= ls/objtool Attached b.tar.gz contains: - objtool binary - object files before and after mangling with objtool Note the .debug_info offset and alignment change: $ readelf -a rapl.o.back > pre $ readelf -a rapl.o > post $ diff -U 0 pre post - [ 4] .debug_info PROGBITS 0000000000000000 00000047 - 000000000000003c 0000000000000000 C 0 0 1 + [ 4] .debug_info PROGBITS 0000000000000000 00000048 + 000000000000003c 0000000000000000 C 0 0 8 My wild guess is that section's start is not adjusted correctly. --=20 You are receiving this mail because: You are on the CC list for the bug.