From nobody Fri May 30 19:02:25 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 4b8CKl3jfXz5y1XR for ; Fri, 30 May 2025 19:02:35 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4b8CKl0Xg7z3Pll for ; Fri, 30 May 2025 19:02:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 54UJ2Q2K014332; Fri, 30 May 2025 22:02:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 54UJ2Q2K014332 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 54UJ2Pw8014331; Fri, 30 May 2025 22:02:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 30 May 2025 22:02:25 +0300 From: Konstantin Belousov To: "Herbert J. Skuhra" Cc: current@freebsd.org Subject: Re: Building lang/go* and go ports broken on main (amd64)? Message-ID: References: <87jz5y2njf.wl-herbert@gojira.at> 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 Content-Disposition: inline In-Reply-To: <87jz5y2njf.wl-herbert@gojira.at> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home 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:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Queue-Id: 4b8CKl0Xg7z3Pll X-Spamd-Bar: ---- 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?