From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 782B215A7D9 for ; Tue, 21 Mar 2023 22:14:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93DD0E0845; Tue, 21 Mar 2023 22:14:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7887EE0845 for ; Tue, 21 Mar 2023 22:14:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5C71034115B for ; Tue, 21 Mar 2023 22:14:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF4798DA for ; Tue, 21 Mar 2023 22:14:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679436825.970f09a488afafe27152255d4343ff59acc94415.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 970f09a488afafe27152255d4343ff59acc94415 X-VCS-Branch: master Date: Tue, 21 Mar 2023 22:14:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 092e1f65-252c-4afb-abc3-253503928b56 X-Archives-Hash: 239492817034e35d6771d8450c82d147 commit: 970f09a488afafe27152255d4343ff59acc94415 Author: Sam James gentoo org> AuthorDate: Tue Mar 21 22:13:45 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 21 22:13:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970f09a4 toolchain.eclass: disable LTO for nvptx-none target It doesn't support LTO and fails in stage1 crossdev. Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 2d7801259019..a973e7fd7811 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1164,6 +1164,10 @@ toolchain_src_configure() { avr) confgcc+=( --enable-shared --disable-threads ) ;; + nvptx*) + # "LTO is not supported for this target" + confgcc+=( --disable-lto ) + ;; esac if [[ -n ${needed_libc} ]] ; then