From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BDAF03858D35; Wed, 27 Dec 2023 02:31:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDAF03858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703644287; bh=yfE8fZqGSkFPgJzz7GmDq4Pqy9Z5644S10Gkvt67ZS0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TwjitPiJOboUzOqAHQ5QRk0XbDzc67DkSMkTyT+/PNnoyyCrP8DmpJI/6DMr9EoIT d43HEp0U21ORJzGmOsyv3xOyx1Carn4p0eBLuzdpFLj38A9Wgk66Hj0BhCvbeBgO6/ rAt6/+y8yZF6b3Y8ChiIo0sLJVvv2B+Fe5Gpu+K4= From: "kallisti5 at unixzen dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/113143] Remove usage of ucontext.h Date: Wed, 27 Dec 2023 02:31:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kallisti5 at unixzen dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: 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: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113143 --- Comment #5 from Alexander von Gluck --- > I understand that makecontext/getcontext/setcontext were removed from POS= IX. However, there is no adequate replacement. Their functionality is abso= lutely required for what libgo does. No Linux-specific code calls these in gccgo, or upstream go. Only FreeBSD, Solaris, and OpenBSD. Thus my question, why is ucontext.h referenced in cross-platform code when signal.h will suffice?=