Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2025 22:02:25 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        "Herbert J. Skuhra" <herbert@gojira.at>
Cc:        current@freebsd.org
Subject:   Re: Building lang/go* and go ports broken on main (amd64)?
Message-ID:  <aDoAwUn7jGs7Ycjq@kib.kiev.ua>
In-Reply-To: <87jz5y2njf.wl-herbert@gojira.at>
References:  <aDlgB1gXQISXEOVy@mail.bsd4all.net> <aDmXS10DupVR8M3n@kib.kiev.ua> <87jz5y2njf.wl-herbert@gojira.at>

index | next in thread | previous in thread | raw e-mail

On Fri, May 30, 2025 at 04:14:44PM +0200, Herbert J. Skuhra wrote:
> On Fri, 30 May 2025 13:32:27 +0200, Konstantin Belousov wrote:
> > 
> > On Fri, May 30, 2025 at 09:36:39AM +0200, Herbert J. Skuhra wrote:
> > > Hi,
> > > 
> > > building lang/go (e.g. 1.24) and go ports (e.g. aerc, netbird) on main
> > > (amd64) fails with: fatal: bad g in signal handler. 
> > > Arm64 seems to be OK.
> > 
> > I might have a guess.  Try the following untested patch, you need to rebuild
> > at least kernel, but ideally both kernel and userspace.  Also it is amd64-only.
> 
> Thanks a lot! With your patch I could build go 1.24 and netbird again.

Is there any go code that uses cgo, and which you could test with the patch
as well?


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aDoAwUn7jGs7Ycjq>