From nobody Sun Jun 01 05:06:58 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 4b94hj2061z5x4Y3 for ; Sun, 01 Jun 2025 05:07:01 +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 4b94hj1CvLz3xlH for ; Sun, 01 Jun 2025 05:07:01 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTPS id LJEEuYkt79JM2LauSuGWXq; Sun, 01 Jun 2025 05:07:00 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id LauRupPLvl5eGLauSu9koz; Sun, 01 Jun 2025 05:07:00 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=EO6l0EZC c=1 sm=1 tr=0 ts=683bdff4 a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=dt9VzEwgFbYA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=3e1IelBXhFS-CiCZtrgA:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 07AD9A1; Sat, 31 May 2025 22:06:59 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 0295E2A; Sat, 31 May 2025 22:06:59 -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: Konstantin Belousov cc: Cy Schubert , "Herbert J. Skuhra" , current@freebsd.org Subject: Re: Building lang/go* and go ports broken on main (amd64)? In-reply-to: References: <87jz5y2njf.wl-herbert@gojira.at> <20250601041116.0A5642A9@slippy.cwsent.com> Comments: In-reply-to Konstantin Belousov message dated "Sun, 01 Jun 2025 07:21:35 +0300." 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:06:58 -0700 Message-Id: <20250601050659.0295E2A@slippy.cwsent.com> X-CMAE-Envelope: MS4xfN8hQ6tUz6KacZ8O2WNv3NMA5IigmrPtJL/ncy+cDSS9r9pSkFb/7brHT26mO45mB6Jic6qgER3YrofNccWFW3NxzHL6aBH9gxqfhEi8hOjREDQ02tlZ iswA6PVyD5s4aJ7jqiQAqkwHpXOQq1RtDif2lv9iFwCM87bhmc5IYK63ffifuUPhf0a5czzqtoiy4J4hvEhJEpFIuuET+Lho/VDeZ5HQ6FdDCfE3HKea+37c ONAbAvUrO9mc4nk1/KJxhZNlrwV5n+YnVYxBIIZjo1E= X-Rspamd-Queue-Id: 4b94hj1CvLz3xlH 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 , Konstantin Belousov writes: > On Sat, May 31, 2025 at 09:11:15PM -0700, Cy Schubert wrote: > > 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 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. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0