[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1776478] Re: Getting qemu: uncaught target signal 6 wh
From: |
guysoft |
Subject: |
[Qemu-devel] [Bug 1776478] Re: Getting qemu: uncaught target signal 6 when running lv2 plugin cross-compilation |
Date: |
Tue, 12 Jun 2018 21:25:37 -0000 |
Hey,
Not sure how to boil it down (yet). But this would reproduce it for you:
cd /tmp
wget
https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-04-19/2018-04-18-raspbian-stretch-lite.zip
unzip 2018-04-18-raspbian-stretch-lite.zip
wget https://raw.githubusercontent.com/guysoft/CustomPiOS/devel/src/common.sh
source ./common
mkdir ./mount
mount_image ./2018-04-18-raspbian-stretch-lite.img 2 ./mount
cd mount
sudo bash -c "$(declare -f fixLd); fixLd"
sudo cp $(which qemu-arm-static) ./usr/bin/
sudo chroot .
apt-get update
apt-get install -y git premake libfreetype6-dev libgl1-mesa-dev libx11-dev
libasound2-dev
git clone https://github.com/DISTRHO/DISTRHO-Ports.git --depth=1
cd DISTRHO-Ports/
export RASPPI=true
export LINUX_EMBED=true
./scripts/premake-update.sh linux
make lv2 -j4
once you have it all running you can just run again
./libs/lv2_ttl_generator ./bin/lv2/TAL-Filter-2.lv2/TAL-Filter-2.so
--
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