Dima Pasechnik wrote:
> errors like you get:
> 
> 
> /var/folders/md/71gv03bs6mx4qxg933r_k_x40000gn/T//ccSLsnmg.s:984:suffix or 
> operands invalid for `movq'
> 
> 
> indicate that your Sage's compiler toolchain is broken in some way,
> probably incompatible with your hardware.
> A way to fix this would be to build Sage from source.

Nope, it's Apple's dead old version of the GNU assembler.

(Newer Xcode versions by default use the one from LLVM, but require
newer versions of MacOS X as well.)

If one passes '-q' to the assembler, clang's/LLVM's will get used
instead, so you could try adding '-Wa,-q' to CFLAGS and CXXFLAGS in
order to let GCC pass '-q' to the assembler, by doing for example

$ env CFLAGS="-Wa,-q" CXXFLAGS="-Wa,-q" ./sage -i <package>


Another way is to create a wrapper script $SAGE_LOCAL/bin/as which calls
the assembler with '-q' added to the options; see the following trac
tickets for more details:

https://trac.sagemath.org/ticket/20779

https://trac.sagemath.org/ticket/20563  (same issue, i.e. with movq)

(Both a bit stalled at the moment, but give more info on the general
problem with Xcode versions < 7.0.)


-leif

> On Wednesday, July 27, 2016 at 8:57:37 AM UTC+1, Laurent Decreusefond wrote:
> 
>     Thanks. I tried to do it in the command line on a fresh install of
>     Sage 7.2 and I got this error message (the full log is attached) :
> 
>     [snip]
> 
>         In file included from
>     
> /Users/Laurent/Downloads/sage-7.2/local/lib/python2.7/site-packages/numpy-1.11.0-py2.7-macosx-10.9-x86_64.egg/numpy/core/include/numpy/ndarraytypes.h:1777:0,
> 
>                          from
>     
> /Users/Laurent/Downloads/sage-7.2/local/lib/python2.7/site-packages/numpy-1.11.0-py2.7-macosx-10.9-x86_64.egg/numpy/core/include/numpy/ndarrayobject.h:18,
> 
>                          from
>     
> /Users/Laurent/Downloads/sage-7.2/local/lib/python2.7/site-packages/numpy-1.11.0-py2.7-macosx-10.9-x86_64.egg/numpy/core/include/numpy/arrayobject.h:4,
> 
>                          from pandas/src/datetime/np_datetime.c:18:
> 
>        
>     
> /Users/Laurent/Downloads/sage-7.2/local/lib/python2.7/site-packages/numpy-1.11.0-py2.7-macosx-10.9-x86_64.egg/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
>     warning: #warning "Using deprecated NumPy API, disable it by "
>     "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
> 
>          #warning "Using deprecated NumPy API, disable it by " \
> 
>           ^
> 
>        
>     /var/folders/md/71gv03bs6mx4qxg933r_k_x40000gn/T//ccSLsnmg.s:984:suffix
>     or operands invalid for `movq'
> 
>        
>     /var/folders/md/71gv03bs6mx4qxg933r_k_x40000gn/T//ccSLsnmg.s:2605:suffix
>     or operands invalid for `movq'
> 
>        
>     /var/folders/md/71gv03bs6mx4qxg933r_k_x40000gn/T//ccSLsnmg.s:4735:suffix
>     or operands invalid for `movq'
> 
>         error: command 'gcc' failed with exit status 1
> 
> 
>     Le dimanche 24 juillet 2016 19:31:06 UTC+2, Andrey Novoseltsev a écrit :
> 
>         While it is not included, you can install it yourself via pip
>         (SageMathCell does it):
> 
>         sage -pip install seaborn
> 
> 
>         On Saturday, 23 July 2016 13:17:26 UTC-6, Laurent Decreusefond
>         wrote:
> 
>             I recently discovered Seaborn, which is a visualization
>             library on top
>             of matplotlib. It doesn't seem to be included in sage 7.2.
>             Is there any
>             projet to do so ? or is there something equivalent ?
> 
>             Best,


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to