Hi William,

I built gcc 4.4.0 myself, and used it:

[r...@sagenb ~]# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.0/configure --prefix=/usr/local --with-
bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --with-
gmp=/usr/local --with-mpfr=/usr/local --enable-shared --enable-
threads=posix --enable-checking=release --with-system-zlib --enable-
__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c+
+,fortran,java --with-cpu=opteron CC=gcc43 CXX=g++43
Thread model: posix
gcc version 4.4.0 (GCC)


I had the same problem with the included gcc 4.1.2:

[bran...@sagenb sage-4.1]$ 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)




On Jul 25, 12:31 pm, William Stein <wst...@gmail.com> wrote:
> On Sat, Jul 25, 2009 at 7:24 AM,
>
> brandon.bar...@gmail.com<brandon.bar...@gmail.com> wrote:
>
> > This error message is a bit unusual to me.  I'm trying to build it in
> > a solaris lx zone (apparently modern distros aren't supported yet -
> > centos 5.3 is as close as it gets that I know of):
>
> Which gcc are you using?
>
>
>
>
>
> > from install.log:
> > cp /home/brandon/sage-4.1/spkg/build/ecl-9.4.1/src/src/../contrib/
> > unicode/ucd.dat .
> > if [ -f CROSS-COMPILER ]; then \
> >                ./CROSS-COMPILER compile; \
> >        else \
> >                ECLDIR=`pwd`/ ./ecl_min compile; \
> >        fi
>
> > Internal or unrecoverable error in:
> > Got signal before environment was installed on our thread.
> > /bin/sh: line 4:  3013 Aborted                 ECLDIR=`pwd`/ ./ecl_min
> > compile
> > make[3]: *** [bin/ecl] Error 134
> > make[3]: Leaving directory `/home/brandon/sage-4.1/spkg/build/
> > ecl-9.4.1/src/build'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/brandon/sage-4.1/spkg/build/
> > ecl-9.4.1/src'
> > Failed to build ECL ... exiting
>
> > real    1m13.251s
> > user    0m0.000s
> > sys     0m0.001s
> > sage: An error occurred while installing ecl-9.4.1
> > Please email sage-develhttp://groups.google.com/group/sage-devel
> > explaining the problem and send the relevant part of
> > of /home/brandon/sage-4.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/brandon/sage-4.1/spkg/build/ecl-9.4.1 and type 'make'.
> > Instead type "/home/brandon/sage-4.1/sage -sh"
> > in order to set all environment variables correctly, then cd to
> > /home/brandon/sage-4.1/spkg/build/ecl-9.4.1
> > (When you are done debugging, you can type "exit" to leave the
> > subshell.)
> > make[1]: *** [installed/ecl-9.4.1] Error 1
> > make[1]: Leaving directory `/home/brandon/sage-4.1/spkg'
>
> > real    42m54.614s
> > user    0m0.001s
> > sys     0m0.002s
> > Error building Sage.
>
> > The system is Centos 5.3 (updated) running in a solaris zone:
> > uname -a
> > Linux sagenb 2.6.18 BrandZ fake linux i686 athlon i386 GNU/Linux
>
> > cat /proc/cpuinfo:
> > ...
> > processor       : 3
> > vendor_id       : AuthenticAMD
> > cpu family      : 15
> > model           : 65
> > model name      : Dual-Core AMD Opteron(tm) Processor 2214
> > stepping        : 3
> > cpu MHz         : 2199.944
> > cache size      : 1024 KB
> > fdiv_bug        : no
> > hlt_bug         : no
> > f00f_bug        : no
> > coma_bug        : no
> > fpu             : yes
> > fpu_exception   : yes
> > cpuid level     : 1
> > flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> > cmov
> > pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext
> > 3dnow lahf_lm svm altmovcr8 pni cx16
>
> > [bran...@sagenb sage-4.1]$ cat /proc/meminfo
> >        total:     used:    free:  shared: buffers:  cached:
> > Mem:  96536985609192144896461553664        0        0        0
> > Swap:483078553615720325123258753024
> > MemTotal:   9427440 kB
> > MemFree:     450736 kB
> > MemShared:        0 kB
> > Buffers:          0 kB
> > Cached:           0 kB
> > SwapCached:       0 kB
> > Active:           0 kB
> > Inactive:         0 kB
> > HighTotal:        0 kB
> > HighFree:         0 kB
> > LowTotal:   9427440 kB
> > LowFree:     450736 kB
> > SwapTotal:  4717564 kB
> > SwapFree:   3182376 kB
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send 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