#12369: Add a gcc package
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: task | Status: new
Priority: major | Milestone: sage-5.0
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies: #11073, #10492, #12366, #12367,
#12368, #12405, #12416, #11967, #12423, #12425, #12456, #12363, #12223, #12515,
#12519
------------------------+---------------------------------------------------
Comment(by jhpalmieri):
Several times I've had the build fail in the middle when building with
`MAKE="make -j2"`. I think what happens is this: mpfr gets built for a
second time, and during that build (or installation), its library gets
deleted, and then the other spkg being built at the same time fails. For
example, I just got this while building ntl:
{{{
g++ -I../include -I. -O2 -g -fno-common -c lzz_pXFactoring.c
g++ -I../include -I. -O2 -g -fno-common -c mat_GF2.c
g++ -I../include -I. -O2 -g -fno-common -c mat_GF2E.c
g++ -I../include -I. -O2 -g -fno-common -c mat_RR.c
dyld: Library not loaded: /Applications/sage_builds/GCC-clang-no-
check/sage-5.0.beta4-gcc/local/lib/libmpfr.1.dylib
Referenced from: /Applications/sage_builds/GCC-clang-no-
check/sage-5.0.beta4-gcc/local/libexec/gcc/x86_64-apple-
darwin11.3.0/4.6.2/cc1plus
Reason: image not found
g++: internal compiler error: Trace/BPT trap: 5 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [mat_RR.o] Error 4
make[2]: *** [libntl.dylib] Error 2
Failed to build NTL dylib.
}}}
So maybe mpir and mpfr should be built right after gcc, to avoid this?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12369#comment:72>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.