On May 30, 10:20 am, William Stein <wst...@gmail.com> wrote:
> 2009/5/30 Andrzej Giniewicz <ggi...@gmail.com>:
>
>
>
> > 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:
>
> Just for the record, every major new GCC release requires changes to
> Sage, and I'm pretty certain we haven't fixed everything for GCC 4.4.0
> yet.

No, gcc 4.4.0 works on multiple platforms. The issue the Arch people
are seeing happens to cause problem on at least gcc 4.2.x - see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28671#c8 - and the correct
thing to do is to not compile gcc with arch or march settings. I have
fixed 95% of #2999-3001 in all spkgs which would all to inject flags
like march into each spkg.

> Personally, I've never even used GCC 4.4.0, not even once.

It is the default compiler on skynet and the reason GAP miscompiles on
Itanium. OH well....

>  -- william
>
>
>
>
>
> > 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
>
> --
> 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