I managed to get it to build:
./configure --static --enable-debug --target-list=arm-linux-user
Then, I ran my pbuilder script again. It hung in cmake as usual. Here
are the stack traces from gdb:
(gdb) bt
#0 0x000000006007b5c2 in process_pending_signals (cpu_env=0x635f6960)
at /home/david/work/qemu/linux-user/signal.c:7406
#1 0x000000006004fabb in cpu_loop (env=0x635f6960)
at /home/david/work/qemu/linux-user/main.c:798
#2 0x0000000060051114 in main (argc=52, argv=0x7ffc589855b8,
envp=0x7ffc58985760) at /home/david/work/qemu/linux-user/main.c:5147
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x635c2940 (LWP 3644) "cmake" 0x000000006007b5c2 in
process_pending_signals (cpu_env=0x635f6960)
at /home/david/work/qemu/linux-user/signal.c:7406
2 Thread 0x7ff9644a4700 (LWP 3646) "cmake" 0x0000000060321059 in syscall
()
(gdb) thread 2
[Switching to thread 2 (Thread 0x7ff9644a4700 (LWP 3646))]
#0 0x0000000060321059 in syscall ()
(gdb) bt
#0 0x0000000060321059 in syscall ()
#1 0x000000006016456d in qemu_futex_wait (
f=0x628562d8 <rcu_call_ready_event>, val=4294967295)
at /home/david/work/qemu/include/qemu/futex.h:29
#2 0x0000000060164734 in qemu_event_wait (
ev=0x628562d8 <rcu_call_ready_event>)
at /home/david/work/qemu/util/qemu-thread-posix.c:445
#3 0x000000006016cdca in call_rcu_thread (opaque=0x0)
at /home/david/work/qemu/util/rcu.c:261
#4 0x00000000602911db in start_thread (arg=0x7ff9644a4700)
at pthread_create.c:463
#5 0x0000000060322e3f in clone ()
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1764555
Title:
armhf/armel cmake hangs when run with qemu-arm-static on amd64 host
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1764555/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs