Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2025 02:22:03 +0000
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>,  "Herbert J. Skuhra" <herbert@gojira.at>, current@freebsd.org
Subject:   Re: Building lang/go* and go ports broken on main (amd64)?
Message-ID:  <hetfltn27p2zsubibxvmmuw522yhse4ojkoxa3o7xvdhcyr26j@necegwful2du>
In-Reply-To: <z6jvn3hg52crfx2pd7kwl7qgrmkfvkuyzgg6cg5ac3pqhto6tr@tjitnnan2kmv>
References:  <aDlgB1gXQISXEOVy@mail.bsd4all.net> <aDmXS10DupVR8M3n@kib.kiev.ua> <87jz5y2njf.wl-herbert@gojira.at> <aDoAwUn7jGs7Ycjq@kib.kiev.ua> <20250601041116.0A5642A9@slippy.cwsent.com> <aDvVT4sy-jCL6B2V@kib.kiev.ua> <20250601050659.0295E2A@slippy.cwsent.com> <z6jvn3hg52crfx2pd7kwl7qgrmkfvkuyzgg6cg5ac3pqhto6tr@tjitnnan2kmv>

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

[-- Attachment #1 --]
On Mon, Jun 02, 2025 at 01:05:45AM +0000, Shawn Webb wrote:
> On Sat, May 31, 2025 at 10:06:58PM -0700, Cy Schubert wrote:
> > In message <aDvVT4sy-jCL6B2V@kib.kiev.ua>, Konstantin Belousov writes:
> > > On Sat, May 31, 2025 at 09:11:15PM -0700, Cy Schubert wrote:
> > > > In message <aDoAwUn7jGs7Ycjq@kib.kiev.ua>, Konstantin Belousov writes:
> > > > > 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 m
> > > ain
> > > > > > > > (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 
> > > rebu
> > > > > ild
> > > > > > > at least kernel, but ideally both kernel and userspace.  Also it is a
> > > md64
> > > > > -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 pat
> > > ch
> > > > > as well?
> > > > >
> > > > 
> > > > It's a bad system call. Yesterday's buildworld/installworld made the system
> > >  
> > > > unable to run today's installworld.
> > > > 
> > > > --- installworld ---
> > > > make[1]: /export/obj/opt/src/git-src/amd64.amd64/toolchain-metadata.mk:1: 
> > > > Using cached toolchain metadata from build at stinky on Sat May 31 20:16:05
> > >  
> > > > PDT 2025
> > > > --- __installcheck_UGID ---
> > > > --- __installcheck_sh_check ---
> > > > Bad system call (core dumped)
> > > > rescue/sh check failed, installation aborted
> > > > 
> > > > make[1]: stopped making "installworld" in /opt/src/git-src
> > > > 
> > > > make: stopped making "installworld installkernel" in /opt/src/git-src
> > > You installed world on the old kernel.
> > > The UPDATING way of update must be followed to letter with the exterr feature
> > > .
> > >
> > > > 
> > > > The go problem is likely related to this.
> > > No it is not.
> > 
> > Well, I just built and installed the latest kernel and world. The above 
> > problem is fixed and so is the Go problem.
> 
> Building a lang/go124 in a 14-STABLE Poudriere jail on a 15-CURRENT
> host is still broken.

I apologize. I was looking at the wrong build logs. lang/go124 did
indeed build successfully.

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

Signal Username:  shawn_webb.74
Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50
https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmg9CsMACgkQ/y5nonf4
4fpWLg/+OCGGtqyu8iBfRNTZBh621OgQICSby3p5b4eawTXGV7ISxpYJxeR5G38i
04B3HPUG0q1xzFyI4v1VnrhEgaru4QCD6OtvWlQq9dXvsEOsmO9TjcYuBq2ujVhY
U/R8DwsYW+y79hn+jQt64yHO/DC4RJbJGFrtlQaXBr005wSrKl+H63AbNN0lhrz3
x9Uv8Jylc7rSt71KzGWPKv4nzUyVFJ2TuAiUXQm06GYvqp1eBJ4rEU3KMLt6lLBu
x8BUat1GS1FkhK7Ru0zHHToX93JRiWVDZghsBOhHNe27DLHozlqgrnkaByNAQ1BW
RTFdEocZHhbdXKVBN/xKF7JBPJKGJpkC2yE2q8mx7QzR9ACGgdN0qndXrLZ0cI7L
07k8wB4AhmBh/R/2DEuB6+bGjk7MmIuy05tnf1Cf/AbNP6itMWowfvzxmYya/oGT
oeOZALEUHK4Xvuk6LDtydRTWZorY/sGjYNcNOFihYhDokP2EotQsgJWwp+eo05Zo
/WAhLiC+gVNT8wLEx1O/r9Ff7crHXUvwNjzN1WhEUltHSUf/E3HKZo09OwmCZJbZ
+QXey6gA/WRi4eQAanFtRQ8HcfhgZX0u9upUevxqoDVgZEhbndYCbTTiZd6OqtWE
VD/tv4lwUHu11hBjL/FFlLhhmANaNa6XSR+h6q22SolslLuKNy0=
=10cY
-----END PGP SIGNATURE-----
help

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