[Bug 276794] The PPC-specific header /usr/lib/clang/16/include/ppc_wrappers/mmintrin.h asks to define the x86-specific variable NO_WARN_X86_INTRINSICS (port audio/surge-synthesizer-lv2 on powerpc64le)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Feb 2024 08:55:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276794

            Bug ID: 276794
           Summary: The PPC-specific header
                    /usr/lib/clang/16/include/ppc_wrappers/mmintrin.h asks
                    to define the x86-specific variable
                    NO_WARN_X86_INTRINSICS (port
                    audio/surge-synthesizer-lv2 on powerpc64le)
           Product: Base System
           Version: 14.0-STABLE
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

The port audio/surge-synthesizer-lv2 fails with the message:
In file included from
/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.9.0/src/common/dsp/effect/BBDEnsembleEffect.cpp:16:
In file included from
/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.9.0/src/common/dsp/effect/BBDEnsembleEffect.h:22:
In file included from
/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.9.0/src/common/dsp/VectorizedSvfFilter.h:3:
In file included from
/wrkdirs/usr/ports/audio/surge-synthesizer-lv2/work/surge-release_1.9.0/src/common/vt_dsp/portable_intrinsics.h:4:
In file included from /usr/lib/clang/16/include/ppc_wrappers/immintrin.h:15:
/usr/lib/clang/16/include/ppc_wrappers/mmintrin.h:31:2: error: "Please read
comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."


Log:
https://pkg-status.freebsd.org/foul2/data/140releng-powerpc64le-quarterly/68593b1d8800/logs/surge-synthesizer-lv2-1.9.0_1.log

PPC-specific headers aren't supposed to recommend to set x86-specific defines.

-- 
You are receiving this mail because:
You are the assignee for the bug.