Sage builds with older GCC and Sun compiler

28 views
Skip to first unread message

Jeroen Demeyer

unread,
Apr 25, 2012, 6:58:46 AM4/25/12
to sage-devel
Just for your information: on David Kirkby's i386 OpenSolaris machine, I
built sage-5.0.beta13 with gcc-3.4.3 and it worked. I also built Sage
with the Sun C compiler version 5.10 and this also works.

Of course, this really means that gcc-3.4.3 and Sun CC managed to build
the GCC spkg and its dependencies.

David Kirkby

unread,
Apr 27, 2012, 10:43:02 AM4/27/12
to sage-...@googlegroups.com
On 25 April 2012 11:58, Jeroen Demeyer <jdem...@cage.ugent.be> wrote:
> Just for your information: on David Kirkby's i386 OpenSolaris machine, I
> built sage-5.0.beta13 with gcc-3.4.3 and it worked.  I also built Sage
> with the Sun C compiler version 5.10 and this also works.

Good to hear. There have been instances where to get a later version
of gcc on Solaris, where to go from version X to Z, you needed to
first build Y then Z (where X < Y < Z). But they are thankfully rare,
and normally gcc will compile with an older gcc or the Sun compiler on
Solaris.

> Of course, this really means that gcc-3.4.3 and Sun CC managed to build
> the GCC spkg and its dependencies.

I have here an IBX x3650, which has two quad-core 3.16 GHz Xeon
processors, and 48 GB RAM. It does however run CentOS (Redhat clone)
version 4.6, which is quite old. I've tried to build Sage on that, but
it fails very early on, as the version of GNU tar on there is unable
to extract the tar files produced by the Sage community.

If I built a later version of tar, or Sage produced tar files which
were more backwards compatible, it would be worth trying Sage on that.
In terms of processing power, it has more than "hawk", although the
Xeons in "hawk" run a little faster and are a bit more modern. I don't
know what version of gcc is on the linux box, but it is around the
3.4.x series.



Dave

Jeroen Demeyer

unread,
Apr 27, 2012, 11:12:23 AM4/27/12
to sage-...@googlegroups.com
On 2012-04-27 16:43, David Kirkby wrote:
> it fails very early on, as the version of GNU tar on there is unable
> to extract the tar files produced by the Sage community.
Did you manage to actually extract the Sage source tarball? If this
works, but not for some spkg, maybe the problem is with gzip or
something. Or perhaps some spkg got in with an incompatible format (BSD
has a slightly different tar format). Currently, my merger script
extracts and repacks every spkg to ensure a more predictable format.
Which file precisely fails to untar?

Dr. David Kirkby

unread,
Apr 27, 2012, 5:14:07 PM4/27/12
to sage-...@googlegroups.com
On 04/27/12 04:12 PM, Jeroen Demeyer wrote:
> On 2012-04-27 16:43, David Kirkby wrote:
>> it fails very early on, as the version of GNU tar on there is unable
>> to extract the tar files produced by the Sage community.
> Did you manage to actually extract the Sage source tarball?

It seems my memory had failed me - it was not the tar extraction what failed.

Given I have only an old tools on this (gcc 3.4.6, make 3.80, tar 1.14), can you
give me the link to a complete tarball with gcc in it, and I'll try to build.

The current build is failing very quickly, but not because of the tar problem I
thought it was.

Dave

leif

unread,
Apr 28, 2012, 2:28:18 AM4/28/12
to sage-devel
On 27 Apr., 23:14, "Dr. David Kirkby" <david.kir...@onetel.net> wrote:
> On 04/27/12 04:12 PM, Jeroen Demeyer wrote:
>
> > On 2012-04-27 16:43, David Kirkby wrote:
> >> it fails very early on, as the version of GNU tar on there is unable
> >> to extract the tar files produced by the Sage community.
> > Did you manage to actually extract the Sage source tarball?
>
> It seems my memory had failed me - it was not the tar extraction what failed.
>
> Given I have only an old tools on this (gcc 3.4.6, make 3.80, tar 1.14), can you
> give me the link to a complete tarball with gcc in it, and I'll try to build.

The GCC 4.6.3 spkg is included as a standard spkg since 5.0.beta13, so
you can just grab beta14:

http://boxen.math.washington.edu/home/release/sage-5.0.beta14/sage-5.0.beta14.tar


-leif

P.S.: Do you happen to have some *64-bit* PowerPC running AIX?

David Kirkby

unread,
Apr 28, 2012, 3:08:21 AM4/28/12
to sage-...@googlegroups.com
On 28 April 2012 07:28, leif <not.r...@online.de> wrote:

>> Given I have only an old tools on this (gcc 3.4.6, make 3.80, tar 1.14), can you
>> give me the link to a complete tarball with gcc in it, and I'll try to build.
>
> The GCC 4.6.3 spkg is included as a standard spkg since 5.0.beta13, so
> you can just grab beta14:
>
> http://boxen.math.washington.edu/home/release/sage-5.0.beta14/sage-5.0.beta14.tar

Thank you.

>
>
> -leif
>
> P.S.: Do you happen to have some *64-bit* PowerPC running AIX?


No, only 32-bit PPC running AIX 5.3. But there is

http://www.metamodul.com/10.html


Dave
Reply all
Reply to author
Forward
0 new messages