[OE-core] [PATCH] rpm: update to 4.14.0

Neal Gompa ngompa13 at gmail.com
Tue Nov 7 21:17:16 UTC 2017


On Mon, Nov 6, 2017 at 11:00 AM, Alexander Kanavin
<alexander.kanavin at linux.intel.com> wrote:
> 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?
>

This is the first time I'm hearing of this. Has anyone talked to Mark
Wielaard (CC'd to this email) about fixing this properly for you guys?



-- 
真実はいつも一つ!/ Always, there's only one truth!



More information about the Openembedded-core mailing list