Subject: Re: awk dumping core on -current snapshot
To: Hugh Graham <hugh@openbsd.org>
From: Tillman Hodgson <tillman@seekingfire.com>
List: port-vax
Date: 07/19/2004 13:36:15
On Mon, Jul 19, 2004 at 11:53:45AM -0700, Hugh Graham wrote:
> On Mon, Jul 19, 2004 at 12:05:37PM -0600, Tillman Hodgson wrote:
> > Howdy folks,
> >
> > awk is dying on my vax using the June 23/04 snapshot, which makes
> > building many of the ports in pkgsrc rather interesting ;-)
> >
> > Doing variable substitutions on .SH files...
> > [1] Illegal instruction (core dumped) awk "{print \$1}... |
> > Done grep "\\.SH\$"
> >
> > Is this a known problem?
>
> IIRC NetBSD recently switched to nawk, which makes frequent use
> of modf(), which on vax is implemented with the emodd instruction.
>
> Unfortunately, most newer vaxes lack this instruction. You can
> confirm that with gdb on the core and seeing what instruction
> lies under the PC.
I'll take a look at that after I'm done unrolling a newer (July 12)
-current build and report back to the list.
> Rambling on assuming it is indeed emodd, Brandon did write kernel
> emulation for it a while back, which has been incorporated into
> NetBSD. Was your kernel built with NO_INSN_EMULATE defined?
I'm using a base (no X) install with the generic kernel. I haven't yet
gotten to the point of having much done with the box -- mit-krb5 is
currently unbuildable with the awk problem. Currently, all I have on the
vax is:
bash-2.05b# pkg_info -a
digest-20021220 Message digest wrapper utility
bash-2.05.2.7nb2 The GNU Bourne Again Shell
vim-share-6.3.0 Data files for the vim editor (vi clone)
vim-6.3.0 Vim editor (vi clone) without GUI
m4-1.4nb1 GNU version of Unix m4 macro-processor
-T
--
"The purpose of IT is to seamlessly and transparently provide the other
nine-tenths of the Application Development iceburg for people who need
to work with chunks floating ice."
-- Strata R. Chalup