This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New .nops directive, to aid Linux alternatives patching?


On 12/02/18 14:21, H.J. Lu wrote:
>> I've rebuilt and the resulting binary seems to be working correctly.
>> Thankyou very much for your help!
> Great.
>
>>> BTW, linker doesn't support "-r -s" on object generated by "gcc -g3".
>>> -g2 works.  I am working on a fix.
>> Is this an observation on the command line I set?  I've noticed a lot in
>> there which needs cleaning up, and will try to find some time to do so.
>>
> During build, I got:
>
> ld -melf_i386 -s -r 32bitbios.o tcgbios/tcgbiosext.o util.o pmm.o -o
> 32bitbios_all.o
> ld: BFD (GNU Binutils) 2.30.51.20180212 assertion fail
> /export/gnu/import/git/sources/binutils-gdb/bfd/elf.c:3564
> <snip>
> ld: BFD (GNU Binutils) 2.30.51.20180212 assertion fail
> /export/gnu/import/git/sources/binutils-gdb/bfd/elf.c:3564
> make[10]: *** [Makefile:27: 32bitbios_all.o] Error 1
> make[10]: Leaving directory
> '/export/ssd/git/kernel.org/xen/tools/firmware/rombios/32bit'
> make[9]: *** [Makefile:14: all] Error 2

Ah rombios.  It tends to be a frequent source of fun with changes to the
toolchain.  (To be fair, most of tools/firmware exhibits the same kind
of fun.)

Is this likely to be a recent binutils problem?  I don't recall seeing
this issue reported before, but it is entirely possible that this
combination isn't in common use.

~Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]