An error due to installation that require binutils package.

John Simpson ttr9droid@gmail.com
Sun Mar 28 09:55:23 GMT 2021


Hello,

Recently I got a following error due to installation xen on
5.11.6-1-MANJARO kernel:

  GEN     target/riscv/trace.c
  GEN     target/s390x/trace.c
  GEN     target/sparc/trace.c
  GEN     util/trace.c
  GEN     config-all-devices.mak
make[1]: Entering directory
'/home/username/xen/src/xen-4.14.1/tools/qemu-xen/slirp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory
'/home/username/xen/src/xen-4.14.1/tools/qemu-xen/slirp'
  BUILD   pc-bios/optionrom/multiboot.img
  BUILD   pc-bios/optionrom/linuxboot.img
  BUILD   pc-bios/optionrom/linuxboot_dma.img
  BUILD   pc-bios/optionrom/kvmvapic.img
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:53: multiboot.img] Error 1
make[1]: *** Waiting for unfinished jobs....
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:53: linuxboot_dma.img] Error 1
  BUILD   pc-bios/optionrom/pvh.img
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:53: linuxboot.img] Error 1
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:53: kvmvapic.img] Error 1
ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:50: pvh.img] Error 1
make: *** [Makefile:581: pc-bios/optionrom/all] Error 2
make: Leaving directory
'/home/username/xen/src/xen-4.14.1/tools/qemu-xen-build'
make[3]: *** [Makefile:218: subdir-all-qemu-xen-dir] Error 2
make[3]: Leaving directory '/home/username/xen/src/xen-4.14.1/tools'
make[2]: ***
[/home/username/xen/src/xen-4.14.1/tools/../tools/Rules.mk:235:
subdirs-install] Error 2
make[2]: Leaving directory '/home/username/xen/src/xen-4.14.1/tools'
make[1]: *** [Makefile:72: install] Error 2
make[1]: Leaving directory '/home/username/xen/src/xen-4.14.1/tools'
make: *** [Makefile:134: install-tools] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Currently I have fresh binutils 2.36.1-2 and it seems to me that the issue
is related to this part of code:

https://github.com/bminor/binutils-gdb/blob/master/ld/lexsup.c#L451

It seems to me that this could impact far more users than just me.


More information about the Binutils mailing list