building sage 4.0.rc0 with gcc 4.4.0 and glibc 2.10.1 fails (on arch linux)
5 views
Skip to first unread message
prhlava
unread,
May 29, 2009, 5:33:53 AM5/29/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
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).