[build][git]Build process stops while linking qemu-aarch64_be in util/async.c:426

Host environment

  • Operating system: Archlinux

  • OS/kernel version: Linux fredo-arch-gnome 5.13.1-arch1-1 #1 SMP PREEMPT Fri, 09 Jul 2021 23:42:24 +0000 x86_64 GNU/Linux

  • Architecture: x86_64

Description of problem

Looks like this is a followup of bug #463 (closed). Even if this bug is fixed, build process breaks later.

This time, build process is stop while processing linking qemu-aarch64_be, really late at step 6492/9511.

Error log start with:

[6492/9511] Linking target qemu-aarch64_be
FAILED: qemu-aarch64_be 

And later I can read:

/usr/bin/ld: libqemuutil.a(util_async.c.o): in function `aio_setup_linux_io_uring':
/build/qemu-git/src/qemu/build-full/../util/async.c:421: undefined reference to `luring_init'
/usr/bin/ld: /build/qemu-git/src/qemu/build-full/../util/async.c:426: undefined reference to `luring_attach_aio_context'
/usr/bin/ld: libqemuutil.a(util_async.c.o): in function `aio_ctx_finalize':
/build/qemu-git/src/qemu/build-full/../util/async.c:334: undefined reference to `luring_detach_aio_context'
/usr/bin/ld: /build/qemu-git/src/qemu/build-full/../util/async.c:335: undefined reference to `luring_cleanup'
collect2: error: ld returned 1 exit status

Steps to reproduce

  1. Grab source code at commit bd38ae26
  2. use these configure options: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/qemu --smbd=/usr/bin/smbd --enable-modules --enable-sdl --disable-werror --enable-vhost-user --enable-slirp=system --enable-xfsctl --audio-drv-list="pa alsa sdl"
  3. Launch build process.

Additional information

Adding building process log.qemu-git-13_6.0.0.r2577.gbd38ae26ce-1-x86_64-build.log

Edited by Frederic Bezies
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information