| Message ID | 20250916070028.26931-1-iain@sandoe.co.uk |
|---|---|
| State | Committed |
| Commit | f94a461641b9415c29fb58779ec5f82759626d77 |
| Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B887E385743A for <patchwork@sourceware.org>; Tue, 16 Sep 2025 07:01:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B887E385743A Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=NduQPVOO X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id ABBDB3857733 for <gcc-patches@gcc.gnu.org>; Tue, 16 Sep 2025 07:00:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ABBDB3857733 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ABBDB3857733 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1758006033; cv=none; b=CrqlSZ1WnKp7lMnYHXGC9efbmWIewfz5seUczCGr7/ScIFfTLlcodZf1cHjcjlZgXwfUDhL440G7gxY23bl2UL9oGq33Lp84ZNQrIe61HZUVS4++JGOMrN3iJDZONgJ2gSwP3TnJ/lI6o7TN1WzojKKv1lm5bT/ETWSRs+98cIA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1758006033; c=relaxed/simple; bh=xMzrH5C1Fixq1AzjQK3SxbOM9EdzdmODhIDCGVJRhUs=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=VT+cnXnH5yQNbk6iNjCCTqN1nrG7HtJmzHZCOWJRZ0PzAyOzjXJhAYFC7CRrBdAe17g3f8HHlXjcCTvPJWIajRTbiWqKke1Y7wzlNAl2UQlX16yyDJB41d1TXzdk2q5NgvN6X+TPPj4nJ+OiALZm6HM3067EgUJSLB+lpKw0Fps= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABBDB3857733 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-45cb6428c46so60077355e9.1 for <gcc-patches@gcc.gnu.org>; Tue, 16 Sep 2025 00:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758006031; x=1758610831; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=OOXg/JAhB+igGhqwHVpnSgygFcnujGaOQf99WdI3YT4=; b=NduQPVOO5P35APX/dx1yaZ/uhMm0/XjzuTN591/12yGTVnaM3OPoyR6N9ONjwTyyEI w9CnuX3gQn7phbGBnbvbT68BkLz5KJK7JbBzhyHfLn0ecNwJ0tlPac2JTH+Gqn2rPnbW pQLmSK4lCxzRgJTgw1mm7aJ6PXgvzAq0VeVfO37W0WjjfcNFsjWUVqApMsrTzPT/c0rY wkQMgCDApoN2Oz/BOlNoHOLrHNSK97uvVmGF/UcYKCPISQUFm5831lJkmwAtFwWnrCAo F/HDYeihsiWJ1a3KxrhYnLYq+hnc5uvJDW8iDSH/x0vnmVud0QUrgi97GUeq0XF2Q0qT 8GTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758006031; x=1758610831; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OOXg/JAhB+igGhqwHVpnSgygFcnujGaOQf99WdI3YT4=; b=xQALD+y6iMhXv+no8uXD9dXc2rXmwMa4ivjEUUkzB84Z8I8YMP2jOMhRHa0DBE8x9N Rx6A5TcnG17IAKdHDMfD1/JxnfWnB2vfvowXIsYF9wfFN95XR6cSOsVZWFad9J6mp0Sq Bx+37E3yD1Cz3D8qsqsVnRdp6B4KX879wUpY3SVo/RctqtwNjsyuXzES1ZunVHSvXcbh TlGlGwAQQocggukrTpDRLnlaSjyGUYkvTDCWTb1m6AVHh0fM3VIp1bE+82mdHRE48atI WsGfNv6jGM45Y1wFR+qtT0I6PJ6OOR7jiGoxd2m8dnd6K9jbKat7sa5AhOKRQLIedcWP 6mJg== X-Forwarded-Encrypted: i=1; AJvYcCXOJlBpFDuvc+HjB1Ha67C4mDojwxWx9hDpCdQ7DLYMSP1VLkhRqNOOMbgik6aeZ0U/pxfIB2wyQZB4lg==@gcc.gnu.org X-Gm-Message-State: AOJu0YwpWut9sxtpZiYb+/9WJmJgz8EwLD03nhVDpUJHJp0g7G7g8KNR BJyO8PRjLyIaMbJhsNuVMdszGIjVlIOea/7gOC1Dpcvi+zCH4chreeMy X-Gm-Gg: ASbGncvcx3tmBGy8rLA1eDAyvl9D2UElw9YwhT1w+y5yUNZ1wiBrxZrB2fMRjrgZU+8 vDQy1EZQ+IkRehIHYuF7cO8gdROWSG1Xdk6iwjS+Smzy3eeBIbSQHDcxmqhqwGuxI6Of/etMztP GCmwGwUfKGHdfjksrHWzOXKzVf0Be9OEPsymdqq6B9yYO7IvqaM9gLMGi+RSnhTHbCDwKESJxw8 W6k8+LeGrUpDlnjWCJo+wSc82oOiQXtz5fJeQHdy4LUSohpBEgpK7PP2WlsGXCVwAZWtFy/+1ry kz7gIttK+NoMukgTcHCW+z2pLMWHWvDwFKHTG6SbHGXLCWcTyLMfK2D0tLmZv6NcJr/4Diq8Xbp 67Hs117gJECMXI8Gp3UcHSmPgHUvx8QCchj28nx0ofen2Yssb/g5aSbxhZVf7iDWFgGvbvhBX7z F/u62vkS4= X-Google-Smtp-Source: AGHT+IGd1EZjG34aTgEEJO4jJhTIwYwAv4s4c8NgWjCo+utn50UUBYK1S/x1FqZmuad4M8GI8aNSYg== X-Received: by 2002:a05:600c:470e:b0:45f:27de:cd22 with SMTP id 5b1f17b1804b1-45f27decdb1mr122730425e9.17.1758006030884; Tue, 16 Sep 2025 00:00:30 -0700 (PDT) Received: from localhost.localdomain (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45e015775f1sm210056475e9.8.2025.09.16.00.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Sep 2025 00:00:30 -0700 (PDT) From: Iain Sandoe <iains.gcc@gmail.com> X-Google-Original-From: Iain Sandoe <iain@sandoe.co.uk> To: poulhies@adacore.com, gcc-patches@gcc.gnu.org Cc: botcazou@adacore.com Subject: [PATCH] Ada, libgnarl: Fix Ada bootstrap for Darwin. Date: Tue, 16 Sep 2025 08:00:28 +0100 Message-Id: <20250916070028.26931-1-iain@sandoe.co.uk> X-Mailer: git-send-email 2.39.2 (Apple Git-143) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Reply-To: iain@sandoe.co.uk Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
| Series |
Ada, libgnarl: Fix Ada bootstrap for Darwin.
|
|
Commit Message
Iain Sandoe
Sept. 16, 2025, 7 a.m. UTC
Tested on x86_64-darwin, OK for trunk?
thanks, Iain
--- 8< ---
Recent changes to Ada have produced a new diagnostic:
s-osinte.adb:34:18: warning: unit "Interfaces.C.Extensions"...
which causes a bootstrap fail on Darwin when Ada is enabled.
Fixed thus.
gcc/ada/ChangeLog:
* libgnarl/s-osinte__darwin.adb: Ensure that
Interfaces.C is referenced.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
gcc/ada/libgnarl/s-osinte__darwin.adb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Comments
> Tested on x86_64-darwin, OK for trunk? Sure, thanks for fixing it, but... > > --- 8< --- > > Recent changes to Ada have produced a new diagnostic: > s-osinte.adb:34:18: warning: unit "Interfaces.C.Extensions"... > which causes a bootstrap fail on Darwin when Ada is enabled. > > Fixed thus. > > gcc/ada/ChangeLog: > > * libgnarl/s-osinte__darwin.adb: Ensure that > Interfaces.C is referenced. Please add PR ada/114065 above the line and "and remove clause for Interfaces.C.Extensions" at the end.
diff --git a/gcc/ada/libgnarl/s-osinte__darwin.adb b/gcc/ada/libgnarl/s-osinte__darwin.adb index eeafbdbef8f..955db064b77 100644 --- a/gcc/ada/libgnarl/s-osinte__darwin.adb +++ b/gcc/ada/libgnarl/s-osinte__darwin.adb @@ -31,10 +31,9 @@ -- This is a Darwin Threads version of this package -with Interfaces.C.Extensions; +with Interfaces.C; use Interfaces.C; package body System.OS_Interface is - use Interfaces.C; ------------------------ -- To_Target_Priority --