All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: Mark Hatle <mark.hatle@windriver.com>,
	openembedded-core@lists.openembedded.org,
	Khem Raj <raj.khem@gmail.com>
Subject: Re: [PATCH] rpm: update to 4.14.0
Date: Mon, 6 Nov 2017 18:00:50 +0200	[thread overview]
Message-ID: <d4391631-e05e-bae9-363e-6d9fb7f3e3b6@linux.intel.com> (raw)
In-Reply-To: <634edf6c-23d9-1dbf-6c51-caef2f30c06f@windriver.com>

On 11/03/2017 07:58 PM, Mark Hatle wrote:
>> Unfortunately, this also breaks grub and grub-efi:
>>
>> x86_64-poky-linux-musl-objcopy:
>> /home/ak/development/poky/build-64/tmp/work/core2-64-poky-linux-musl/grub-efi/2.02-r0/package/usr/lib/grub/x86_64-efi/lvm.module(.debug_aranges):
>> relocation 1 has invalid symbol index 2053731167
>> x86_64-poky-linux-musl-objcopy:
>> /home/ak/development/poky/build-64/tmp/work/core2-64-poky-linux-musl/grub-efi/2.02-r0/package/usr/lib/grub/x86_64-efi/lvm.module:
>> invalid relocation type 69
>> x86_64-poky-linux-musl-objcopy: BFD (GNU Binutils) 2.29.0.20170912
>> assertion fail ../../bfd/elf64-x86-64.c:351
>> x86_64-poky-linux-musl-objcopy:
>> /home/ak/development/poky/build-64/tmp/work/core2-64-poky-linux-musl/grub-efi/2.02-r0/package/usr/lib/grub/x86_64-efi/lvm.module(.debug_info):
>> relocation 0 has invalid symbol index 1634754402
>>
> 
> Look at debugedit.  This is the program used to adjust some of the debug references.

Thanks, this is the offending commit:

https://github.com/rpm-software-management/rpm/commit/88989572fff1f31e0c4f972a6895585e4742ef4b

Looks like they added sophisticated in-place processing/rewriting of the 
actual binary (that is not possible to switch off). And it fails in case 
of grub modules.

We, on the other hand, only need to extract the list of debug source 
code files. Any hint on how to do that without the use of rpm/debugedit? 
Perhaps something from binutils/elfutils?

Alex


  reply	other threads:[~2017-11-06 16:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18 12:14 [PATCH] rpm: update to 4.14.0 Alexander Kanavin
2017-11-03 10:14 ` Alexander Kanavin
2017-11-03 16:21   ` Khem Raj
2017-11-03 17:58   ` Mark Hatle
2017-11-06 16:00     ` Alexander Kanavin [this message]
2017-11-06 16:54       ` Mark Hatle
2017-11-07 14:53         ` Alexander Kanavin
2017-11-07 15:50           ` Otavio Salvador
2017-11-07 16:41           ` Mark Hatle
2017-11-07 21:17       ` Neal Gompa
2017-11-08 13:14         ` Alexander Kanavin
     [not found]           ` <1510153768.10879.80.camel@klomp.org>
2017-11-08 15:31             ` Mark Hatle
2017-11-09 13:19               ` Alexander Kanavin
2017-11-09 16:49               ` Alexander Kanavin
2017-12-18 16:00 Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d4391631-e05e-bae9-363e-6d9fb7f3e3b6@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.