[R-SIG-Mac] Compiling against the Accelerate framework on OS X 10.9

Simon Zehnder szehnder at uni-bonn.de
Sun Oct 27 22:33:00 CET 2013


Jon,

first install the Xcode developer tools for Mavericks via Xcode developer tools -> Other developer tools (if you don’t have yet).

Then in your configure command add CPPFLAGS=“-D__ACCELERATE__” as suggested by Simon Urbanek on http://permalink.gmane.org/gmane.comp.lang.r.mac/7293. That should make it run.


Best 

Simon

P.S.: I would consider the gcc4.8.2 binary from http://hpc.sourceforge.net for Mavericks and ML; I worked before with the macports alternative and found it easier to use these binaries. They are always up to date… 


On 24 Oct 2013, at 13:33, Jon Clayden <jon.clayden at gmail.com> wrote:

> Dear all,
> 
> After upgrading to Mavericks, I seem to be unable to compile either R 3.0.2
> or the current R-patched against the Accelerate framework cleanly.
> 
> I'm using homebrewed gcc 4.8.2, and configuring the build with
> 
> ./configure --with-blas="-framework Accelerate" --with-lapack
> --with-system-zlib --enable-memory-profiling
> --with-tcl-config=/System/Library/Frameworks/Tcl.framework/tclConfig.sh
> --with-tk-config=/System/Library/Frameworks/Tk.framework/tkConfig.sh
> CC=gcc-4.8 CXX=g++-4.8 OBJC=clang F77=gfortran-4.8 FC=gfortran-4.8
> CFLAGS="-mtune=native -g -O2" CXXFLAGS="-mtune=native -g -O2"
> FFLAGS="-mtune=native -g -O2" FCFLAGS="-mtune=native -g -O2"
> 
> The error is at the bottom of this e-mail. Adding
> "-flax-vector-conversions" to CFLAGS, as suggested early in the output,
> does seem to allow the build to continue, but I'm not sure how safe this
> is. The gcc man page says that "this option should not be used for new
> code".
> 
> Could anyone advise further, please?
> 
> Thanks in advance,
> Jon
> 
> --
> making Lapack.d from Lapack.c
> making vecLibg95c.d from vecLibg95c.c
> gcc-4.8 -std=gnu99 -I. -I../../../src/include -I../../../src/include
> -I/usr/local/include -DHAVE_CONFIG_H   -fopenmp -fPIC  -mtune=native -g -O2
> -c Lapack.c -o Lapack.o
> gcc-4.8 -std=gnu99 -I. -I../../../src/include -I../../../src/include
> -I/usr/local/include -DHAVE_CONFIG_H   -fopenmp -fPIC  -mtune=native -g -O2
> -c vecLibg95c.c -o vecLibg95c.o
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vU16HalfMultiply’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:352:3:
> note: use -flax-vector-conversions to permit conversions between vectors
> with differing element types or numbers of subparts
>   vUInt16   __vbasicops_vB) { return _mm_mullo_epi16(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:352:3:
> error: incompatible type for argument 1 of ‘_mm_mullo_epi16’
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1097:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt16’
> _mm_mullo_epi16 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:352:3:
> error: incompatible type for argument 2 of ‘_mm_mullo_epi16’
>   vUInt16   __vbasicops_vB) { return _mm_mullo_epi16(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1097:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt16’
> _mm_mullo_epi16 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vS16HalfMultiply’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:377:3:
> error: incompatible type for argument 1 of ‘_mm_mullo_epi16’
>   vSInt16   __vbasicops_vB) { return _mm_mullo_epi16(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1097:1:
> note: expected ‘__m128i’ but argument is of type ‘vSInt16’
> _mm_mullo_epi16 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:377:3:
> error: incompatible type for argument 2 of ‘_mm_mullo_epi16’
>   vSInt16   __vbasicops_vB) { return _mm_mullo_epi16(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1097:1:
> note: expected ‘__m128i’ but argument is of type ‘vSInt16’
> _mm_mullo_epi16 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vU32FullMulEven’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:432:5:
> error: incompatible type for argument 1 of ‘_mm_srli_epi64’
>     __vbasicops_vA = _mm_srli_epi64(__vbasicops_vA, 32);
>     ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1176:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_srli_epi64 (__m128i __A, int __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:433:5:
> error: incompatible type for argument 1 of ‘_mm_srli_epi64’
>     __vbasicops_vB = _mm_srli_epi64(__vbasicops_vB, 32);
>     ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1176:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_srli_epi64 (__m128i __A, int __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:434:5:
> error: incompatible type for argument 1 of ‘_mm_mul_epu32’
>     return _mm_mul_epu32(__vbasicops_vA, __vbasicops_vB);
>     ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1109:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_mul_epu32 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:434:5:
> error: incompatible type for argument 2 of ‘_mm_mul_epu32’
>     return _mm_mul_epu32(__vbasicops_vA, __vbasicops_vB);
>     ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1109:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_mul_epu32 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vU32FullMulOdd’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:459:3:
> error: incompatible type for argument 1 of ‘_mm_mul_epu32’
>   vUInt32   __vbasicops_vB) { return _mm_mul_epu32(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1109:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_mul_epu32 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:459:3:
> error: incompatible type for argument 2 of ‘_mm_mul_epu32’
>   vUInt32   __vbasicops_vB) { return _mm_mul_epu32(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1109:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_mul_epu32 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vU64Sub’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:628:3:
> error: incompatible type for argument 1 of ‘_mm_sub_epi64’
>   vUInt32   __vbasicops_vB) { return _mm_sub_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1055:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_sub_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:628:3:
> error: incompatible type for argument 2 of ‘_mm_sub_epi64’
>   vUInt32   __vbasicops_vB) { return _mm_sub_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1055:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_sub_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vS64Sub’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:698:3:
> error: incompatible type for argument 1 of ‘_mm_sub_epi64’
>   vSInt32   __vbasicops_vB) { return _mm_sub_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1055:1:
> note: expected ‘__m128i’ but argument is of type ‘vSInt32’
> _mm_sub_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:698:3:
> error: incompatible type for argument 2 of ‘_mm_sub_epi64’
>   vSInt32   __vbasicops_vB) { return _mm_sub_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1055:1:
> note: expected ‘__m128i’ but argument is of type ‘vSInt32’
> _mm_sub_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vU64Add’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:765:3:
> error: incompatible type for argument 1 of ‘_mm_add_epi64’
>   vUInt32   __vbasicops_vB) { return _mm_add_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1007:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_add_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:765:3:
> error: incompatible type for argument 2 of ‘_mm_add_epi64’
>   vUInt32   __vbasicops_vB) { return _mm_add_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1007:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_add_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vS64Add’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:830:3:
> error: incompatible type for argument 1 of ‘_mm_add_epi64’
>   vSInt32   __vbasicops_vB) { return _mm_add_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1007:1:
> note: expected ‘__m128i’ but argument is of type ‘vSInt32’
> _mm_add_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:830:3:
> error: incompatible type for argument 2 of ‘_mm_add_epi64’
>   vSInt32   __vbasicops_vB) { return _mm_add_epi64(__vbasicops_vA,
> __vbasicops_vB); }
>   ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1007:1:
> note: expected ‘__m128i’ but argument is of type ‘vSInt32’
> _mm_add_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vLL64Shift’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:930:26:
> error: incompatible type for argument 1 of ‘_mm_and_si128’
>                          _mm_and_si128(__vbasicops_vShiftFactor,
> _mm_cvtsi32_si128( 0x3F )));
>                          ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1230:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt8’
> _mm_and_si128 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:930:26:
> error: incompatible type for argument 1 of ‘_mm_sll_epi64’
>                          _mm_and_si128(__vbasicops_vShiftFactor,
> _mm_cvtsi32_si128( 0x3F )));
>                          ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1194:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_sll_epi64 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h: In
> function ‘vLR64Shift’:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:968:26:
> error: incompatible type for argument 1 of ‘_mm_and_si128’
>                          _mm_and_si128(__vbasicops_vShiftFactor,
> _mm_cvtsi32_si128( 0x3F )));
>                          ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1230:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt8’
> _mm_and_si128 (__m128i __A, __m128i __B)
> ^
> In file included from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:31:0,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /System/Library/Frameworks/vecLib.framework/Headers/vBasicOps.h:968:26:
> error: incompatible type for argument 1 of ‘_mm_srl_epi64’
>                          _mm_and_si128(__vbasicops_vShiftFactor,
> _mm_cvtsi32_si128( 0x3F )));
>                          ^
> In file included from
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/xmmintrin.h:1246:0,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLibTypes.h:90,
>                 from
> /System/Library/Frameworks/vecLib.framework/Headers/vecLib.h:27,
>                 from
> /System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h:20,
>                 from vecLibg95c.c:8:
> /usr/local/Cellar/gcc48/4.8.2/gcc/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2/include/emmintrin.h:1224:1:
> note: expected ‘__m128i’ but argument is of type ‘vUInt32’
> _mm_srl_epi64 (__m128i __A, __m128i __B)
> ^
> make[4]: *** [vecLibg95c.o] Error 1
> make[3]: *** [R] Error 2
> make[2]: *** [make.lapack] Error 2
> make[1]: *** [R] Error 1
> make: *** [R] Error 1
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list