[MacPorts] #63229: libsndfile @1.0.31_1: error: immintrin.h: No such file or directory

MacPorts noreply at macports.org
Thu Jul 8 02:26:44 UTC 2021


#63229: libsndfile @1.0.31_1: error: immintrin.h: No such file or directory
---------------------------+------------------------
 Reporter:  kencu          |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:
 Keywords:  leopard tiger  |       Port:  libsndfile
---------------------------+------------------------
 build fails on Mac OS X 10.5 (darwin/9.8.0) arch i386 trying to use SIMD
 instructions with gcc-4.2:

 {{{
 :info:build In file included from src/common.c:36:
 :info:build src/common.h:43:23: error: immintrin.h: No such file or
 directory
 }}}

 if the older gcc-4.2 is blacklisted (on Intel) then the build succeeds
 with the next compiler, clang-7.0:
 {{{
 $ port -v installed libsndfile
 The following ports are currently installed:
   libsndfile @1.0.28_1 platform='darwin 9' archs='i386'
 date='2020-12-06T19:43:45-0800'
   libsndfile @1.0.31_1 (active) platform='darwin 9' archs='i386'
 date='2021-07-07T19:21:46-0700'
 }}}

 I dont know at present if gcc-4.2 builds {{{libsndfile}}} on PowerPC or
 not. It might.

-- 
Ticket URL: <https://trac.macports.org/ticket/63229>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list