develooper Front page | perl.perl5.porters | Postings from March 2001

warning: AIX vac.C 5.0.1.0 optimizer error

From:
Jarkko Hietaniemi
Date:
March 8, 2001 06:20
Subject:
warning: AIX vac.C 5.0.1.0 optimizer error
Message ID:
20010308082048.J17121@chaos.wustl.edu
It would seem that in AIX 4.3.1.0 the C compiler vac (which is what
you get with /bin/cc, see /etc/vac.cfg) has an optimizer bug.  When
I tried to compile the latest bleadperl I got this from regcomp.c
(and the same in disguise: ext/re/re_comp.c):

    1500-004: (U) INTERNAL COMPILER ERROR while compiling S_regatom.  Compilation ended.  Contact your Service Representative and provide the following information: GRARNN: gr4712 is used before it is defined.

If I compile those files without -O, I get past the error and
'make all test' completes okay.

I asked a friendly IBM representative to try it out but it worked fine
there, with vac.C 5.0.1.1.  So if on AIX, try out what 'lslpp -L vac.C'
says for you.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About