From nobody Sun Jun 01 04:11:15 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 4b93ST2w67z5y15F for ; Sun, 01 Jun 2025 04:11:21 +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 4b93SR56DPz45PF for ; Sun, 01 Jun 2025 04:11:19 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of cy.schubert@cschubert.com designates 3.97.99.32 as permitted sender) smtp.mailfrom=cy.schubert@cschubert.com; dmarc=permerror reason="p tag has invalid value: quarantine rua=mailto:p[ostmaster@cschubert.com" header.from=cschubert.com (policy=permerror) Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id LMQhuYrH29JM2La2YuGFi7; Sun, 01 Jun 2025 04:11:18 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id La2WuzgXOQwcXLa2XuRNjL; Sun, 01 Jun 2025 04:11:18 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=DaW0qetW c=1 sm=1 tr=0 ts=683bd2e6 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=Ds-bGUU_o_NUyYNBjLoA: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 3CF123ED; Sat, 31 May 2025 21:11:16 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 0A5642A9; Sat, 31 May 2025 21:11: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: Konstantin Belousov cc: "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> Comments: In-reply-to Konstantin Belousov message dated "Fri, 30 May 2025 22:02:25 +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 21:11:15 -0700 Message-Id: <20250601041116.0A5642A9@slippy.cwsent.com> X-CMAE-Envelope: MS4xfNuVy26QUqTveepn44eUT3gSe/2tlJMZWsxjGik1Q0eHXJW/sQXnE4jTg+8DPeWYmIkvJNtsD3btvLWJ57sK3Z7haVpwdwefMKgAPtmkBk4Cfg+M6qIU Yhw1hCtrkVK2LdjOktdYQp8nOkHDcDCdkiGmM6XGTeXnLkLJoj1hLDtG8xA8I25U8Tegt0L170TU/I5olY+6/zeOLqSYdO3xV9d+vZNftkYHRA2dIJeJ0Yiq DBSr92CElJFPww9Z2vC6Jy5ZONmyDcDOaG4twHUYd/I= X-Spamd-Result: default: False [1.13 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.993]; NEURAL_SPAM_MEDIUM(0.52)[0.516]; NEURAL_SPAM_LONG(0.51)[0.509]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_BAD_POLICY(0.00)[cschubert.com : p tag has invalid value: quarantine rua=mailto:p[ostmaster@cschubert.com]; FREEMAIL_TO(0.00)[gmail.com]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4b93SR56DPz45PF X-Spamd-Bar: + 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 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 rebu > ild > > > 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? > 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. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0