Created attachment 208313 [details]
-mvectorize-with-neon-quad is not available on Clang, so remove it.
Also disable SSE on non-x86.
Patch is fine. If you want to patch this permanently in the Zynaddsubfx sources instead, I can send a patch upstream.
(In reply to Hans Petter Selasky from comment #1)
I'm not sure whether LLVM8 and 9 support it, I'm on 12.0-RELEASE with LLVM 6. If they do support it, maybe better not upstream it.
(In reply to Piotr Kubaj from comment #2)
same problem with llvm8 or llvm9
Then yes, please upstream it if you can.
I cannot confirm this as mentor, so I will have to leave it for somebody else:
Writing presets.ttl...Fatal error 'mutex 0xf44d7180 own 0x18726 is on list 0xf49b913c 0xf44d7100' at line 154 in file /usr/local/poudriere/jails/120-head-armv7/usr/src/lib/libthr/thread/thr_mutex.c (errno = 16)
qemu: uncaught target signal 6 (Abort trap) - core dumped
I'll have a closer look at this as time permits.
(In reply to Mark Linimon from comment #5)
It's a qemu-user-static bug.
A commit references this bug:
Date: Sun Jun 28 10:29:47 UTC 2020
New revision: 540699
audio/zynaddsubfx: fix build on non-x86
Disable SSE everywhere but on amd64 and i386.
Approved by: hselasky (maintainer)