Hey, So all I got was this now:
gdb-multiarch target remote :1234 Excess command line arguments ignored. (:1234) GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... target: No such file or directory. /tmp/mount/remote: No such file or directory. (gdb) set arch arm The target architecture is assumed to be arm (gdb) target remote :1234 Remote debugging using :1234 warning: No executable has been specified and target does not support determining executable automatically. Try using the "file" command. 0xff7bd9e0 in ?? () (gdb) c Continuing. Program received signal SIGABRT, Aborted. 0xff49645c in ?? () (gdb) Do I need qemu-arm-static to have some debug symbols or something like that? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1776478 Title: Getting qemu: uncaught target signal 6 when running lv2 plugin cross- compilation Status in QEMU: New Bug description: Hey, I am part of the Zynthian team and we use qemu-arm-static to cross compile lv2 audio plugins. When running a compilation of DISTRHO-Ports we get: lv2_ttl_generator: pthread_mutex_lock.c:81: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed. qemu: uncaught target signal 6 (Aborted) - core dumped ./scripts/generate-ttl.sh: line 27: 16524 Aborted $GEN ./$FILE Makefile:62: recipe for target 'gen_lv2' failed make[1]: *** [gen_lv2] Error 134 make[1]: Leaving directory '/home/pi/zynthian-sw/plugins/DISTRHO-Ports' Makefile:104: recipe for target 'lv2' failed make: *** [lv2] Error 2 lv2_ttl_generator source is here: https://github.com/DISTRHO/DISTRHO-Ports/tree/master/libs/lv2-ttl-generator The command that is ruining is lv2_ttl_generator ./TAL-Filter-2.so And ./TAL-Filter-2.so source is here: https://github.com/DISTRHO/DISTRHO-Ports/tree/master/ports/tal-filter-2/source Is there a way to debug what is going on? This runs fine on a Raspberrypi which is armv7 A workaround would also help. Bug in Zynthian: https://github.com/zynthian/zynthian-sys/issues/59 Bug in DISTRHO-Ports: https://github.com/DISTRHO/DISTRHO-Ports/issues/29 Using qemu-arm-static version from master from two days ago: qemu-arm version 2.12.50 (v2.12.0-1182-ga7a7309ca5-dirty), commit: a7a7309ca52c327c6603d60db90ae4feeae719f7 Also saw this in qemu-arm version 2.12.0 (Debian 1:2.12+dfsg-3) Thanks, Guy To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1776478/+subscriptions