GCC 15: nvptx '-mptx=3.1' multilib variants are deprecated

Message ID 87ed5fny39.fsf@dem-tschwing-1.schwinge.ddns.net
State New
Headers
Series GCC 15: nvptx '-mptx=3.1' multilib variants are deprecated |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply

Commit Message

Thomas Schwinge Sept. 19, 2024, 9:16 p.m. UTC
  Hi!

Regarding ongoing maintenance efforts, and avoiding to build multilib
variants that probably nobody uses apart from a few of us testing these
out of routine (via building/linking with explicit '-mptx=3.1'), I
propose: "GCC 15: nvptx '-mptx=3.1' multilib variants are deprecated",
see attached, "[...], and will be removed in GCC 16".  Any objections?
If not, then I'll push this before the GCC 15 release, and timely after
the GCC 15 release apply the corresponding code changes (yet to be
implemented).  (That is, no actual change for GCC release users for
another 1.5 years.)

These '-mptx=3.1' multilib variants are only useful for users of ancient
CUDA/Nvidia Driver, which doesn't support GCC's default PTX ISA 6.0
multilib variants; PTX ISA 6.0 is supported as of CUDA 9, 2017-09.


Grüße
 Thomas
  

Patch

From 8c099b2c4fed4f0745ef913c865868e76c061232 Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <tschwinge@baylibre.com>
Date: Thu, 19 Sep 2024 22:04:28 +0200
Subject: [PATCH] GCC 15: nvptx '-mptx=3.1' multilib variants are deprecated

---
 htdocs/gcc-15/changes.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html
index 7c372688..99242d2c 100644
--- a/htdocs/gcc-15/changes.html
+++ b/htdocs/gcc-15/changes.html
@@ -191,6 +191,10 @@  a work-in-progress.</p>
       For this, a recent version of <a
       href="https://gcc.gnu.org/install/specific.html#nvptx-x-none"
       >nvptx-tools is required</a>.</li>
+  <li>
+    The <code>-mptx=3.1</code> multilib variants are deprecated and will be
+    removed in GCC 16.
+  </li>
 </ul>
 
 <!-- <h3 id="hppa">PA-RISC</h3> -->
-- 
2.45.2