From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 65F4E3858C41; Tue, 26 Dec 2023 04:48:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65F4E3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703566084; bh=TSC8KVhM3yHaPkhCyx3cBHlxrSfLp8ZUwKyyHZTJoTY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cbSnzFzM8W/z2iYxQ+SDo4vN+DBJcCHsZq5BuUzZZreM1iC0QC8jQu7P5dnSq0T8H ZhUHTAuKJDVmmNKpyY3wI3TlEIot45Wgs78xOUFg1pFlKwxkC8NFxTlFsDw7ihHXLe doUG9TZHjJXg7AXUXKctwAd0T7hJhe0ESvMadnbQ= From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/113143] Remove usage of ucontext.h Date: Tue, 26 Dec 2023 04:48:03 +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: ian at airs 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 #2 from Ian Lance Taylor --- Note that except on x86_64 GNU/Linux, libgo requires the makecontext, getcontext, and setcontext functions that are declared in ucontext.h. Ther= e is no adequate replacement for those functions on strict POSIX systems. (On x86_64 GNU/Linux libgo provides assembler versions of those functions (in libgo/runtime/go-context.S) that are more efficient for libgo's purposes.)=