Issues building QEMU on Ubuntu

Ryan Long ryan.long at oarcorp.com
Wed May 25 17:34:09 UTC 2022


On 5/24/2022 5:32 PM, Chris Johns wrote:
> On 25/5/2022 12:47 am, Ryan Long wrote:
>> When building QEMU it goes through the entire build and it looks like it passes,
>> but it is failing. The only error that Joel and I saw in the output was this
>>
>> Found ninja-1.10.1 at /usr/bin/ninja
>> +
>> LD_LIBRARY_PATH=/home/tester/rtems-cron-6/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu/home/tester/rtems-cron-6/tools/6/lib
>> make -j 8 all
>> /usr/bin/ninja  build.ninja && touch build.ninja.stamp
>> ninja: no work to do.
>> /usr/bin/python3 -B
>> /home/tester/rtems-cron-6/rtems-source-builder/bare/build/qemu-5.2.0-rc1-x86_64-linux-gnu-1/qemu-5.2.0-rc1/meson/meson.py
>> introspect --targets --tests --benchmarks | /usr/bin/python3 -B
>> scripts/mtest2make.py > Makefile.mtest
>>    BUILD   multiboot.img
>>    BUILD   linuxboot.img
>>    BUILD   linuxboot_dma.img
>>    BUILD   kvmvapic.img
>> ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
>> ld: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
>>
>> Unless someone has any objections, I'm going to try the 5.2.0 release, and if
>> that doesn't work, I'm going to try bumping it to 6.2.0.
> Which hosts are you testing builds on?

We have

- Ubuntu 21.04

- FreeBSD 12.2 and 13

     - QEMU doesn't build on either of these for me either

- CentOS 7

- CentOS Stream 8

- macOS (Big Sur)

     - I don't think QEMU built on here, but I can't get into the VM at 
the moment

>
> My experience in the past has been all problems have related to support for
> non-Linux hosts.
>
> Chris


More information about the devel mailing list