From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Abb3FipRbmCk3gAAgWs5BA (envelope-from ) for ; Thu, 08 Apr 2021 02:41:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wNm1DypRbmBWKAAAbx9fmQ (envelope-from ) for ; Thu, 08 Apr 2021 00:41:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 172761EFC1 for ; Thu, 8 Apr 2021 02:41:12 +0200 (CEST) Received: from localhost ([::1]:33400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUIjO-0004AF-GI for larch@yhetil.org; Wed, 07 Apr 2021 20:41:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUIjG-0004A5-SD for bug-guix@gnu.org; Wed, 07 Apr 2021 20:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUIjG-0003YC-L6 for bug-guix@gnu.org; Wed, 07 Apr 2021 20:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUIjG-0002rG-EZ for bug-guix@gnu.org; Wed, 07 Apr 2021 20:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47648: cc-for-target makes --with-c-toolchain unusable for some packages Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Apr 2021 00:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47648 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47648@debbugs.gnu.org X-Debbugs-Original-To: Guix Bugs Received: via spool by submit@debbugs.gnu.org id=B.161784243810946 (code B ref -1); Thu, 08 Apr 2021 00:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2021 00:40:38 +0000 Received: from localhost ([127.0.0.1]:45534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUIis-0002qT-2s for submit@debbugs.gnu.org; Wed, 07 Apr 2021 20:40:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:35006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUIiq-0002qM-Pc for submit@debbugs.gnu.org; Wed, 07 Apr 2021 20:40:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUIiq-000480-Ga for bug-guix@gnu.org; Wed, 07 Apr 2021 20:40:36 -0400 Received: from mx1.riseup.net ([198.252.153.129]:54678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUIio-0003KP-Co for bug-guix@gnu.org; Wed, 07 Apr 2021 20:40:35 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FG2VR6S65zDr4s for ; Wed, 7 Apr 2021 17:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1617842431; bh=MyEY0XO6JKCRfHVJ530kRzsBr6qlz3qwcJLL+1mcisg=; h=Date:From:To:Subject:From; b=CvfqVwor5Nf6kh1rZD9Iynwo4CrAPKtg8FFYlvsC8RKgkAMQUo+mvpMD1syFruQW8 2WIJjyuvKe+YuWTvtuHuvdnmP2IikfgDSizVWtsuSuitNMhoc5sgTh1swIbdjbjyJr 2oXvJo/CUaT1LA2zM41YtHE49K6zgaluCWWnNMz0= X-Riseup-User-ID: D128C5592CB118ECA8FE5A1FFBDF68EDEC82F8C7D376184295A89EE018AE4EFE Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FG2VR116hz5w4s for ; Wed, 7 Apr 2021 17:40:30 -0700 (PDT) Date: Thu, 8 Apr 2021 02:33:29 +0200 From: raingloom Message-ID: <20210408023329.4e6d48d7@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617842473; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MyEY0XO6JKCRfHVJ530kRzsBr6qlz3qwcJLL+1mcisg=; b=Ze7aixXpfLrdwp731Mae66Rozxj4dtb8Gm/dygMhbUBgi1S/SeqJMLzWwoQOEq7tO4Mb7j QRREe+4boTfLQrOZRz7LKfvit+QV7wR6I5DdLbF8mIw8XYxDKx31Yok0nUhaqwcRa2j3g+ NoBFuVKx6rOi+VLj4qGFWQXcc9x+UC9Se43dwlPvW/5pNaukTStcFSbhFf8V8hJGe9/Onh TW+riDtDSMYx8oSf68RVixcT3ly+WX5+ygG4DUxcqB/sDxgx4aAi/qR9CQ9HFewiJO24Tb N+dHA76w+UUQM4N6MpZWJPxQCybsDuMeDiaV7bSVB5YfLCOFwIS1hPTecpOvIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617842473; a=rsa-sha256; cv=none; b=HwMLe4j3ucqkH4EAAToxjLHOYLuDOEzaudkWfmVi+5m9cYkdh1P/mRkzXFk/BNwkFUKko+ ibjhECxP7rgqxxqm0cYkmeGBP5691R3WsNf0ANe+7GKZ0kgktKgPWkuRoLR3GBao8jOqEg KeOOPGSzcuTdR5C56xWNyXwjssMiogcJmdKDyIhjZjXDZB5jtcp66bi78boGxv+VwqliAn WTv0Ps8+DbmCDbG2r8pzzymog8GiBEV0Bbur0RkztfyaV0PKrmlKZcpxwnmVodKZPDJNmE 9Bj6pjbrfwSgX8VA0nLkAHlSLEtfkYTxWRnDU/lpqXbNhLeiW1thfWw9fbRVjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=CvfqVwor; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=CvfqVwor; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 172761EFC1 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: x2I9WwCoTOFA I tried compiling lua with clang on a whim and found out about cc-for-target. Not sure if that's the only instance of hardcoded gcc, but it's certainly a prominent one. What would be the idiomatic way to fix it? Detect clang dynamically? Or move cc-for-target inside the build system module and make it available at build time?