Thanks! On Tuesday, June 21, 2016 at 3:44:42 PM UTC-4, Dima Pasechnik wrote: > > The assembler is unable to compile the code produced by gcc. > Something akin to > http://stackoverflow.com/questions/10327939/error-no-such-instruction-while-assembling-project-on-mac-os-x > > See http://trac.sagemath.org/ticket/20779 > and https://groups.google.com/forum/#!topic/sage-devel/FloU3fAgQLM > > > On Tuesday, June 21, 2016 at 4:46:20 PM UTC+1, Joseph Hundley wrote: >> >> Trying to install Sage from source code on MacBook Pro Retina 15-Inch Mid >> 2014. Intel i7 processor. OSX version 10.9.5 >> >> Here is what appears to me to be the relevant portion of the text that >> appeared in the terminal window as the make file was running: >> >> [ntl-9.8.1.p0] Tuning and building NTL. >> >> [ntl-9.8.1.p0] make setup1 >> >> [ntl-9.8.1.p0] g++ -I../include -I. -march=native -O2 -g -fno-common -c >> MakeDescAux.c >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:124:no such >> instruction: `vmovsd %xmm0, -16(%rsp)' >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:259:no such >> instruction: `vxorpd %xmm0, %xmm0,%xmm0' >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:264:no such >> instruction: `vaddsd (%rdi), %xmm0,%xmm0' >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:274:no such >> instruction: `vxorpd %xmm0, %xmm0,%xmm0' >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:295:no such >> instruction: `vfmadd132sd %xmm1, %xmm2,%xmm0' >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:319:no such >> instruction: `vmovsd LC18(%rip), %xmm0' >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:329:no such >> instruction: `vaddsd %xmm0, %xmm0,%xmm0' >> >> [ntl-9.8.1.p0] >> /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:338:no such >> instruction: `vmovsd LC18(%rip), %xmm0' >> >> [ntl-9.8.1.p0] make[4]: *** [setup1] Error 1 >> >> [ntl-9.8.1.p0] make[3]: *** [all] Error 2 >> >> [ntl-9.8.1.p0] Error building/tuning NTL. >> >> [ntl-9.8.1.p0] >> >> [ntl-9.8.1.p0] real 0m3.483s >> >> [ntl-9.8.1.p0] user 0m1.598s >> >> [ntl-9.8.1.p0] sys 0m1.910s >> >> [ntl-9.8.1.p0] >> ************************************************************************ >> >> [ntl-9.8.1.p0] Error installing package ntl-9.8.1.p0 >> >> [ntl-9.8.1.p0] >> ************************************************************************ >> >> (followed by instructions to email sage-devel, etc... >> >> >> >> Issue was encountered on second run of "make" first attempt produced >> this: >> >> *************************************************** >> >> You are using OS X Lion (or later). >> >> You are strongly advised to install Apple's latest Xcode >> >> unless you already have it. You can install this using >> >> the App Store. Also, make sure you install Xcode's >> >> Command Line Tools -- see Sage's README.txt. >> >> configure: error: "found MacPorts in /opt/local/bin/port. Either: >> >> (1) rename /opt/local and /sw, or >> >> (2) change PATH and DYLD_LIBRARY_PATH >> >> (Once Sage is built, you can restore them.) >> >> If you would like to try to build Sage anyway (to help porting), >> >> export the variable 'SAGE_PORT' to something non-empty. >> >> make[1]: *** [build/make/Makefile] Error 1 >> >> make: *** [all] Error 2 >> >> >> I updated Xcode and Command Line Tools per the README >> >> and renamed /opt/local. I did not find any /sw and so ignored that >> >> part of the instructions. >> >> >> >> >>
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.