[comp.lang.perl] DECStation 3100 problems...

patrick@themis.cs.umass.edu (Patrick Healy) (09/06/90)

I've been trying to install patches 19..28 on a DECStation 3100 and it's
failing TEST in op.eval #7 and op.search #40,41,42.  I went back and
recompiled [t]*{toke,eval}.c with -Olimit set to 3000 as CC had complained in
these modules (there may have been others that I also recompiled).  It still
didn't help.  I gather from catching the tail end of a discussion here that
all is not well with the optimizer in the DECStation 3100 camp.

Could someone fill me in on what needs to be done to get the newer version
working?  I'd be really grateful.

Thanks,
Pat.

Pat Healy,
Dept. of Computer Science,
Univ. of Massachusetts,
Amherst, MA 01003

meissner@osf.org (Michael Meissner) (09/06/90)

In article <19469@dime.cs.umass.edu> patrick@themis.cs.umass.edu
(Patrick Healy) writes:

| I've been trying to install patches 19..28 on a DECStation 3100 and it's
| failing TEST in op.eval #7 and op.search #40,41,42.  I went back and
| recompiled [t]*{toke,eval}.c with -Olimit set to 3000 as CC had complained in
| these modules (there may have been others that I also recompiled).  It still
| didn't help.  I gather from catching the tail end of a discussion here that
| all is not well with the optimizer in the DECStation 3100 camp.
| 
| Could someone fill me in on what needs to be done to get the newer version
| working?  I'd be really grateful.

You have a couple of options:

   1)	Use GCC with my patches installed and optimize it (works with
	-O -fstrength-reduce -finline-functions -fomit-frame-pointer
	and -mgpOPT options).  Gcc 1.38 will contain the fixes needed,
	but not the patches that allow you to debug local variables.
	I now use perl patchlevel 28 as a test suite.

   2)	Don't optimize.  I don't remember offhand which are the
	modules you shouldn't optimize with the 1.31 and 2.00 MIPS
	compilers.

   3)	Install the 2.10 MIPS compilers that are rumored to fix these
	problems, and are supposed to be on the latest Ultrix 4.00
	patch tape.  I have not seen the 2.10 compiler suite, so this
	is second hand information.

This is certainly a candidate for a FAQ list (and probably the generic
dbm doesn't work with GCC 1.xx on a Sparc).
--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

Do apple growers tell their kids money doesn't grow on bushes?

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (09/07/90)

Undefining d_volatile in config.sh may also help.

Larry