sdsl-lite
sdsl-lite copied to clipboard
Build fails on OSX with complaints about missing assembly code instructions
Running ./install.sh
errors out with a bunch of complaints about missing assembly instructions (stderr output below). The same errors occur with the NO_SSE42=1
flag provided as in the readme. I was able to reproduce the error on 306de91
, but I had a successful build on f36b678
, so I suspect that the -march=native
flag is to blame. My machine is running OSX El Capitan 10.11.6.
Error output:
canning dependencies of target sdsl
[ 0%] Building CXX object lib/CMakeFiles/sdsl.dir/bits.cpp.o
[ 0%] Building CXX object lib/CMakeFiles/sdsl.dir/bp_support_algorithm.cpp.o
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:147:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:156:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:160:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:267:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:276:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:280:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:387:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:396:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:400:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:610:no such instruction: `shrx %eax, 8960(%rdi,%r10,4),%eax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:741:no such instruction: `shrx %ebp, 8960(%rdi,%r10,4),%ebp'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:895:no such instruction: `shrx %rdx, %rax,%rax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:1287:no such instruction: `shrx %eax, 9984(%rbx,%r8,4),%eax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:1415:no such instruction: `shrx %ebp, 9984(%rbx,%r8,4),%ebp'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:2803:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:2820:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:2834:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3250:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3260:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3261:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3262:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3268:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3271:no such instruction: `vmovdqa %ymm0, 64(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3272:no such instruction: `vmovdqa %ymm0, 96(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3273:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3536:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3540:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3703:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3713:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3714:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3715:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3720:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3724:no such instruction: `vmovdqa %ymm0, 64(%r13)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3725:no such instruction: `vmovdqa %ymm0, 96(%r13)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:3726:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4009:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4014:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4019:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4184:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4194:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4195:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4196:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4202:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4205:no such instruction: `vmovdqa %ymm0, 64(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4206:no such instruction: `vmovdqa %ymm0, 96(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4207:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4405:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4413:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4533:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4885:no such instruction: `shlx %r11, %r9,%r11'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4891:no such instruction: `lzcntq %r11, %r11'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4918:no such instruction: `shlx %rcx, %r9,%rax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4955:no such instruction: `shlx %rax, %r9,%rax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:4962:no such instruction: `shlx %rax, %r9,%rax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5009:no such instruction: `lzcntq %rdx, %rdx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5201:no such instruction: `shlx %r13, %r9,%r13'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5204:no such instruction: `andn (%rax), %r13,%r13'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5211:no such instruction: `shlx %rax, %r9,%rax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5215:no such instruction: `andn (%r14), %rax,%rax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5455:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5465:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5466:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5467:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5472:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5476:no such instruction: `vmovdqa %ymm0, 64(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5477:no such instruction: `vmovdqa %ymm0, 96(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5478:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5713:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5723:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5724:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5725:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5730:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5734:no such instruction: `vmovdqa %ymm0, 64(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5735:no such instruction: `vmovdqa %ymm0, 96(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:5736:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6075:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6085:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6086:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6087:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6092:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6096:no such instruction: `vmovdqa %ymm0, 64(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6097:no such instruction: `vmovdqa %ymm0, 96(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6098:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6198:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6208:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6209:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6210:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6215:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6219:no such instruction: `vmovdqa %ymm0, 64(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6220:no such instruction: `vmovdqa %ymm0, 96(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6221:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6390:no such instruction: `shlx %rdi, %rcx,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6398:no such instruction: `shlx %rdi, %rcx,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:6441:no such instruction: `shlx %rdi, %rcx,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7089:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7100:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7105:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7112:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7135:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7140:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7151:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7164:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7173:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7177:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7181:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7839:no such instruction: `shrx %rsi, %rax,%rax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7841:no such instruction: `andn 8(%rdi), %rdx,%rdx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7864:no such instruction: `shrx %rcx, %rax,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7866:no such instruction: `andn 8(%rdi), %rsi,%rsi'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7895:no such instruction: `shlx %ebx, %eax,%eax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7909:no such instruction: `sarx %edx, -352(%rbp),%eax'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7940:no such instruction: `shrx %rcx, %r10,%r10'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7955:no such instruction: `shlx %rbx, %r12,%r12'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7970:no such instruction: `shlx %rcx, %r12,%rsi'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7981:no such instruction: `andn 8(%r9), %rsi,%rsi'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:7982:no such instruction: `shrx %r8, %r12,%r8'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8059:no such instruction: `shrx %rax, %rsi,%r10'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8071:no such instruction: `shlx %rbx, %r12,%r12'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8085:no such instruction: `shlx %rax, %r10,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8095:no such instruction: `shrx %rsi, %r10,%rsi'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8096:no such instruction: `andn 8(%r9), %rcx,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8155:no such instruction: `shlx %rcx, %r12,%r12'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8156:no such instruction: `shlx %r10, %rbx,%r8'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8166:no such instruction: `shlx %rax, %r10,%r10'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8167:no such instruction: `shlx %r8, %rbx,%rsi'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8177:no such instruction: `shlx %rdx, %rdi,%rdx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8187:no such instruction: `shlx %rcx, %rdi,%rdx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8385:no such instruction: `shlx %r8, %rcx,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8521:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8531:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8532:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8533:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8539:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8542:no such instruction: `vmovdqa %ymm0, 64(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8543:no such instruction: `vmovdqa %ymm0, 96(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8544:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8738:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8782:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8786:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8846:no such instruction: `shlx %r8, %rcx,%rcx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8936:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8972:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8982:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8983:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8984:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8990:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8993:no such instruction: `vmovdqa %ymm0, 64(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8994:no such instruction: `vmovdqa %ymm0, 96(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:8995:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9228:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9232:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9340:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9350:no such instruction: `vmovdqu %ymm0, -224(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9351:no such instruction: `vmovdqu %ymm0, -192(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9352:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9358:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9361:no such instruction: `vmovdqa %ymm0, 64(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9362:no such instruction: `vmovdqa %ymm0, 96(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9363:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9572:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9577:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9592:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9657:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9667:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9668:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9669:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9675:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9678:no such instruction: `vmovdqa %ymm0, 64(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9679:no such instruction: `vmovdqa %ymm0, 96(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:9680:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10075:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10093:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10180:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10190:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10191:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10192:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10198:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10201:no such instruction: `vmovdqa %ymm0, 64(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10202:no such instruction: `vmovdqa %ymm0, 96(%r12)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10203:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10695:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10712:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:10726:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11456:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11466:no such instruction: `vmovdqu %ymm0, -128(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11467:no such instruction: `vmovdqu %ymm0, -96(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11468:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11473:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11477:no such instruction: `vmovdqa %ymm0, 64(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11478:no such instruction: `vmovdqa %ymm0, 96(%r15)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11479:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11625:no such instruction: `shlx %r10, %rsi,%rsi'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11867:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11871:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11875:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11991:no such instruction: `vpxor %xmm0, %xmm0,%xmm0'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11994:no such instruction: `vmovdqu %ymm0, -192(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11996:no such instruction: `vmovdqu %ymm0, -160(%rbp)'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:11998:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:12264:no such instruction: `shlx %rdx, %rcx,%rdx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:12272:no such instruction: `shlx %rdx, %rsi,%rdx'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:12401:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:12420:no such instruction: `vzeroupper'
/var/folders/p9/5lpfz47943d2dkdq4c6phyz80000gn/T//ccHE48sq.s:12425:no such instruction: `vzeroupper'
make[3]: *** [lib/CMakeFiles/sdsl.dir/bp_support_algorithm.cpp.o] Error 1
make[2]: *** [lib/CMakeFiles/sdsl.dir/all] Error 2
make[1]: *** [lib/CMakeFiles/sdsl.dir/rule] Error 2
make: *** [sdsl] Error 2
ERROR: Build failed.
Also potentially relevant:
> g++ --version
g++ (MacPorts gcc49 4.9.3_0) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@tetzank I thought -march=native would fix those problems?
Apparently I'm not the only one whose Mac has problems with it: https://stackoverflow.com/questions/10327939/error-no-such-instruction-while-assembling-project-on-mac-os-x
This also seems to be discussed here: https://stackoverflow.com/questions/9840207/how-to-use-avx-pclmulqdq-on-mac-os-x
seems like the main issue is that the GNU assembler is not supported on OSX. Do any of these workarounds help?
The assembler seems to be too old. It doesn't know about the AVX2 and BMI{1,2} instruction set extensions which the compiler happily created as it detected that the CPU supports them.
Can you upgrade to a newer toolchain? The GNU assembler is part of binutils. Or switch to clang and the assembler they provide.
I got it to assemble using the -Wa,-q flag, which makes it use the clang assembler after compilation. It makes a bunch of annoying warnings about the temporary files that the compiler writes, but at least it works. You can also get the same behavior by AS_INTEGRATED_ASSEMBLER=1 before invoking the install script. In both cases, MacPorts clang needs to be installed and selected. I used the clang-3.8 port.