#14168: Fix race condition rebuilding MPIR,... with GCC spkg
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  GeorgSWeber                 
       
           Type:  defect          |        Status:  closed                      
       
       Priority:  blocker         |     Milestone:  sage-5.8                    
       
      Component:  build           |    Resolution:  fixed                       
       
       Keywords:                  |   Work issues:                              
       
Report Upstream:  N/A             |     Reviewers:  Karl-Dieter Crisman, Leif 
Leonhardy
        Authors:  Jeroen Demeyer  |     Merged in:  sage-5.8.beta3              
       
   Dependencies:                  |      Stopgaps:                              
       
----------------------------------+-----------------------------------------

Comment (by leif):

 Now probably for a follow-up:

 `$(INST)/$(GCC)` should also depend on `toolchain-deps`, since otherwise
 MPIR, MPFR, MPC and ZLIB may (still) get built in parallel as
 prerequisites of the GCC spkg (i.e., when built the first time, and GCC
 gets installed).


 We could also be a bit smarter regarding whether `CC` is GCC, and whether
 we're using a GCC version >= 4.5 (as older versions don't use
 GMP/MPFR/MPC).

 (Re)building PPL may also break a running GCC (if LTO is used);
 fortunately our PPL spkg is pretty outdated... ;-)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14168#comment:15>
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