Hello, Just forwarding this message to you. Can you give some thoughs about this? Thanks a lot. ---------- Forwarded message --------- From: Alan Modra <amodra@xxxxxxxxx> Date: Sun, Mar 28, 2021 at 2:21 PM Subject: Re: An error due to installation that require binutils package. To: John Simpson <ttr9droid@xxxxxxxxx> Cc: <binutils@xxxxxxxxxxxxxx> On Sun, Mar 28, 2021 at 12:55:23PM +0300, John Simpson via Binutils wrote: > BUILD pc-bios/optionrom/kvmvapic.img > ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?) -no-pie is a gcc option. Neither -no-pie nor --no-pie is a valid ld option. The fault lies with whatever passed -no-pie to ld. -- Alan Modra Australia Development Lab, IBM ---------- Forwarded message --------- From: Andreas Schwab <schwab@xxxxxxxxxxxxxx> Date: Sun, Mar 28, 2021 at 2:17 PM Subject: Re: An error due to installation that require binutils package. To: John Simpson via Binutils <binutils@xxxxxxxxxxxxxx> Cc: John Simpson <ttr9droid@xxxxxxxxx> Please report that to the xen project. ld -no-pie doesn't have a useful meaning. It used to mean the same as ld -n -o-pie, which sets "-pie" as the output file name. Andreas. -- Andreas Schwab, schwab@xxxxxxxxxxxxxx GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." ---------- Forwarded message --------- From: John Simpson <ttr9droid@xxxxxxxxx> Date: Sun, Mar 28, 2021 at 12:55 PM Subject: An error due to installation that require binutils package. To: <binutils@xxxxxxxxxxxxxx> 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.