From nobody Sun Dec 15 03:37:27 2024 X-Original-To: go@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 4Y9pfw1GTdz5hC1M for ; Sun, 15 Dec 2024 03:37:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y9pfv5qq3z4vZl for ; Sun, 15 Dec 2024 03:37:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734233847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b+RBiYWKY/4hRdVecoR+gXaTvpIToWM6xAhl7kqKFvk=; b=YHdkUSCDBUR7BEcSh+/kS0uAe4Y0FdYZBkr+Tnmz+Y3+fPAp51cNS+cbfe2DqAfNJZDykI JQlPXqnrUZjXSSEHuULedfVDA/nHsCXo345/B5WBrCO2tvwkxibUXngaksz9arg8IM8g/n nt+xLAqwQlO/orwEwaA0ji5turXiSqyVP6ZtaqkBxZwOWor7vOmHzrQQFYuJmbu+iwxQcv yMhHDmr7h0YjVppp0MIHTyaBP/Kz6VjjQ/JJ7TRu5gfJ1Hm4sXVpCN8ujAdrWWXLqgOYTo T9iXWWcHInQBPqgRpTwguN5TcV1yR3i6VjqvvP2FCIz620S4btu9BhHBYOOPzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734233847; a=rsa-sha256; cv=none; b=RwRyZNNkIT9M2UZVw/cfNo9NfcA1i4RKNWIPxLegDBLrhl2DeJ/BS8F+sDB1nkqrLYHuLh dhnHn8+aORIa68UJRA2NrneupnxQ1upS5efD38W00YL2hsrjYnF1i7I4V0NcGtmV6I7cX9 JsvGYauRcBlvLhFrppxQAodZ+jE0NEp0hdJn6TFZpK5E8s+SIDjcQvHJRgzXlMEeliB1ax seipbvraMMkhJM7q1YAHe/FL2fphfti4DPXCvhYguailJRW0CJsg2NkK5UlCu0N1LlbQWe o8bVPL2aUzluNfG7movlTA23M84KeGbsEdxcoBgcnO20JUml959cwvD26vkI2Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y9pfv4zfxzrS2 for ; Sun, 15 Dec 2024 03:37:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BF3bRCm032340 for ; Sun, 15 Dec 2024 03:37:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BF3bRlx032339 for go@FreeBSD.org; Sun, 15 Dec 2024 03:37:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: go@FreeBSD.org Subject: [Bug 283314] lang/go building go app immediately fails at compile "unexpected return pc for cmd/compile/internal/ssa.Compile" Date: Sun, 15 Dec 2024 03:37:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: git@mikewatkins.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: go@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Go language ports maintenance List-Archive: https://lists.freebsd.org/archives/freebsd-go List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-go@freebsd.org Sender: owner-freebsd-go@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283314 --- Comment #1 from Mike Watkins --- Further looking into this reveals that other non-trivial Go application bui= lds fail on Vultr in similar manner until the flag GODEBUG=3Dasyncpreemptoff=3D= 1 is included. The exact module where compile fails varies; successful builds are cached, = so the next failure will be unpredictable.=20 The VM was constructed from a 14.1-RELEASE ISO, nothing special. 2 vCPUs, 2= GB RAM completely under-subscribed. It was then updated to 14.2-RELEASE recent= ly; the problem existed before and after the update and exists using the pkg Go= and the most current version direct from the Go project. A Linux QEMU issue that seems similar: https://github.com/golang/go/issues/69255 From https://pkg.go.dev/runtime: asyncpreemptoff: asyncpreemptoff=3D1 disables signal-based asynchronous goroutine preemption. This makes some loops non-preemptible for long periods, which may delay GC and goroutine scheduling. This is useful for debugging GC issues because it also disables the conservative stack scanning used for asynchronously preempted goroutines. --=20 You are receiving this mail because: You are the assignee for the bug.=