From patchwork Mon Jun 3 07:28:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 1942734 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=dop5dCKZ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vt52H4QShz1ydW for ; Mon, 3 Jun 2024 17:29:11 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D2412395A46E for ; Mon, 3 Jun 2024 07:29:09 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id F332A395A414 for ; Mon, 3 Jun 2024 07:28:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F332A395A414 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F332A395A414 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::434 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717399730; cv=none; b=WTz90f64wH5UhjPeqTF8UWkzJaVHsc43CfDhb/C+10lAQ3y9eEQyeFVb+6tkVzXRKuCSOCrtXeuFvtodx2NYh6bUwAP1uHH5pUpV6Li1O0xC83ClggChthE31gRxVO1NABJ2HU10OIY1c3aC0RgvKHaRGxL3W9smi1h4uoGc5ic= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717399730; c=relaxed/simple; bh=FZ1NMoPJfDQPPNb3iRKq7fmgR39nVHlRmX3W+SGPT7A=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=O6YyM9jYY0LXninJwwGmmHm94Z9+k9IoSr8iewr1KsuMM2q6QxpNkaqdZqZEJQzXu1jAZyszVWqLqa6SmSsJiuk51KFUnW6rblDnShpgh00RoWcuhhZBFbzaONNbLOcra/Gy251Jch/oEBD1UQsJhSHA4DRkrAySr2BG3xkvgcM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-35dc9cef36dso3213159f8f.3 for ; Mon, 03 Jun 2024 00:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1717399725; x=1718004525; darn=gcc.gnu.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=izFirWTXX9G7vh8aqaZOCO73zmICuIXrhr1pF/R9jbU=; b=dop5dCKZIEdyoN4ikGIyneTHuLkxbpNcc2rTCDh8419KpuDF3gG4CrZop27kbB5UaJ ICQp9c6/Vc1f8i3yC7/TX6qw16WAVY2Q1SI3hc0F8K2AwRk73wFLGOc4Qj4Pj7sShxed 80QRINI3o5SkpZQBu0AYZ0T7l2GGw8wfBLJx6oE071IbhuqSSNbTz0zbaxNGL2N4dDKY lpHayEYzxv3kyk5penyCaqiaJCECYGOZIjZXt8uK3wrnd1VolHrsS+X4A7VHTzQ5BYaK RqPMDXN829fzLVJzzWlVMspRzTFYCWRWUPQX0Vp8Kzden1zLwqjHOzjK52XMQ3cqba8O pXAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717399725; x=1718004525; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=izFirWTXX9G7vh8aqaZOCO73zmICuIXrhr1pF/R9jbU=; b=js75naJz8VhfcgLkuZxO67lqLpf3hML2qjutRFFrMBEpbuLkAIOpstaZMe68m4pLbJ xcBmJD33Dym6HfuXEGVzpDXDPWgB/r1kyfVfh74H6+mLl6H2CvkvbztfgZ40qYCknWph LEfkeQk0dfro0oNxVpFPd8hTFp/byY5ScHCgeNkhGo4LuhPA60dFhanpqZDZZtpG1w5W ZzOJpTfp5SfSOZ25iRIwqDarjQlJn276xH/b+5K74p4+7s+XY44LKVrpB+YPDQ2Z/ays M7XcY7QNV3R3NFY8YqoPOqUJWrLiIh3hJ75Bi6i48ZQolbMJIlWNDpgFGmqYI+dF445S wi4Q== X-Forwarded-Encrypted: i=1; AJvYcCU7PWnyPtovjzEJ5Uh9suq8bORPKtlbskwPnmBDhIqaYrDKpepjhBgo/2mwpamkScoO3rYbSipx9nhJsseTJ7+FA3mrsb02jA== X-Gm-Message-State: AOJu0YzlIlGTZcw9Xx5/+6r3N49UzWyN3yTyk+HCizMpZNvCq5q4Om1o C6N9p9+CeSeECdsrBZL7fxmii191GC80HFV3GJnYwFc5wAatuhIupqM5f/1wI7M= X-Google-Smtp-Source: AGHT+IFrjpOj2aQAZft7B7goxszr0Mq/hl4zb4Zk5aljm0Q7Pf1fyNpY/M1DBuRJWPdorETzFOww7g== X-Received: by 2002:a05:6000:ac4:b0:354:fbc8:1d90 with SMTP id ffacd0b85a97d-35e0f30e71dmr5635454f8f.43.1717399725451; Mon, 03 Jun 2024 00:28:45 -0700 (PDT) Received: from ?IPV6:2001:16b8:3fd6:e700:14bc:9eaf:2af:3dae? ([2001:16b8:3fd6:e700:14bc:9eaf:2af:3dae]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd066b47asm7888895f8f.112.2024.06.03.00.28.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Jun 2024 00:28:45 -0700 (PDT) Message-ID: Date: Mon, 3 Jun 2024 09:28:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [patch] install.texi (nvptx): Recommend nvptx-tools 2024-05-30 (was: Re: nvptx target: Global constructor, destructor support, via nvptx-tools 'ld') To: Thomas Schwinge , gcc-patches@gcc.gnu.org Cc: Tom de Vries , Richard Biener References: <878rjqaku5.fsf@dem-tschwing-1.ger.mentorg.com> <87y1rq7wt4.fsf@dem-tschwing-1.ger.mentorg.com> <87v82u2kc8.fsf@dem-tschwing-1.schwinge.ddns.net> Content-Language: en-US From: Tobias Burnus In-Reply-To: <87v82u2kc8.fsf@dem-tschwing-1.schwinge.ddns.net> X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Thomas Schwinge wrote: > In the following, I have then reconsidered that stance; we may actually > "Implement global constructor, destructor support in a conceptually > simpler way than using 'collect2' (the program): implement the respective > functionality in the nvptx-tools 'ld'". The latter is > > "ld: Global constructor/destructor support". The attached patch makes clearer which version should be installed by recommending this patch (= latest nvptx-tools) in install.texi. OK? Comments, remarks? Tobias PS: If the https://github.com/SourceryTools/nvptx-tools/pull/47 (nvptx-ld.cc: Improve C++11 compatibility with older compilers) proofs worthwhile and gets merged, we should point to that commit instead. install.texi (nvptx): Recommend nvptx-tools 2024-05-30 gcc/ * doc/install.texi (nvptx): Recommend nvptx-tools 2024-05-30 or newer. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 42b462a2ce2..4859f6743ab 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -4698,7 +4698,8 @@ Andes NDS32 target in big endian mode. Nvidia PTX target. Instead of GNU binutils, you will need to install -@uref{https://github.com/SourceryTools/nvptx-tools,,nvptx-tools}. +@uref{https://github.com/SourceryTools/nvptx-tools,,nvptx-tools} +(recommended: 96f8fc5 of 2024-05-30 -- or newer). Tell GCC where to find it: @option{--with-build-time-tools=[install-nvptx-tools]/nvptx-none/bin}.