[comp.sources.bugs] Perl 2.0 problem

tim@attdso.att.com (Tim J Ihde) (01/31/89)

I'm having difficulty getting perl 2.0 patchlevel 0 to work on my machine.
We have a 3B2/600 running SysV 3.1.1.

Configure runs as expected, and everybody compiles fine.  However, when I
try to run the tests in the t directory, I run into problems.  The base
tests run up until base.lex, which gives me:

1..7
#1	:x: eq :x:
ok 1
ok 2
not ok 3
ok 4
ok 5
7964: terminated with signal 10 -- core dumped

At which point the test script gives up - reasonably, given that the parser
appears to be malfunctioning.

Am I missing some patches?  We just downloaded this from the archives recently,
so I wouldn't be suprised.  (How long does something of this complexity usually
last at patchlevel 0?)

Barring that, would someone please point and laugh at my mistake?

	tim
-- 
Tim J Ihde				INTERNET:   tim@attdso.att.com
(201) 898-6687				UUCP:	    att!attdso!tim
"Blimey - this redistribution of wealth is more complicated than I'd thought!"
		- Dennis Moore and various Presidents

tim@attdso.att.com (Tim J Ihde) (02/08/89)

In article <4349@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes:
>In article <744@attdso.att.com> tim@attdso.att.com (Tim J Ihde) writes:
>: Am I missing some patches?  We just downloaded this from the archives
>: recently, so I wouldn't be suprised.
>
>There are 18 patches for 2.0 perl.

I retrieved all the patches from your server, and applied them in turn.
However, I still got the core dump when running base.lex.  After trying
various things, I decided to try compiling again with -g and running under
sdb.  Low and behold, this fixed the problem.  More specifically, removing
the -O for debugging solved the problem.

In other words, be cautious with the optimizer when compiling perl on a
3B2/600 running System V 3.1.1.  It looks like there are problems.  You
might want to consider asking the installer in Configure if (s)he wants
to use the optimizer or not.

>(By the way, I'm posting this from the terminal room at USENIX.  Fun!)

Gee, some guys get all the excitement. :-)

>Larry Wall

	tim
-- 
Tim J Ihde				INTERNET:   tim@attdso.att.com
(201) 898-6687				UUCP:	    att!attdso!tim
"Blimey - this redistribution of wealth is more complicated than I'd thought!"
		- Dennis Moore and various Presidents