diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-13 14:22:45 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-13 14:22:45 +0000 |
commit | b7a204175abb9441225e42d993ad40f9ea688652 (patch) | |
tree | d06a62d61d1610e25c66aa1d3aad8f2e2120c6fa /hints | |
parent | caf85fe8439bfc0ff87181eff62bb3b5ad8c826d (diff) | |
download | perl-b7a204175abb9441225e42d993ad40f9ea688652.tar.gz |
Workaround for the buggy ("internal compiler error")
AIX C compiler 5.0.1.0: skip the optimization for regcomp.c
(and ext/re/re_comp.c). The MakeMaker dark magic courtesy
of Andreas König.
p4raw-id: //depot/perl@9124
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index b14aad0e99..31d189f5d9 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -138,8 +138,25 @@ case "$cc" in optimize='none' ;; 4.4.0.0|4.4.0.1|4.4.0.2) - echo >&4 "*** This C compiler ($ccversion) is outdated." - echo >&4 "*** Please upgrade to at least 4.4.0.3." + cat >&4 <<EOF +*** +*** This C compiler ($ccversion) is outdated. +*** +*** Please upgrade to at least 4.4.0.3. +*** +EOF + ;; + 5.0.1.0) + cat >&4 <<EOF +*** +*** This C compiler ($ccversion) is known to have optimizer problems +*** when compiling regcomp.c. +*** +*** Disabling optimization for that file but consider upgrading +*** your C compiler. +*** +EOF +regcomp_cflags='optimize=' ;; esac esac |