andersp@daimi.dk (Anders Pilegaard) (01/12/90)
We have an installation with sun-2's, sun-3's, sun-4's and hp-9000's running perl. After installing patch 7 & 8 some PERL-scripts started dumping core. Some scripts even produced wrong results ! Running them under perl -d produced strange error messages concerning memory allocation, alternately running without errors at all. It seems to be the patch to restore registers after longjmp's that provoked this behaviour. At our site we have solved the problem by compiling 'cmd.c' with JMPCLOBBER defined. As far as we can tell, this problem manifests itself on all of our machines, albeit in different disguises. Anders Pilegard (andersp@daimi.dk) ------------------ Changes -------------------- *** cmd.c Fri Jan 12 12:53:50 1990 --- cmd.c.orig Fri Jan 12 12:53:49 1990 *************** *** 38,44 **** /* do longjmps() clobber register variables? */ ! #if defined(cray) || defined(__STDC__) || defined(sun) || defined(hpux) #define JMPCLOBBER #endif --- 38,44 ---- /* do longjmps() clobber register variables? */ ! #if defined(cray) || defined(__STDC__) #define JMPCLOBBER #endif --------------------------------------------------