Bug 276505

Summary: On i386 clang asks to "compile with -msse -mfpmath=sse, or equivalent" when "-msse -mfpmath=sse" is already used (port audio/kaldi)
Product: Base System Reporter: Yuri Victorovich <yuri>
Component: miscAssignee: freebsd-toolchain (Nobody) <toolchain>
Status: Closed Not A Bug    
Severity: Affects Only Me CC: arrowd
Priority: ---    
Version: 13.2-RELEASE   
Hardware: Any   
OS: Any   
URL: https://pkg-status.freebsd.org/beefy15/data/132i386-default/2c606b8e6de6/logs/kaldi-g20231112_1.log

Description Yuri Victorovich freebsd_committer freebsd_triage 2024-01-21 18:50:41 UTC
See the log URL.
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2024-01-21 19:01:17 UTC
Did you check the contents of /usr/local/include/fst/float-weight.h ? This error doesn't seem to be a compiler issue.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2024-01-21 19:15:25 UTC
(In reply to Gleb Popov from comment #1)

I see. It looks for a GCC-specific macro __SSE2_MATH__ https://gcc.gnu.org/legacy-ml/gcc-patches/2002-08/msg01345.html that was never added in clang.

Thanks for pointing this out!