[Top][All Lists]

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

Re: [Bug 1907427] [NEW] Build on sparc64 fails with "undefined reference

From: David Gibson
Subject: Re: [Bug 1907427] [NEW] Build on sparc64 fails with "undefined reference to `fdt_check_full'"
Date: Fri, 11 Dec 2020 12:08:49 +1100

On Thu, Dec 10, 2020 at 09:00:41AM +0100, Thomas Huth wrote:
> On 09/12/2020 10.13, John Paul Adrian Glaubitz wrote:
> > Public bug reported:
> > 
> > Trying to build QEMU on sparc64 fails with:
> [...]
> > /usr/bin/ld: libqemu-ppc64-softmmu.fa.p/hw_ppc_spapr_hcall.c.o: in function 
> > `h_update_dt':
> > ./b/qemu/../../hw/ppc/spapr_hcall.c:1966: undefined reference to 
> > `fdt_check_full'
> > collect2: error: ld returned 1 exit status
> > 
> > Full build log available at:
> > https://buildd.debian.org/status/fetch.php?pkg=qemu&arch=sparc64&ver=1%3A5.2%2Bdfsg-1&stamp=1607502300&raw=0
> Looking at the build log, it seems like your system libfdt is version 1.4.6.
> However, that fdt_check_full function is only properly available with
> version >= 1.5.1, if I get that right.
> As a workaround, you could try to run the configure script with
> --enable-fdt=git (or of course update your system version to 1.5.1 if
> somehow possible).
> But anyway, this also means that the check in the QEMU build system is
> likely wrong. But it's weird, I can see that we explicitely test for
> fdt_check_full() in the meson.build script, so no clue what's going wrong
> here. David, do you have an idea?

No, that's rather odd.  More of a meson question than it is an fdt
question, I think.

David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!

Attachment: signature.asc
Description: PGP signature

reply via email to

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