I suspect a configure option needs to be passed to bristol in order to not use SSE 4.1 instructions. If there is no option for this, then the port should be marked as ONLY_FOR_ARCHS=i386 amd64
Maintainer CC'd
Created attachment 152115 [details] Patch This should fix it (removed offending CFLAGS). While here: - Strip libraries - Add empty dir to plist
confirmed: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/bristol-0.60.10_1.log
(In reply to Dmitry Marakasov from comment #2) Isn't that going to remove the instructions for all ARCHs?
(In reply to Sean Bruno from comment #4) Yes. That's what respecting C(XX)FLAGS is.
(In reply to Dmitry Marakasov from comment #5) So, with this patch, will i386/amd64 still get SSE instructions?
Reporter is Committer.
(In reply to Sean Bruno from comment #6) Yes, this patch removes extra stuff including sse instructions on all targets. If they are really needed, they may be re-added with an option.
Comment on attachment 152115 [details] Patch Dear Dmitry, Ok for the patch. It working fine o my computer. Regards, Pierre-Jacques MIMIFIR
Is this still relevant?
I had not seen this PR when I marked the port BROKEN on all tier-2. I have not yet tried the patch.
Committed.
A commit references this bug: Author: linimon Date: Tue Jun 12 04:23:29 UTC 2018 New revision: 472231 URL: https://svnweb.freebsd.org/changeset/ports/472231 Log: Fix build on non-x86 archs. PR: 196985 Submitted by: sbruno Changes: head/audio/bristol/Makefile