All of lore.kernel.org
 help / color / mirror / Atom feed
* QEMU backport necessary for building with "recent" toolchain (on openSUSE Tumbleweed)
@ 2021-05-18 15:24 Dario Faggioli
  2021-05-20 13:55 ` Anthony PERARD
  0 siblings, 1 reply; 3+ messages in thread
From: Dario Faggioli @ 2021-05-18 15:24 UTC (permalink / raw)
  To: xen-devel; +Cc: Anthony Perard, Ian Jackson, Wei Liu, Roger Pau Monne

[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]

Hello,

While trying to build Xen on openSUSE Tumbleweed, I run into this
error, when qemu-xen is being built:

ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
make[1]: *** [Makefile:53: multiboot.img] Error 1
make: *** [Makefile:576: pc-bios/optionrom/all] Error 2
make: Leaving directory '/build/tools/qemu-xen-build'
make[3]: *** [Makefile:212: subdir-all-qemu-xen-dir] Error 2
make[3]: Leaving directory '/build/tools'
make[2]: *** [/build/tools/../tools/Rules.mk:156: subdirs-install] Error 2
make[2]: Leaving directory '/build/tools'
make[1]: *** [Makefile:66: install] Error 2
make[1]: Leaving directory '/build/tools'
make: *** [Makefile:140: install-tools] Error 2

Build tools versions are as follows:

dario@885e566747e1:~> gcc -v
gcc version 10.3.0 (SUSE Linux) 

dario@885e566747e1:~> ld -v
GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.36.1.20210326-3

I think we need the following commit in our QEMU: bbd2d5a812077
("build: -no-pie is no functional linker flag").

I have attempted a quick-&-dirty backport of it here:
https://xenbits.xen.org/gitweb/?p=people/dariof/qemu-xen.git;a=commit;h=85575b7b661cedb8e6f6e192d36199ca9fde5841

Feel free to use it as a base, or tell me if I can help more with it in
any other way with it.

Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: QEMU backport necessary for building with "recent" toolchain (on openSUSE Tumbleweed)
  2021-05-18 15:24 QEMU backport necessary for building with "recent" toolchain (on openSUSE Tumbleweed) Dario Faggioli
@ 2021-05-20 13:55 ` Anthony PERARD
  2021-05-21  5:26   ` Dario Faggioli
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony PERARD @ 2021-05-20 13:55 UTC (permalink / raw)
  To: Dario Faggioli; +Cc: xen-devel, Ian Jackson, Wei Liu, Roger Pau Monne

On Tue, May 18, 2021 at 05:24:30PM +0200, Dario Faggioli wrote:
> Hello,
> 
> I think we need the following commit in our QEMU: bbd2d5a812077
> ("build: -no-pie is no functional linker flag").

Hi Dario,

I'm hoping to update qemu-xen to a newer version of QEMU (6.0) which
would have the fix, but that's need a fix of libxl,
    "Fix libxl with QEMU 6.0 + remove some more deprecated usages."
So I would prefer to avoid adding more to the current branch.

The branch stable-4.15 already have the fix if you need, in the mean
time.

Thanks,

-- 
Anthony PERARD


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

* Re: QEMU backport necessary for building with "recent" toolchain (on openSUSE Tumbleweed)
  2021-05-20 13:55 ` Anthony PERARD
@ 2021-05-21  5:26   ` Dario Faggioli
  0 siblings, 0 replies; 3+ messages in thread
From: Dario Faggioli @ 2021-05-21  5:26 UTC (permalink / raw)
  To: Anthony PERARD; +Cc: xen-devel, Ian Jackson, Wei Liu, Roger Pau Monne

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

On Thu, 2021-05-20 at 14:55 +0100, Anthony PERARD wrote:
> On Tue, May 18, 2021 at 05:24:30PM +0200, Dario Faggioli wrote:
> > 
> > I think we need the following commit in our QEMU: bbd2d5a812077
> > ("build: -no-pie is no functional linker flag").
> 
> Hi Dario,
> 
Hi,

> I'm hoping to update qemu-xen to a newer version of QEMU (6.0) which
> would have the fix, but that's need a fix of libxl,
>     "Fix libxl with QEMU 6.0 + remove some more deprecated usages."
> So I would prefer to avoid adding more to the current branch.
> 
Sure, makes sense.

I wanted to bring it up, in case it hadn't been noticed yet. If it has
been noticed and there's a plan then we're good, I guess.

> The branch stable-4.15 already have the fix if you need, in the mean
> time.
> 
Ok, thanks!

Regards
-- 
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2021-05-21  5:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 15:24 QEMU backport necessary for building with "recent" toolchain (on openSUSE Tumbleweed) Dario Faggioli
2021-05-20 13:55 ` Anthony PERARD
2021-05-21  5:26   ` Dario Faggioli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.