Laurent Decreusefond wrote:
> Thanks to your remarks, I realized that I had an old beta-version of
> Xcode (7.1) which was in conflict with the actual version (7.3.1). I
> relaunched the install with the correct version of Xcode and everything
> went smoothly. Thanks for your answers.

Oh, interesting.  (I thought you were running MacOS X 10.9.)

Which version actually is it?  Yosemite (10.10) or already El Capitan
(10.11)?


-leif

> Le mercredi 27 juillet 2016 20:46:40 UTC+2, Laurent Decreusefond a écrit :
> 
>     I will try this one since I'm already working on a fresh, compiled
>     from source, version of Sage.
> 
> 
> 
>     Le mercredi 27 juillet 2016 19:45:55 UTC+2, leif a écrit :
> 
>         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/20779>
> 
>         https://trac.sagemath.org/ticket/20563
>         <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


-- 
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