Summary: | audio/zynaddsubfx: fix build on arm* | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Hans Petter Selasky <hselasky> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | hselasky, mikael | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(hselasky) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Hi, Patch is fine. If you want to patch this permanently in the Zynaddsubfx sources instead, I can send a patch upstream. --HPS (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: Author: pkubaj Date: Sun Jun 28 10:29:47 UTC 2020 New revision: 540699 URL: https://svnweb.freebsd.org/changeset/ports/540699 Log: audio/zynaddsubfx: fix build on non-x86 Disable SSE everywhere but on amd64 and i386. PR: 241247 Approved by: hselasky (maintainer) Changes: head/audio/zynaddsubfx/Makefile |
Created attachment 208313 [details] patch -mvectorize-with-neon-quad is not available on Clang, so remove it. Also disable SSE on non-x86.