NetBSD 10 earmv5 issue with awk

John Klos <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hi,

I'm in the process of updating some PogoPlugs that've been running 
amazingly well since the NetBSD 7 days. PogoPlugs use the Marvell Kirkwood 
earmv5 CPU.

The first test upgrade went well and everything works perfectly, so far, 
except awk.

When compiling pkgsrc/pkgtools/pkg_install, awk failed making depends:

...
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
[1]   Segmentation fault (core dumped) ${AWK} -f 
${PKGSRCDIR}/mk/pkgformat/pkg/reduce...
*** Error code 1

gdb gives:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0001d26c in yycheck ()

So I compiled awk with symbols and tried again, and awk failed like so:

assertion "s < f->state_count" failed: file 
"/usr/src/external/historical/nawk/bin/../dist/b.c", line 568, function "pmatch"
[1]   Abort trap (core dumped) ${AWK} -f 
${PKGSRCDIR}/mk/pkgformat/pkg/reduce...

Any ideas why this is happening? If it gives a clue, I think I saw this 
when updating a PogoPlug a year ago, so I just compiled NetBSD for earmv4 
and used that.

Thanks,
John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.