Ubuntu 11.10 - 64-bit
4 GB memory
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
CPU socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 10
CPU MHz: 1600.000
BogoMIPS: 5649.14
L1d cache: 32K
L1i cache: 32K
L2 cache: 3072K
NUMA node0 CPU(s): 0,1
Dear Sage lovers,
We're releasing Sage 5.0.rc0.
Source archive:
http://boxen.math.washington.edu/home/release/sage-5.0.rc0/sage-5.0.rc0.tar
Upgrade path:
http://boxen.math.washington.edu/home/release/sage-5.0.rc0/sage-5.0.rc0/
The source and upgrade path can also be found on the mirror network
(you might need to wait a while before the mirrors are synchronized):
http://www.sagemath.org/download-latest.html
Please build, test, and report! We'd love to hear about your
experiences with this release.
http://boxen.math.washington.edu/home/release/sage-5.0.rc0/sage-5.0.rc0.tar
Please build, test, and report! We'd love to hear about your
experiences with this release.
Dear Sage lovers,
We're releasing Sage 5.0.rc0.
Source archive:
http://boxen.math.washington.edu/home/release/sage-5.0.rc0/sage-5.0.rc0.tar
Upgrade path:
http://boxen.math.washington.edu/home/release/sage-5.0.rc0/sage-5.0.rc0/
The source and upgrade path can also be found on the mirror network
(you might need to wait a while before the mirrors are synchronized):
http://www.sagemath.org/download-latest.html
Please build, test, and report! We'd love to hear about your
experiences with this release.
On Wed, May 2, 2012 at 3:02 AM, Jeroen Demeyer wrote:
> Please build, test, and report! We'd love to hear about your
> experiences with this release.
Running ./sage -testall -long, I get:
<snip>
----------------------------------------------------------------------
The following tests failed:
sage -t -long -force_lib
"devel/sage/doc/en/installation/source.rst" # Time out
sage -t -long -force_lib "devel/sage/sage/misc/sagedoc.py"
sage -t -long -force_lib
"devel/sage/sage/schemes/elliptic_curves/ell_rational_field.py" # Time
out
Total time for all tests: 68027.9 seconds
Please see /home/hdevalence/.sage//tmp/test.log for the complete log
from this test.
The test that didn't time out but just failed has the following description in
the log file:
libtool: compile: gcc -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -I. -I/home/punarbasu/Installations/sage-5.0.rc0/local/include -g -O3 -march=native -O3 -pipe -MT set_f.lo -MD -MP -MF .deps/set_f.Tpo -c set_f.c -fPIC -DPIC -o .libs/set_f.o
set_f.c: In function 'mpfr_set_f':
set_f.c:27:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccebl8Sx.out file, please attach this to your bugreport.
make[4]: *** [set_f.lo] Error 1
make[4]: Leaving directory `/home/punarbasu/Installations/sage-5.0.rc0/spkg/build/mpfr-3.1.0.p1/src/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/punarbasu/Installations/sage-5.0.rc0/spkg/build/mpfr-3.1.0.p1/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/punarbasu/Installations/sage-5.0.rc0/spkg/build/mpfr-3.1.0.p1/src'
Error building MPFR....lations/sage-5.0.rc0 [2] » gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
stepping : 6
microcode : 0x44
cpu MHz : 1596.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips : 4266.83
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
~/Installations/sage-5.0.rc0» free -m
total used free shared buffers cached
Mem: 3954 1457 2497 0 70 692
-/+ buffers/cache: 694 3260
Swap: 2231 0 2231
~/Installations/sage-5.0.rc0» uname -a
Linux ub2 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
~/Installations/sage-5.0.rc0» export CFLAGS="-march=native -O3 -pipe"
~/Installations/sage-5.0.rc0» export CXXFLAGS="${CFLAGS}"
On 05/10/2012 03:37 PM, Jeroen Demeyer wrote:
> I see the problem. Originally, Sage (or you) decided to install the GCC
> package within Sage. As a consequence, MPIR was built without the C++
> interface. From the MPIR log:
>> Building a reduced version of MPIR to bootstrap GCC.
>> MPIR will later get rebuilt (with the C++ interface and static libraries
>> enabled) using the new compiler.
> Then MPFR failed, causing the build to abort. Then you messed with
> CFLAGS (and maybe compiler versions?) and rebuilt Sage but this time
> *without* installing GCC. This left the "partial" MPIR build in place.
>
> Rebuilding MPIR should fix your problem.
>
Oh. That's nice.
Indeed, the build had failed once with it trying to install gcc. While
compiling or installing gcc it complained that some headers were missing.
It turned out that the reason why it was trying to install gcc was
because I didn't have gfortran in my system. So, I installed gfortran
and restarted the build of Sage.
On 2012-05-10 12:56, Dima Pasechnik wrote:
> it seems to me that missing gfortran alone should not trigger a build of
> the gcc spkg.
Several packages need a Fortran compiler.
So, if gfortran is missing we
*must* build GCC.
2) I understand the convenience of being able to install sage
with minimum requirements in restricted cases, but still don't get why
such a nice endeavour means all other cases must endure a long
compilation and big installations -- why aren't all parts of sage like
gcc, and compiled *only when needed* !?