qemu-devel
[Top][All Lists]
Advanced

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

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


From: Thomas Huth
Subject: Re: [Bug 1907427] [NEW] Build on sparc64 fails with "undefined reference to `fdt_check_full'"
Date: Thu, 10 Dec 2020 09:00:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

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?

 Thomas




reply via email to

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