From nobody Mon Jun 2 01:05:45 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 4b9bHw6S6Wz5xCRt for ; Mon, 02 Jun 2025 01:05:48 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b9bHw35zjz3X8X for ; Mon, 02 Jun 2025 01:05:48 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-86d029e2bdeso73112139f.1 for ; Sun, 01 Jun 2025 18:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1748826347; x=1749431147; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9q81ejyvz+3ysoK8T4tr/5lOTcCEci88YYis0r20KLU=; b=fgsdcvSOyqSeic5kGTZujj5EU+ms/JdJD7p+E9wmlM9kjUHj96CiuLfX+w5fJ2Kn8e dOlILtOqxuzEu8uG6GCBwluyOTrOODd/y7WpR5ZOxTgONZvZBkXnIIo7RXA7A3ES6RT0 +fASCAHe6SYJyCQxDE7ytd97y3NH3+d+B5siQHQyIiep8+39hVRQgbJqQVekPiGBT1wz JjkRq/hY3K2hz2KcQrwzG81ipsSExNxRR60HsL54dOE/eXPLR1K5LLsWbeirFMswWP82 uRLs8sZubpSQ6/ZHL4gvxWX9V0oDCy3TEkgNQt41SsirshvSzHZHJp286bQlOJ6sggl7 12NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748826347; x=1749431147; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9q81ejyvz+3ysoK8T4tr/5lOTcCEci88YYis0r20KLU=; b=mhiqy8nMjV6SoxbLYdiI1Mks89nYnaW+CjpCoFwgjASxrR5r3kscRQrNzP5NNe5R/j teXRMJcP+1ffovdsmbnhEjDnSZ+bcy7Jr2sKnk89SeOBall+TTDh4NySli+3XE+fgVaW 8j90ozTYVsIwuH8y1FLV63r099PzoYvO+TyMbOIabwzrSSc4UKyqQ89fFx1xCrT/pedu 2qCcyk/lj8F5qkKTC8757De5yWnTvtIMR1Qf9FZ4mcm29aJVKzkPxVFBVet3Xq/J2t1s soQC6rgIhhtpKb2Ih5R10o+AgW+yvwroW6MvI8LvrX93dRQfpy4T0csCpkDXROc385x3 Xe5g== X-Forwarded-Encrypted: i=1; AJvYcCUTbmT+YnldI4lb18QgrrbvmNZhBDvKmJG7pYh4q/+UFjTBoZgqp7QzqH2VEobF26JbRZEfjUou@freebsd.org X-Gm-Message-State: AOJu0YwyOyzigryNXtDi5LnHlDoPm4k/fnY3QNEnlY6iwTkWLNQJPFNM TYbUDlCj0qSiNz5ZHrnJyxhN0P2+7I+Zmt+C6fCxKypTXThYA6hhGegJQORrGi+U/4o= X-Gm-Gg: ASbGncvsDpZ6A2vce9jUoalwFNF7BalD5SNKLySzYBwz5vM5JcGSAstd919kKS1sB50 2JnUk/tKFPdOrINayiT4oSCnpE94+ftLoEsT0PEBZXTt+elHsYiRvkGioC9enelxkX36GYXlGDY xaUCmXmhFC4oI0K6tOwLdrWCllvaikB8K7V6tdNHoid9NhhHlzOMcBj4EK0VEmzupye16figU20 kPi93RkCZTGMW/1A+A2v4T8Jg52pIMy0RhYAkVbdv3c9Iyp4emes7JJdhP5+1ZBjO4Gn0hjyagh lfx8V2qBPRRMBJ3ajLiGLD8NlfcDPf+j2g== X-Google-Smtp-Source: AGHT+IHcpkO8S0+fQfjPwKRYZF6OrllSbAlgu+quEGgvqC5GG0G2/fqxshhxJbI/5+L/yXf3BP/3tQ== X-Received: by 2002:a92:dc4e:0:b0:3d9:2992:671b with SMTP id e9e14a558f8ab-3dd90c5eaadmr115753425ab.4.1748826346978; Sun, 01 Jun 2025 18:05:46 -0700 (PDT) Received: from mutt-hbsd ([2001:470:4001:1::95]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4fdd7e280acsm1547159173.43.2025.06.01.18.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Jun 2025 18:05:46 -0700 (PDT) Date: Mon, 2 Jun 2025 01:05:45 +0000 From: Shawn Webb To: Cy Schubert Cc: Konstantin Belousov , "Herbert J. Skuhra" , current@freebsd.org Subject: Re: Building lang/go* and go ports broken on main (amd64)? Message-ID: X-Operating-System: FreeBSD mutt-hbsd 14.2-STABLE-HBSD FreeBSD 14.2-STABLE-HBSD HARDENEDBSD-14-STABLE amd64 X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <87jz5y2njf.wl-herbert@gojira.at> <20250601041116.0A5642A9@slippy.cwsent.com> <20250601050659.0295E2A@slippy.cwsent.com> 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hscdpwgmbat274i2" Content-Disposition: inline In-Reply-To: <20250601050659.0295E2A@slippy.cwsent.com> X-Rspamd-Queue-Id: 4b9bHw35zjz3X8X 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:15169, ipnet:2607:f8b0::/32, country:US] --hscdpwgmbat274i2 Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: Building lang/go* and go ports broken on main (amd64)? MIME-Version: 1.0 On Sat, May 31, 2025 at 10:06:58PM -0700, Cy Schubert wrote: > 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: > > > > > >=20 > > > > > > On Fri, May 30, 2025 at 09:36:39AM +0200, Herbert J. Skuhra wro= te: > > > > > > > Hi, > > > > > > >=20 > > > > > > > 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.=20 > > > > > > > Arm64 seems to be OK. > > > > > >=20 > > > > > > I might have a guess. Try the following untested patch, you ne= ed to=20 > > rebu > > > > ild > > > > > > at least kernel, but ideally both kernel and userspace. Also i= t is a > > md64 > > > > -only. > > > > >=20 > > > > > Thanks a lot! With your patch I could build go 1.24 and netbird a= gain. > > > > > > > > Is there any go code that uses cgo, and which you could test with t= he pat > > ch > > > > as well? > > > > > > >=20 > > > It's a bad system call. Yesterday's buildworld/installworld made the = system > > =20 > > > unable to run today's installworld. > > >=20 > > > --- installworld --- > > > make[1]: /export/obj/opt/src/git-src/amd64.amd64/toolchain-metadata.m= k:1:=20 > > > Using cached toolchain metadata from build at stinky on Sat May 31 20= :16:05 > > =20 > > > PDT 2025 > > > --- __installcheck_UGID --- > > > --- __installcheck_sh_check --- > > > Bad system call (core dumped) > > > rescue/sh check failed, installation aborted > > >=20 > > > make[1]: stopped making "installworld" in /opt/src/git-src > > >=20 > > > 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 f= eature > > . > > > > >=20 > > > The go problem is likely related to this. > > No it is not. >=20 > Well, I just built and installed the latest kernel and world. The above= =20 > 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. Thanks, --=20 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/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --hscdpwgmbat274i2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmg8+OIACgkQ/y5nonf4 4fpYvA/8CYzjnDU22ZuD8Uv7TfuBoMxf33AYvAnexWTd1E1naH3LHE64x6G5AeTh HIRfFoW2Y1kGG9uCeuRz8cBAWw/3ksfHUxXMFHD4s28Yxn2pA2A9MCCP5y4mhYxT +cYCGZYGLNX8INb8lbJNNUMaCw7sYuCo1LBZFEKdN56BIbCzIISBEDWqzjwEdLdh 15IG1j/BTXlJ4d5I4nMAfBoFwPB3BPPQDwc+wPK8XfZMm7yAesDOMM7MgfOExewm fY/e00gbiZ6zmnXSuygyXO5Yh1ZphwYWtaYIdb6sV0qaPUixDu1TYgDIwN1oz1aJ Kyceea6BKrGI6rdYa9kdPUo1jjUg5Hmh/I3FxidRNLouimyTZ7c/YCE9gT2UxzrK MUbw2RJfIPpi/4Hzwz/ta8LXmaSCowum3lSDHMQffg5Fu7tb5C9i5Cv2iDmr2I1i eMU/vUN99t8pxE3zPU/c3YnLTlodkKuM1RdD9L8yjjhby1hjsGJYzSQReojyp8hE Cgvt1u03vfnV5jPwI9UTP8QgomnUE48clbYaBtdLbSV9dfryrDX3X4H9CCA2jvlk BUsRlL88tkMSDRvlF/qTO+bwG9uCpAHzbU3EjOgmafg5snwM/nRz6bKErlCUtGpw H62id8MNhurI1waObaoL3W6CsTCDoF2bRwptsZhUx5PtzJMHydQ= =DUsS -----END PGP SIGNATURE----- --hscdpwgmbat274i2--