Subject: Re: perl problem with NetBSD 1.5
To: Anders Magnusson <ragge@ludd.luth.se>
From: Scott Reynolds <scottr@clank.org>
List: port-vax
Date: 03/16/2001 08:44:57
  by mail.netbsd.org with SMTP; 15 Mar 2001 15:20:06 -0000
          by priv-edtnes12-hme0.telusplanet.net
          (InterMail vM.4.01.03.10 201-229-121-110) with ESMTP
          id <20010315151933.TPKB13529.priv-edtnes12-hme0.telusplanet.net@argus.oxide.org>;
          Thu, 15 Mar 2001 08:19:33 -0700
	by argus.oxide.org (8.11.2/8.10.1) id f2FFH4j17108;
	Thu, 15 Mar 2001 07:17:04 -0800 (PST)
From: Hugh Graham <hugh@openbsd.org>
Date: Thu, 15 Mar 2001 07:17:04 -0800
To: Anders Magnusson <ragge@ludd.luth.se>
Cc: NetBSD mailing list <nbsd@righi.df.unibo.it>, port-vax@netbsd.org
Subject: Re: perl problem with NetBSD 1.5
Message-ID: <20010315071704.A18825@argus.oxide.org>
References: <Pine.BSO.4.21.0103151120450.22306-100000@righi.df.unibo.it> <200103151040.LAA04196@father.ludd.luth.se>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <200103151040.LAA04196@father.ludd.luth.se>; from ragge@ludd.luth.se on Thu, Mar 15, 2001 at 11:40:16AM +0100

I think this was probably an EMODD. I just tested this script under
OpenBSD-current and it worked fine. I expect it'd probably work
with a recent NetBSD snap too.

FWIW we were goaded into implementing EMODD only because our tree
depends on perl and nawk, both of which use libc modf().

See: lib/libc/arch/vax/gen/modf.S

/Hugh

On Thu, Mar 15, 2001 at 11:40:16AM +0100, Anders Magnusson wrote:
> I think it is one of the missing adressing modes for POLYD that is
> causing this problem. I haven't had time to search for it yet, though.
> 
> -- Ragge
> 
> > 
> > mrtgcfgmaker --global "WorkDir: /usr/pkg/share/httpd/htdocs/mrtg/work" \
> > --global "Options[_]: growright,bits" --ifref=ip  \ 
> > public@xx.yy.it > mrtg.conf
> > --base: Get Device Info on public@xx.yy.it:
> > Illegal instruction (core dumped)
> > 
> > Core was generated by `perl'.
> > Program terminated with signal 4, Illegal instruction.
> > #0  0x20df52e in ?? (-625127799, -1475336178, 2147482208)
> > 
> > (gdb) x/i $pc
> > 0x20df52e:      Cannot access memory at address 0x20df52e.
> > 
> > thank you a lot
> > 
> > Rick
> > 
> > 
> > 
> > On Wed, 14 Mar 2001, Hugh Graham wrote:
> > 
> > > On Wed, Mar 14, 2001 at 05:30:23PM +0100, NetBSD mailing list wrote:
> > > > 
> > > > I have NetBSD 1.5 on 4000/90
> > > > When I run the cfgmaker from the mrtg program the program crashes.
> > > > 
> > > What signal did it crash on?
> > > 
> > > Run gdb on the crash and report the "Program terminated" line.
> > > 
> > > Also report output of:
> > > 
> > > (gdb) x/i $pc
> > > 
> > 
> > 
>