pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: go14 build failure



On Sun, Oct 01, 2017 at 04:48:30PM +0100, Robert Swindells wrote:
> 
> Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> >Just trying to build (current) lang/go14 on -current/amd64, I see:
> >
> >===> Building for go14-1.4.3nb5
> >...
> >
> >/doc
> >go/build
> >cmd/go
> >SIGSYS: bad system callpanic during panic
> 
> [snip]
> 
> >Anyone else see this?
> 
> Builds fine for me.
> 
> Total guess - go14 isn't using the correct versioned symbols for
> syscalls and your kernel is missing some COMPAT_ options that
> are needed to let the original named syscalls work.
> 
> Are you using a custom kernel or GENERIC ?

Your guess is spot on! I was running a kernel with no compat at all.
Tried adding

include         "conf/compat_netbsd70.config"

but that wasn't enough, so I went all the way to netbsd15.config, and
then managed to compile go14.

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index