On Sun, Oct 4, 2009 at 9:41 AM, Jeff Post <[email protected]> wrote:
>
> On Saturday 03 October 2009 17:32, William Stein wrote:
>> On Sat, Oct 3, 2009 at 3:51 PM, Jeff Post <[email protected]> wrote:
>> > Hi all. After about an hour and a half of compiling, the build fails with
>> > errors due to segmentation faults in some test programs. The relevant
>> > information from the install log is attached.
>> >
>> > Any help greatly appreciated.
>> >
>> > Thanks,
>> > Jeff
>>
>> Your compiler (3.4.6 on centos) is unfortunately old and buggy.
>> Please upgrade to a gcc 4.x compiler then start a fresh build (e.g.,
>> "make distclean").
>>
>> William
>>
> Thanks for the info. I upgraded to gcc 4.1.0 (the latest version of gcc won't
> compile on my system), and there was an improvement in compiling sage, but
> it's still a no-go.
>
> Relevant parts of install.log are below.
>
> Thanks for your help,
> Jeff
>
> ****************************************************
> Host system
> uname -a:
> Linux localhost.localdomain 2.6.9-89.0.11.ELsmp #1 SMP Tue Sep 15 07:16:37 EDT
> 2009 i686 i686 i386 GNU/Linux
> ****************************************************
> ****************************************************
> CC Version
> gcc -v
> Using built-in specs.
> Target: i686-pc-linux-gnu
> Configured with: ../configure
> Thread model: posix
> gcc version 4.1.0
> ****************************************************
> Compiling module Cython.Plex.Scanners ...
>
>
>
> /home/jeff/math/sage-4.1.1/spkg/build/cython-0.11.2.1/src/Cython/Compiler/Parsing.c:30510:
> internal compiler error: in merge_alias_info, at tree-ssa-copy.c:235
> Please submit a full bug report,
That message means "there is a bug in your compiler".
I just installed Centos 5.3 on both 32 and 64-bit machines yesterday
to do some testing, and Sage builds no problem with the default
compiler that they include by default, which is gcc-4.1.2.
wst...@centos53-32:~$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
Is there any possibility that you could install 4.1.2? Sorry for all
this trouble, but until recently I think RedHat (hence CentOS) have
been just notorious for shipping modified (and broken) versions of
GCC, that have caused tons of trouble for building Sage.
By the way, I was building sage-4.1.2.rc0, and in both cases exactly
one long doctest failed with a timeout, which :
sage -t -long
"devel/sage/sage/groups/perm_gps/partn_ref/refinement_matrices.pyx"
*** *** Error: TIMED OUT! PROCESS KILLED! *** ***
*** *** Error: TIMED OUT! *** ***
A mysterious error (perhaps a memory error?) occurred, which may have
crashed doctest.
[1800.1 s]
The test that fails with a timeout is:
sage.groups.perm_gps.partn_ref.refinement_matrices.random_tests(180.0,
100, 200, 40)
This is now http://trac.sagemath.org/sage_trac/ticket/7111
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> error: command 'gcc' failed with exit status 1
> Error installing Cython
>
> real 0m37.752s
> user 0m37.170s
> sys 0m0.580s
> sage: An error occurred while installing cython-0.11.2.1
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /home/jeff/math/sage-4.1.1/install.log. Describe your computer, operating
> system, etc.
> If you want to try to fix the problem, yourself *don't* just cd to
> /home/jeff/math/sage-4.1.1/spkg/build/cython-0.11.2.1 and type 'make'.
> Instead type "/home/jeff/math/sage-4.1.1/sage -sh"
> in order to set all environment variables correctly, then cd to
> /home/jeff/math/sage-4.1.1/spkg/build/cython-0.11.2.1
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/cython-0.11.2.1] Error 1
> make[1]: Leaving directory `/home/jeff/math/sage-4.1.1/spkg'
>
> real 85m59.633s
> user 72m2.522s
> sys 12m31.017s
> Error building Sage.
>
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
--~--~---------~--~----~------------~-------~--~----~
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-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---