From nobody Sun Jun 1 05:05:16 2025 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b94fk6Z4Vz5x4gy for ; Sun, 01 Jun 2025 05:05:18 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b94fk60d3z3vxc for ; Sun, 01 Jun 2025 05:05:18 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTPS id LM3KuYqNk9JM2LasouGW3Q; Sun, 01 Jun 2025 05:05:18 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id LasnuuWf8WbOaLasnuzlL0; Sun, 01 Jun 2025 05:05:18 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=Q5lx4J2a c=1 sm=1 tr=0 ts=683bdf8e a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=dt9VzEwgFbYA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=VxmjJ2MpAAAA:8 a=YxBL1-UpAAAA:8 a=1j8dB7IBXbHrE8q42MIA:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=7gXAzLPJhVmCkEl4_tsf:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id D704911B; Sat, 31 May 2025 22:05:16 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id BED6410D; Sat, 31 May 2025 22:05:16 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Cy Schubert cc: Konstantin Belousov , "Herbert J. Skuhra" , current@freebsd.org Subject: Re: Building lang/go* and go ports broken on main (amd64)? In-reply-to: <20250601041116.0A5642A9@slippy.cwsent.com> References: <87jz5y2njf.wl-herbert@gojira.at> <20250601041116.0A5642A9@slippy.cwsent.com> Comments: In-reply-to Cy Schubert message dated "Sat, 31 May 2025 21:11:15 -0700." List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 31 May 2025 22:05:16 -0700 Message-Id: <20250601050516.BED6410D@slippy.cwsent.com> X-CMAE-Envelope: MS4xfCxvNs0CAovazK6yDPJwv7xMREZAYrEajaIs1HR+iLBClZuj97zATEfg0yKhUnMrnT43JFNFekIGaml1qEr0PqLnbhJk/lBH7/hE8XPGpqYAEWPhGmiG iVpGjmck5sQF9OF/b5KU5mXKjPXNXfcyRrGVCqB+ahf1jiSPOGTtrEABHNCP6bDHF6qM+tJnMQEzBkihqhQaTmoXsFL3KT2PPfEw0EqhNKutPRAJq46itac1 2gp1TswIvPOLXy8hCCo5l8TLPRboenLJms36C1LOPjQ= X-Rspamd-Queue-Id: 4b94fk60d3z3vxc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] In message <20250601041116.0A5642A9@slippy.cwsent.com>, Cy Schubert writes: > In message , 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 mai > n > > > > > (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 re > bu > > ild > > > > at least kernel, but ideally both kernel and userspace. Also it is amd > 64 > > -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? > > > > 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 > > The go problem is likely related to this. The resolution is: git pull the latest 15-CURRENT. Buildkernel and installkernel. Then buildworld and installworld. Remember to rebuild drm-66-kmod or it will panic. Any Go software will build correctly. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0