Hello,

I have tried to build the Sage 4.0.rc0 with gcc 4.4.0 and gllibc
2.10.1 on ArchLinux intel 686 (32 bit) and it fails with the following
in the install.log:

g++ -Wall -g -o ./smattest smattest_n.o smatrix_elim_n.o svector_n.o
smatrix_n.o
 subspace_n.o matrix_n.o vector_n.o arith_n.o  -lpari -L/opt/
sage-4.0.rc0/local/
lib -L/opt/sage-4.0.rc0/local/lib -lntl -lgmp -lpari -lm
g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -DNTL_ALL -I/
opt/sage-4.
0.rc0/local/include -I/opt/sage-4.0.rc0/local/include comptest.cc -o
comptest_n.
o
g++ -o ./comptest comptest_n.o compproc_n.o arith_n.o marith_n.o
gpslave_n.o par
ifact_n.o interface_n.o  -lpari -L/opt/sage-4.0.rc0/local/lib -L/opt/
sage-4.0.rc
0/local/lib -lntl -lgmp -lpari -lm
comptest_n.o: In function `__exchange_and_add':
/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/ext/
atomicity
.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/ext/
atomicity
.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/ext/
atomicity
.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/ext/
atomicity
.h:46: undefined reference to `__sync_fetch_and_add_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/ext/
atomicity
.h:46: undefined reference to `__sync_fetch_and_add_4'
comptest_n.o:/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c
++/4.4.0/
ext/atomicity.h:46: more undefined references to
`__sync_fetch_and_add_4' follow
collect2: ld returned 1 exit status
make[3]: *** [comptest] Error 1
make[3]: Leaving directory `/opt/sage-4.0.rc0/spkg/build/
eclib-20080310.p7/src/p
rocs'
make[2]: *** [so] Error 2
make[2]: Leaving directory `/opt/sage-4.0.rc0/spkg/build/
eclib-20080310.p7/src'
Error building cremona shared libraries

real    9m29.105s
user    9m11.517s
sys     0m13.916s
sage: An error occurred while installing eclib-20080310.p7

I am not sure if ArchLinux has "broken" gcc (this version is new there
and also, it is 2nd update of this version on ArchLinux).

Any ideas what I could try?

Kind regards,

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

Reply via email to