#14265: Compile Python as C99
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  jdemeyer    
           Type:  defect          |        Status:  needs_review
       Priority:  blocker         |     Milestone:  sage-5.9    
      Component:  packages        |    Resolution:              
       Keywords:                  |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:  Jeroen Demeyer  |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------

Comment (by leif):

 Replying to [comment:39 jdemeyer]:
 > Replying to [comment:37 leif]:
 > > And as said, previous versions did build and work with GCC 4.7.0, so
 there's a regression.
 > Do you mean GCC-4.7.0 with GNU ld which is installed system-wide on mark
 or do you mean a custom-built GCC-4.7.0 with Sun ld? Because building Sage
 on mark with GNU ld never worked for me (at least `libpng` doesn't build).

 The system-wide GCC 4.7.0 (which is configured to use GNU ld).

 Unfortunately, with the default setup on the skynet machines
 (`/usr/local/skynet_bash_profile`), the Sun linker comes first in `PATH`,
 so some packages get confused, assuming the wrong linker.

 E.g. to build libpng, you have to
 {{{
 #!sh
 export LD=/usr/local/binutils-2.22/sparc-SunOS-ultrasparc3-gcc-4.6.2
 -without-zlib/bin/ld
 }}}

 [[BR]]
 > I'm going to try building Sage on mark with GCC-4.7.2 (the optional
 spkg) + Sun ld. If that works with this spkg, I think there is no reason
 to hold up this ticket.

 Yes.  I was going to try that as well.  (I'll open a ticket for building
 Singular with GCC 4.7.x on Solaris soon; only needs a trivial patch to
 `kernel/bigintmat.cc`.)

 The odd IPython warnings (and/or making Python properly build `_ctypes` on
 Solaris SPARC) should be fixed on another ticket.

 Hopefully Sage 5.9.beta* gets out soon... ;-)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14265#comment:40>
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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to