Usermode qemu-m68k futex crash while running "cmake -E cmake_autogen"
Using qemu-user with a Debian/m68k unstable chroot a crash occurs when running "cmake -E cmake_autogen":
(sid-m68k-sbuild)root@nofan:/build/antimony-gMjFjo/antimony-0.9.3/obj-m68k-linux-gnu/app# cd /build/antimony-gMjFjo/antimony-0.9.3/obj-m68k-linux-gnu/app && /usr/bin/cmake -E cmake_autogen /build/antimony-gMjFjo/antimony-0.9.3/obj-m68k-linux-gnu/app/CMakeFiles/antimony_autogen.dir/AutogenInfo.json RELEASE
The futex facility returned an unexpected error code.
The futex facility returned an unexpected error code.
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
To reproduce, download https://people.debian.org/~glaubitz/antimony-m68k.tgz and extract into /build directory inside a Debian/m68k unstable chroot. Change into chroot using qemu-user and install antimony build dependencies with apt build-dep --arch-only antimony
.
Then run:
root@nofan:..mount/sid-m68k-sbuild-a2e033e1-0e25-4a47-b890-28d2a235e22c> chroot .
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
c(sid-m68k-sbuild)root@nofan:/# cd build/
(sid-m68k-sbuild)root@nofan:/build# cd antimony-gMjFjo/
(sid-m68k-sbuild)root@nofan:/build/antimony-gMjFjo# ls
antimony-0.9.3 antimony_0.9.3-2.debian.tar.xz antimony_0.9.3-2.dsc antimony_0.9.3.orig.tar.gz
(sid-m68k-sbuild)root@nofan:/build/antimony-gMjFjo# cd antimony-0.9.3/
(sid-m68k-sbuild)root@nofan:/build/antimony-gMjFjo/antimony-0.9.3# cd /build/antimony-gMjFjo/antimony-0.9.3/obj-m68k-linux-gnu/app && /usr/bin/cmake -E cmake_autogen /build/antimony-gMjFjo/antimony-0.9.3/obj-m68k-linux-gnu/app/CMakeFiles/antimony_autogen.dir/AutogenInfo.json RELEASE
The futex facility returned an unexpected error code.
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
(sid-m68k-sbuild)root@nofan:/build/antimony-gMjFjo/antimony-0.9.3/obj-m68k-linux-gnu/app#