[Qemu-devel] [PATCH 0/4] build: fix failure when host provides too old libfdt

Philippe Mathieu-Daudé posted 4 patches 23 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180415230522.24404-1-f4bug@amsat.org
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test s390x passed
configure      | 15 +++++++++------
Makefile       |  2 +-
rules.mak      |  2 +-
.shippable.yml |  8 --------
4 files changed, 11 insertions(+), 16 deletions(-)

[Qemu-devel] [PATCH 0/4] build: fix failure when host provides too old libfdt

Posted by Philippe Mathieu-Daudé 23 weeks ago
Hi, I already hit this problem on Shippable and tried to resolve it for 2.10;
and shamefully hit it again yesterday on a Debian 8 host with distrib libfdt
installed. I wondered how to fix this without root access and realized my
previous Shippable kludge wasn't the best fix :)

Here we go adding the QEMU_LDFLAGS to enforce local libfdt in library path
before the system one.
This time it looks like the correct fix, also scalable for other libraries.

It would be great to have QEMU 2.12 buildable in Debian<9, but nobody
complained since 2.10 so this can wait 2.13 (this is not a regression neither).

Regards,

Phil.

Jan Kiszka (1):
  build: Silence dtc directory creation

Philippe Mathieu-Daudé (3):
  configure: Really use local libfdt if the system one is too old
  configure: Display if libfdt is from system or git
  shippable: Remove Debian 8 libfdt kludge

 configure      | 15 +++++++++------
 Makefile       |  2 +-
 rules.mak      |  2 +-
 .shippable.yml |  8 --------
 4 files changed, 11 insertions(+), 16 deletions(-)

-- 
2.17.0


Re: [Qemu-devel] [PATCH 0/4] build: fix failure when host provides too old libfdt

Posted by Paolo Bonzini 20 weeks ago
On 16/04/2018 01:05, Philippe Mathieu-Daudé wrote:
> Hi, I already hit this problem on Shippable and tried to resolve it for 2.10;
> and shamefully hit it again yesterday on a Debian 8 host with distrib libfdt
> installed. I wondered how to fix this without root access and realized my
> previous Shippable kludge wasn't the best fix :)
> 
> Here we go adding the QEMU_LDFLAGS to enforce local libfdt in library path
> before the system one.
> This time it looks like the correct fix, also scalable for other libraries.
> 
> It would be great to have QEMU 2.12 buildable in Debian<9, but nobody
> complained since 2.10 so this can wait 2.13 (this is not a regression neither).
> 
> Regards,
> 
> Phil.
> 
> Jan Kiszka (1):
>   build: Silence dtc directory creation
> 
> Philippe Mathieu-Daudé (3):
>   configure: Really use local libfdt if the system one is too old
>   configure: Display if libfdt is from system or git
>   shippable: Remove Debian 8 libfdt kludge
> 
>  configure      | 15 +++++++++------
>  Makefile       |  2 +-
>  rules.mak      |  2 +-
>  .shippable.yml |  8 --------
>  4 files changed, 11 insertions(+), 16 deletions(-)
> 

Queued all four, thanks!

Paolo