public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* An error due to installation that require binutils package
@ 2021-03-28 13:26 John Simpson
  2021-03-29 16:06 ` George Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: John Simpson @ 2021-03-28 13:26 UTC (permalink / raw)
  To: gcc-help, community.manager

Hello,

Just forwarding this message to you. Can you give some thoughs about this?
Thanks a lot.


---------- Forwarded message ---------
From: Alan Modra <amodra@gmail.com>
Date: Sun, Mar 28, 2021 at 2:21 PM
Subject: Re: An error due to installation that require binutils package.
To: John Simpson <ttr9droid@gmail.com>
Cc: <binutils@sourceware.org>


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@linux-m68k.org>
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@sourceware.org>
Cc: John Simpson <ttr9droid@gmail.com>


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@linux-m68k.org
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@gmail.com>
Date: Sun, Mar 28, 2021 at 12:55 PM
Subject: An error due to installation that require binutils package.
To: <binutils@sourceware.org>


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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: An error due to installation that require binutils package
  2021-03-28 13:26 An error due to installation that require binutils package John Simpson
@ 2021-03-29 16:06 ` George Dunlap
  2021-03-29 18:46   ` John Simpson
  0 siblings, 1 reply; 6+ messages in thread
From: George Dunlap @ 2021-03-29 16:06 UTC (permalink / raw)
  To: John Simpson; +Cc: gcc-help, Community Manager

John,

Thanks for your report.  Can you post your bug report xen-devel@lists.xenproject.org ?

The bug is in the compilation of QEMU, which is an external project; so it’s possible that we’ll end up having to raise this with that community as well.

Thanks,
 -George Dunlap

> On Mar 28, 2021, at 2:26 PM, John Simpson <ttr9droid@gmail.com> wrote:
> 
> Hello,
> 
> Just forwarding this message to you. Can you give some thoughs about this? Thanks a lot.
> 
> 
> ---------- Forwarded message ---------
> From: Alan Modra <amodra@gmail.com>
> Date: Sun, Mar 28, 2021 at 2:21 PM
> Subject: Re: An error due to installation that require binutils package.
> To: John Simpson <ttr9droid@gmail.com>
> Cc: <binutils@sourceware.org>
> 
> 
> 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@linux-m68k.org>
> 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@sourceware.org>
> Cc: John Simpson <ttr9droid@gmail.com>
> 
> 
> 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@linux-m68k.org
> 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@gmail.com>
> Date: Sun, Mar 28, 2021 at 12:55 PM
> Subject: An error due to installation that require binutils package.
> To: <binutils@sourceware.org>
> 
> 
> 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.
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: An error due to installation that require binutils package
  2021-03-29 16:06 ` George Dunlap
@ 2021-03-29 18:46   ` John Simpson
  2021-03-29 19:41     ` Peter Maydell
  2021-03-30 12:46     ` Stefano Garzarella
  0 siblings, 2 replies; 6+ messages in thread
From: John Simpson @ 2021-03-29 18:46 UTC (permalink / raw)
  To: qemu-devel, xen-devel; +Cc: gcc-help, Community Manager, George Dunlap

Hello,

Kindly ask you to have a look at this bug.
Thank you for your replies.

On Mon, Mar 29, 2021 at 7:07 PM George Dunlap <George.Dunlap@citrix.com>
wrote:

> John,
>
> Thanks for your report.  Can you post your bug report
> xen-devel@lists.xenproject.org ?
>
> The bug is in the compilation of QEMU, which is an external project; so
> it’s possible that we’ll end up having to raise this with that community as
> well.
>
> Thanks,
>  -George Dunlap
>
> > On Mar 28, 2021, at 2:26 PM, John Simpson <ttr9droid@gmail.com> wrote:
> >
> > Hello,
> >
> > Just forwarding this message to you. Can you give some thoughs about
> this? Thanks a lot.
> >
> >
> > ---------- Forwarded message ---------
> > From: Alan Modra <amodra@gmail.com>
> > Date: Sun, Mar 28, 2021 at 2:21 PM
> > Subject: Re: An error due to installation that require binutils package.
> > To: John Simpson <ttr9droid@gmail.com>
> > Cc: <binutils@sourceware.org>
> >
> >
> > 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@linux-m68k.org>
> > 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@sourceware.org>
> > Cc: John Simpson <ttr9droid@gmail.com>
> >
> >
> > 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@linux-m68k.org
> > 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@gmail.com>
> > Date: Sun, Mar 28, 2021 at 12:55 PM
> > Subject: An error due to installation that require binutils package.
> > To: <binutils@sourceware.org>
> >
> >
> > 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.
> >
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: An error due to installation that require binutils package
  2021-03-29 18:46   ` John Simpson
@ 2021-03-29 19:41     ` Peter Maydell
  2021-03-30 12:46     ` Stefano Garzarella
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2021-03-29 19:41 UTC (permalink / raw)
  To: John Simpson
  Cc: QEMU Developers, open list:X86, gcc-help, Community Manager,
	George Dunlap

On Mon, 29 Mar 2021 at 20:20, John Simpson <ttr9droid@gmail.com> wrote:
>
> Hello,
>
> Kindly ask you to have a look at this bug.
> Thank you for your replies.

>> > 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 ?)

This is a known issue when trying to compile with newer binutils,
fixed in QEMU commit bbd2d5a8120771, which will be in 5.2.1 and 6.0.

thanks
-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: An error due to installation that require binutils package
  2021-03-29 18:46   ` John Simpson
  2021-03-29 19:41     ` Peter Maydell
@ 2021-03-30 12:46     ` Stefano Garzarella
  2021-03-31  9:15       ` John Simpson
  1 sibling, 1 reply; 6+ messages in thread
From: Stefano Garzarella @ 2021-03-30 12:46 UTC (permalink / raw)
  To: John Simpson
  Cc: qemu-devel, xen-devel, gcc-help, Community Manager, George Dunlap

Hi John,

On Mon, Mar 29, 2021 at 09:46:49PM +0300, John Simpson wrote:
>Hello,
>
>Kindly ask you to have a look at this bug.
>Thank you for your replies.

It's already fixed in QEMU upstream and the fix will be released with 
the 6.0 version next month (the rc0 is already available):
https://gitlab.com/qemu-project/qemu/-/commit/bbd2d5a8120771ec59b86a80a1f51884e0a26e53

I guess xen-4.14.1 is using an older version, so if you want you can 
backport that patch in your version, the change should be simple.

Thanks,
Stefano

>
>On Mon, Mar 29, 2021 at 7:07 PM George Dunlap <George.Dunlap@citrix.com>
>wrote:
>
>> John,
>>
>> Thanks for your report.  Can you post your bug report
>> xen-devel@lists.xenproject.org ?
>>
>> The bug is in the compilation of QEMU, which is an external project; so
>> it’s possible that we’ll end up having to raise this with that community as
>> well.
>>
>> Thanks,
>>  -George Dunlap
>>
>> > On Mar 28, 2021, at 2:26 PM, John Simpson <ttr9droid@gmail.com> wrote:
>> >
>> > Hello,
>> >
>> > Just forwarding this message to you. Can you give some thoughs about
>> this? Thanks a lot.
>> >
>> >
>> > ---------- Forwarded message ---------
>> > From: Alan Modra <amodra@gmail.com>
>> > Date: Sun, Mar 28, 2021 at 2:21 PM
>> > Subject: Re: An error due to installation that require binutils package.
>> > To: John Simpson <ttr9droid@gmail.com>
>> > Cc: <binutils@sourceware.org>
>> >
>> >
>> > 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@linux-m68k.org>
>> > 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@sourceware.org>
>> > Cc: John Simpson <ttr9droid@gmail.com>
>> >
>> >
>> > 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@linux-m68k.org
>> > 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@gmail.com>
>> > Date: Sun, Mar 28, 2021 at 12:55 PM
>> > Subject: An error due to installation that require binutils package.
>> > To: <binutils@sourceware.org>
>> >
>> >
>> > 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.
>> >
>>
>>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: An error due to installation that require binutils package
  2021-03-30 12:46     ` Stefano Garzarella
@ 2021-03-31  9:15       ` John Simpson
  0 siblings, 0 replies; 6+ messages in thread
From: John Simpson @ 2021-03-31  9:15 UTC (permalink / raw)
  To: Stefano Garzarella
  Cc: qemu-devel, xen-devel, gcc-help, Community Manager, George Dunlap

Got you Stefano,

Appreciate for your reply.

On Tue, Mar 30, 2021 at 8:46 AM Stefano Garzarella <sgarzare@redhat.com>
wrote:

> Hi John,
>
> On Mon, Mar 29, 2021 at 09:46:49PM +0300, John Simpson wrote:
> >Hello,
> >
> >Kindly ask you to have a look at this bug.
> >Thank you for your replies.
>
> It's already fixed in QEMU upstream and the fix will be released with
> the 6.0 version next month (the rc0 is already available):
>
> https://gitlab.com/qemu-project/qemu/-/commit/bbd2d5a8120771ec59b86a80a1f51884e0a26e53
>
> I guess xen-4.14.1 is using an older version, so if you want you can
> backport that patch in your version, the change should be simple.
>
> Thanks,
> Stefano
>
> >
> >On Mon, Mar 29, 2021 at 7:07 PM George Dunlap <George.Dunlap@citrix.com>
> >wrote:
> >
> >> John,
> >>
> >> Thanks for your report.  Can you post your bug report
> >> xen-devel@lists.xenproject.org ?
> >>
> >> The bug is in the compilation of QEMU, which is an external project; so
> >> it’s possible that we’ll end up having to raise this with that
> community as
> >> well.
> >>
> >> Thanks,
> >>  -George Dunlap
> >>
> >> > On Mar 28, 2021, at 2:26 PM, John Simpson <ttr9droid@gmail.com>
> wrote:
> >> >
> >> > Hello,
> >> >
> >> > Just forwarding this message to you. Can you give some thoughs about
> >> this? Thanks a lot.
> >> >
> >> >
> >> > ---------- Forwarded message ---------
> >> > From: Alan Modra <amodra@gmail.com>
> >> > Date: Sun, Mar 28, 2021 at 2:21 PM
> >> > Subject: Re: An error due to installation that require binutils
> package.
> >> > To: John Simpson <ttr9droid@gmail.com>
> >> > Cc: <binutils@sourceware.org>
> >> >
> >> >
> >> > 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@linux-m68k.org>
> >> > 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@sourceware.org>
> >> > Cc: John Simpson <ttr9droid@gmail.com>
> >> >
> >> >
> >> > 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@linux-m68k.org
> >> > 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@gmail.com>
> >> > Date: Sun, Mar 28, 2021 at 12:55 PM
> >> > Subject: An error due to installation that require binutils package.
> >> > To: <binutils@sourceware.org>
> >> >
> >> >
> >> > 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.
> >> >
> >>
> >>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-31  9:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 13:26 An error due to installation that require binutils package John Simpson
2021-03-29 16:06 ` George Dunlap
2021-03-29 18:46   ` John Simpson
2021-03-29 19:41     ` Peter Maydell
2021-03-30 12:46     ` Stefano Garzarella
2021-03-31  9:15       ` John Simpson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).