From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E39FC433C1 for ; Wed, 31 Mar 2021 09:19:35 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E89086198F for ; Wed, 31 Mar 2021 09:19:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E89086198F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRX0g-0005OC-4G for qemu-devel@archiver.kernel.org; Wed, 31 Mar 2021 05:19:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRWx3-0003Sk-1w for qemu-devel@nongnu.org; Wed, 31 Mar 2021 05:15:50 -0400 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:37762) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRWwo-0004nr-6x for qemu-devel@nongnu.org; Wed, 31 Mar 2021 05:15:46 -0400 Received: by mail-ot1-x336.google.com with SMTP id t23-20020a0568301e37b02901b65ab30024so18332540otr.4 for ; Wed, 31 Mar 2021 02:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/D26C0u1s6hM6ll6DeVeqaC5slFPgJC29V0eguhwf6Q=; b=X8AJko9TQdt+yqB27GkzbogdMQS7aWcw4tzT4YNPnsGBRraiNx7YcgyfwXrsbjSsS2 aq89P9GVoC3QdBr03AUV7LjZ4fL2YOj4Ufss6nmB6QuAKNJ07rXqP4pw67ukRTksBql6 yLN7hN9SNoacb20Igbu4gh3jOaY/9oZXLd9fbCJ4ezq6oym/AT7dNgjH2xji2cY/AV/3 XcvclhDDklYmRK6O1VfZTn4eLgPxKhHBQQpSVB6dZJ53aR3h6j2GMJoscnhWQIwCHayy 8NmGbQBvL+lJTaxsk+qNOOhs9Ao1x+QxcVS9DTp9yOmDLIAzKCyqNhMUWP50+bNT8bDl dJbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/D26C0u1s6hM6ll6DeVeqaC5slFPgJC29V0eguhwf6Q=; b=hOE60fsnNwFzHhpTBgMegKlSHscwkwEC6yvJMfUq8XEVFt7q1c050li8yqqh3HZ7tL qOYQvGLeAdcVm1UaO3TFavbnThWpLNoKsrzbBUDPhrDDOyzAwir9DvdbL26ByiFL1qVe s7MnQlaSHQerbb6o5fRklH2fKPv5t6QxyHfeHSPP7WzRuN3mAcd8UfRGeZNavRFgA9Ri jphIob2H117UMd/fRYwwdAkbvtsDbqskTTxcWMK1QgBvc40NiL7Urg2Uw8+ClnOkVqjF YLAEA75+lxejmh2la/dkpr3ILl319AbpFVCCPDSeaFlm4avokugFhZsfVj/OtbpRO+c7 McTw== X-Gm-Message-State: AOAM530ssDI88LnhLzyZkK7wVAVdRXyETLLfqMExM7WtvbU0vQA1NbVH F7+0GEU3qYZLHB7w9HTIOVyYorg7xBJ0FnQidQQ= X-Google-Smtp-Source: ABdhPJwRzC/Tv3wYBv+SgCUp3ZVp++Hjsy0S14Y82RvYoWHXxkgV9D2EhcLrSt9gfwz1dORvngmOg3d/iI1oX43utr4= X-Received: by 2002:a9d:748a:: with SMTP id t10mr2006571otk.198.1617182116908; Wed, 31 Mar 2021 02:15:16 -0700 (PDT) MIME-Version: 1.0 References: <889B1827-1FEB-4AC0-9002-278337D19ED5@citrix.com> <20210330124646.jl4re5srmbzhkipm@steredhat> In-Reply-To: <20210330124646.jl4re5srmbzhkipm@steredhat> From: John Simpson Date: Wed, 31 Mar 2021 05:15:05 -0400 Message-ID: Subject: Re: An error due to installation that require binutils package To: Stefano Garzarella Content-Type: multipart/alternative; boundary="0000000000009d8fc205bed18d13" Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=ttr9droid@gmail.com; helo=mail-ot1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "gcc-help@gcc.gnu.org" , xen-devel@lists.xenproject.org, Community Manager , qemu-devel@nongnu.org, George Dunlap Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --0000000000009d8fc205bed18d13 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Got you Stefano, Appreciate for your reply. On Tue, Mar 30, 2021 at 8:46 AM Stefano Garzarella 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/bbd2d5a8120771ec59b86a80a1f= 51884e0a26e53 > > 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 > >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; s= o > >> it=E2=80=99s possible that we=E2=80=99ll end up having to raise this w= ith that > community as > >> well. > >> > >> Thanks, > >> -George Dunlap > >> > >> > On Mar 28, 2021, at 2:26 PM, John Simpson > wrote: > >> > > >> > Hello, > >> > > >> > Just forwarding this message to you. Can you give some thoughs about > >> this? Thanks a lot. > >> > > >> > > >> > ---------- Forwarded message --------- > >> > From: Alan Modra > >> > Date: Sun, Mar 28, 2021 at 2:21 PM > >> > Subject: Re: An error due to installation that require binutils > package. > >> > To: John Simpson > >> > Cc: > >> > > >> > > >> > 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 > >> > 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 > >> > Cc: John Simpson > >> > > >> > > >> > 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 =3D 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9D= A > AEC1 > >> > "And now for something completely different." > >> > > >> > > >> > > >> > ---------- Forwarded message --------- > >> > From: John Simpson > >> > Date: Sun, Mar 28, 2021 at 12:55 PM > >> > Subject: An error due to installation that require binutils package. > >> > To: > >> > > >> > > >> > 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 > >> > =3D=3D> 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. > >> > > >> > >> > > --0000000000009d8fc205bed18d13 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Got you Stefano,

Appreciate = for your reply.

On Tue, Mar 30, 2021 at 8:46 AM Stefano Garzarella <= ;sgarzare@redhat.com> wrote:<= br>
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 <= br> 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.=C2=A0 Can you post your bug report
>> xen-devel@lists.xenproject.org ?
>>
>> The bug is in the compilation of QEMU, which is an external projec= t; so
>> it=E2=80=99s possible that we=E2=80=99ll end up having to raise th= is with that community as
>> well.
>>
>> Thanks,
>>=C2=A0 -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 though= s 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 binuti= ls package.
>> > To: John Simpson <ttr9droid@gmail.com>
>> > Cc: <binutils@sourceware.org>
>> >
>> >
>> > On Sun, Mar 28, 2021 at 12:55:23PM +0300, John Simpson via Bi= nutils
>> wrote:
>> > >=C2=A0 =C2=A0BUILD=C2=A0 =C2=A0pc-bios/optionrom/kvmvapic= .img
>> > > ld: Error: unable to disambiguate: -no-pie (did you mean= --no-pie ?)
>> >
>> > -no-pie is a gcc option.=C2=A0 Neither -no-pie nor --no-pie i= s a valid ld
>> > option.=C2=A0 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 binuti= ls
>> > package.
>> > To: John Simpson via Binutils <binutils@sourceware.org>
>> > Cc: John Simpson <ttr9droid@gmail.com>
>> >
>> >
>> > Please report that to the xen project.=C2=A0 ld -no-pie doesn= 't have a useful
>> > meaning.=C2=A0 It used to mean the same as ld -n -o-pie, whic= h sets "-pie" as
>> > the output file name.
>> >
>> > Andreas.
>> >
>> > --
>> > Andreas Schwab, schwab@linux-m68k.org
>> > GPG Key fingerprint =3D 7578 EB47 D4E5 4D69 2510=C2=A0 2552 D= F73 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 p= ackage.
>> > To: <binutils@sourceware.org>
>> >
>> >
>> > Hello,
>> >
>> > Recently I got a following error due to installation xen on >> 5.11.6-1-MANJARO kernel:
>> >
>> >=C2=A0 =C2=A0GEN=C2=A0 =C2=A0 =C2=A0target/riscv/trace.c
>> >=C2=A0 =C2=A0GEN=C2=A0 =C2=A0 =C2=A0target/s390x/trace.c
>> >=C2=A0 =C2=A0GEN=C2=A0 =C2=A0 =C2=A0target/sparc/trace.c
>> >=C2=A0 =C2=A0GEN=C2=A0 =C2=A0 =C2=A0util/trace.c
>> >=C2=A0 =C2=A0GEN=C2=A0 =C2=A0 =C2=A0config-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' >> >=C2=A0 =C2=A0BUILD=C2=A0 =C2=A0pc-bios/optionrom/multiboot.img=
>> >=C2=A0 =C2=A0BUILD=C2=A0 =C2=A0pc-bios/optionrom/linuxboot.img=
>> >=C2=A0 =C2=A0BUILD=C2=A0 =C2=A0pc-bios/optionrom/linuxboot_dma= .img
>> >=C2=A0 =C2=A0BUILD=C2=A0 =C2=A0pc-bios/optionrom/kvmvapic.img<= br> >> > 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
>> >=C2=A0 =C2=A0BUILD=C2=A0 =C2=A0pc-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<= br> >> > 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
>> > =3D=3D> ERROR: A failure occurred in build().
>> >=C2=A0 =C2=A0 =C2=A0Aborting...
>> >
>> > Currently I have fresh binutils 2.36.1-2 and it seems to me t= hat 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 jus= t me.
>> >
>>
>>

--0000000000009d8fc205bed18d13--