The patch here modifies an existing hack to turn off compiler
optimizations when building this extension with DEC/Compaq C on
OpenVMS VAX. Previously, compiler versions later than 5.3 were
allowed to attempt an optimized compile, but a recent report of an
endlessly looping build with Compaq C 6.4 suggests the compiler bug
that prevents the optimization from converging is still (or again)
present. The compile has always worked fine on Alpha.
--- ext/Digest/MD5/Makefile.PL;-0 Sat Jun 1 12:02:54 2002
+++ ext/Digest/MD5/Makefile.PL Sat Jun 8 22:51:04 2002
@@ -13,7 +13,8 @@
my @optimize = ();
if ($^O eq 'VMS') {
if (defined($Config{ccname})) {
- if ($Config{ccversion} <= 50390006 && grep(/VMS_VAX/, @INC) &&
($Config{ccname} eq 'DEC')) {
+ if (grep(/VMS_VAX/, @INC) && ($Config{ccname} eq 'DEC')) {
+ # VAX compiler optimizer even as late as v6.4 gets stuck
@optimize = ("OPTIMIZE","/Optimize=(NODISJOINT)");
}
}
[end of patch]
--
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser