Changes between Version 1 and Version 3 of Ticket #10979


Ignore:
Timestamp:
03/23/11 10:14:05 (9 years ago)
Author:
drkirkby
Comment:

Replying to fbissey:

I probably don't have the update in question installed, of course I am not currently set up to build sage on aix either.

It appears the bug is seen on at least AIX 5.3 (which I run) and AIX 6.1. I don't know about the latest 7.1, which was released in September 2010. (There never was an AIX 7 or AIX 7.0. IBM went from AIX 6.1 to AIX 7.1).

Anyway the patch is trivial and indeed should solve the problem. Of course we'll probably hit the issue again in some other packages (polybori comes on the top of my head as building with -g by default, I could be wrong).

The bug only occurs if the source code has uninitialised static variables, so PolyBoRi might not be affected.

But the issue does get hit elsewhere. Some packages are not so easy to fix. The GSL is one such package (#10000). Whilst GSL has some other issues on AIX (which I can fix easily with patches which have been accepted upstream), the debugging information one is not so easy to fix. Setting CFLAGS to include -g0 just results in

gcc -g0 -g foo.c

so the GSL configure script adds the "-g" after any attempt to put "-g0". So one can't easily avoid building GSL without debugging information. No doubt I could hack the configure script

IBM aix is starting to scare me.

the problem with the OS is that it is not very popular, so most people don't test their open-source code on AIX. But IBM make some really fast hardware, with clock speeds of at least 5 GHz - not that I personally own anything in that league.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10979

    • Property Status changed from needs_review to positive_review
  • Ticket #10979 – Description

    v1 v3  
    66 * A fairly wide mixture of disks sizes (3 x 9 GB, 1 x 18 GB, 2 x 36 GB and 1 x 73 GB)
    77 * DDS-4 tape drive
    8  * AIX 5.3 (A POSIX certified operating system)
     8 * AIX 5.3 (A POSIX certified operating system). Updated with Technology level 12, service pack 2, released on the 36^th^ week of 2010). i.e. running 5300-12-02-1036.
    99
    1010the build of Sage sage-4.7.alpha1 fails with: