#20563: Cannot compile SnapPy for sage because sage's gcc is incompatible with
system's as
----------------------------+------------------------
       Reporter:  mgoerner  |        Owner:
           Type:  defect    |       Status:  new
       Priority:  major     |    Milestone:  sage-7.2
      Component:  porting   |   Resolution:
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+------------------------
Changes (by jdemeyer):

 * type:  PLEASE CHANGE => defect


Old description:

> Sage comes with its own gcc but uses the system's assembler as. If the
> versions of gcc and the gnu assembler are two different, compilation
> fails with bizarre errors such as:
>        Error: no such instruction: `vfmadd312sd offset(%rip),%xmm0,%xmm3'
>
> For example, installing SnapPy (following the instructions from its
> website) fails on Mac OS X 10.9 with the latest version of Xcode
> compatible with 10.9 for every version of Sage later than 6.7. I have
> encountered this problem many times for, literally, years and on both,
> Sage and Linux.
>
> I think that if sage continues to ship with its own gcc, it should
> include its own gnu assembler as well.
> We might even consider including our own linker ld to avoid Mac OS X
> users to install xcode.

New description:

 Sage comes with its own gcc but uses the system's assembler as. If the
 versions of gcc and the gnu assembler are two different, compilation fails
 with bizarre errors such as:
 {{{
 Error: no such instruction: `vfmadd312sd offset(%rip),%xmm0,%xmm3'
 }}}

 For example, installing SnapPy (following the instructions from its
 website) fails on Mac OS X 10.9 with the latest version of Xcode
 compatible with 10.9 for every version of Sage later than 6.7. I have
 encountered this problem many times for, literally, years and on both,
 Sage and Linux.

 I think that if sage continues to ship with its own gcc, it should include
 its own gnu assembler as well.
 We might even consider including our own linker ld to avoid Mac OS X users
 to install xcode.

--

Comment:

 I'm inclined to say that this is a snappy bug, since it most likely passes
 options to GCC which are not supported. Do you have a complete log of the
 failed snappy build?

--
Ticket URL: <http://trac.sagemath.org/ticket/20563#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to