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 (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04E801581F3 for ; Mon, 2 Dec 2024 15:27:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11FA5E07EA; Mon, 2 Dec 2024 15:27:40 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 01432E07EA for ; Mon, 2 Dec 2024 15:27:38 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 716C4335DC7 for ; Mon, 2 Dec 2024 15:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D173113F5 for ; Mon, 2 Dec 2024 15:27:35 +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: <1733153234.88d805301c5ca721d66d5102aa6ba2747cb2771e.sam@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 88d805301c5ca721d66d5102aa6ba2747cb2771e X-VCS-Branch: master Date: Mon, 2 Dec 2024 15:27:35 +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: e4cc48e2-1b42-4a7f-91f7-e6a3bb88cca9 X-Archives-Hash: 87207ab41a084f685fa376a85a4f820d commit: 88d805301c5ca721d66d5102aa6ba2747cb2771e Author: Sam James gentoo org> AuthorDate: Mon Dec 2 15:24:29 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Dec 2 15:27:14 2024 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=88d80530 crossdev: nvptx: enable zlib+zstd for LTO LTO is used behind-the-scenes between the host and offload to communicate data. We need to use the same compression for both. It's easiest if we just enable both supported compression formats in the offload compiler: zlib and zstd. Bug: https://bugs.gentoo.org/945296 Signed-off-by: Sam James gentoo.org> crossdev | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crossdev b/crossdev index 747ee10..c400ff1 100755 --- a/crossdev +++ b/crossdev @@ -315,6 +315,10 @@ parse_target() { GMASK+=" default-stack-clash-protection hardened ssp" GUSE+=" -hardened" #687598, needs -fstack-check=specific support GUSE+=" -default-stack-clash-protection -ssp" # SSP isn't supported for freestanding anyway + # Offloading uses LTO to stream data, we need to make sure + # we support whatever compression the host compiler uses + # for that. + GUSE+=" zlib zstd" MULTILIB_USE="yes" #407275 WITH_DEF_HEADERS="no" @@ -901,7 +905,7 @@ AUTOGEN_TAG="# Autogenerated and managed by crossdev" # not tested, or doesn't make sense, or no one simply cares about them GUSE_DISABLE="-d -objc -objc++ -objc-gc -vtv" # These are disabled only for stage1 gcc. Normally need libc presence. -GUSE_DISABLE_STAGE_1="${GUSE_DISABLE} -fortran -go -jit -cxx -openmp -sanitize" +GUSE_DISABLE_STAGE_1="${GUSE_DISABLE} -fortran -go -jit -cxx -openmp -sanitize -zstd -zlib" # These are also disabled for stage2, but could be used later if dependencies # are installed into ${SYSROOT}: # - sanitize needs crypt.h: #799707