David,

See below for some data related to allowed GCC versions.   Basically, on OS
X, "build 5465" is too old.

This is the version I have on bsd.math.washington.edu, so I'll probably see
the same problem as soon as I upgrade.  I'll thus upgrade XCode as well
there.

William

---------- Forwarded message ----------
From: John H Palmieri <jhpalmier...@gmail.com>
Date: Sat, Aug 8, 2009 at 8:31 AM
Subject: [sage-devel] issue with OS X 10.5.8 (with solution?)
To: sage-devel <sage-devel@googlegroups.com>



In case anyone has the same problem: I just upgraded two Macs to OS X
10.5.8.  On one of them, Sage built fine, but on the other, I got an
error building Singular:

g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I/Applications/
sage_builds/sage-4.1.1.rc0/local/include -I/Applications/sage_builds/
sage-4.1.1.rc0/local/include  -I/Applications/sage_builds/
sage-4.1.1.rc0/local/include -DNDEBUG -DOM_NDEBUG -Dix86Mac_darwin -
DHAVE_CONFIG_H -c spectrum.cc
spectrum.cc: In function ‘void computeNF(ip_sideal*, polyrec*,
polyrec*, spectrumPolyList*)’:
spectrum.cc:305: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
{standard input}:1733:FATAL:.abort  detected.  Assembly stopping.
make[4]: *** [spectrum.o] Error 1
make[3]: *** [install] Error 1
make[2]: *** [/Applications/sage_builds/sage-4.1.1.rc0/local/bin/
Singular-3-1-0] Error 2
Unable to build Singular.


Typing "gcc --version" gave me

 i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)

Then I updated to the latest Xcode. Typing "gcc --version" now gives
me

 i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)

and Singular builds successfully.

(By the way, there is also gcc-4.2.1 on my mac now, but I haven't used
it to build Sage.  Is there any reason to try?)

 John





-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to