Hi, tried to do some test, but I have similar issue as Vlad reported on sage-support for 4.0rc0 in topic "building sage 4.0.rc0 with gcc 4.4.0 and glibc 2.10.1 fails (on arch linux)", (btw, I also have Arch with gcc 4.4 and glibc 2.10), the error for me it:
g++ -o ./comptest comptest_n.o compproc_n.o arith_n.o marith_n.o gpslave_n.o parifact_n.o interface_n.o -lpari -L/opt/sage/local/lib -L/opt/sage/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] Błąd 1 make[3]: Opuszczenie katalogu `/opt/sage/spkg/build/eclib-20080310.p7/src/procs' make[2]: *** [so] Błąd 2 make[2]: Opuszczenie katalogu `/opt/sage/spkg/build/eclib-20080310.p7/src' Error building cremona shared libraries from my experience I can vote that it's -march missing somewhere, I hit such error few times in different software and adding -march=i486 or greater fixes this, because without it on most systems i386 is assumed and it don't have '__sync_fetch_and_add_4', will look into it in free time later probably cheers, Andrzej. On Sat, May 30, 2009 at 4:34 PM, William Stein <wst...@gmail.com> wrote: > > Hello, > > I have release sage-4.0. It's now available at > http://sagemath.org/src/. Binaries will follow in a day. > > William > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://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 -~----------~----~----~----~------~----~------~--~---