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

warning: AIX vac.C optimizer error

Jarkko Hietaniemi
March 8, 2001 06:20
warning: AIX vac.C optimizer error
Message ID:
It would seem that in AIX 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  So if on AIX, try out what 'lslpp -L vac.C'
says for you.

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About