[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error building Qemu 2.12.0 on Fedora 31 GCC 9.2.1 with the below err

From: Peter Maydell
Subject: Re: Error building Qemu 2.12.0 on Fedora 31 GCC 9.2.1 with the below error
Date: Fri, 27 Mar 2020 21:28:28 +0000

On Fri, 27 Mar 2020 at 20:49, Viktor Madarasz <address@hidden> wrote:
> Hi
> Im trying to build Qemu 2.12.0 on Fedora 31 with GCC 9.2.1 as this
> particular qemu version is the only one working for my
> qemu-systems-ppc64 emulation I need
> ./configure runs with no problem but running make breaks at this point.

If you try to build an old QEMU on a new distro like this
you're likely to run a bunch of minor build bugs that have
been fixed in mainline. You will probably need to trawl through
the git history or the mailing list archives to find the
relevant commits which fix them (searching for error messages
is often a good tactic).

You should also choose configure options to minimise the
amount of source you build that you don't need. If you
only need qemu-system-ppc64, then pass configure the
"--target-list=ppc64-softmmu" argument and it will build
only that and won't try to build the linux-user code at all.
If configure of that vintage supports --disable-tools that
is also going to be useful (and if some bit of source that
looks uninteresting fails check to see if there's a relevant
--disable-something to just stop building it.)

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]