From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8BxeJknptl7YUwAA0tVLHw (envelope-from ) for ; Sat, 09 May 2020 17:32:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uEg4MFbptl4jMQAA1q6Kng (envelope-from ) for ; Sat, 09 May 2020 17:33:10 +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 A292A940ED1 for ; Sat, 9 May 2020 17:33:08 +0000 (UTC) Received: from localhost ([::1]:44382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXTLZ-0005XP-29 for larch@yhetil.org; Sat, 09 May 2020 13:33:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXTLS-0005W2-Bo for guix-patches@gnu.org; Sat, 09 May 2020 13:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXTLS-0008FD-1y for guix-patches@gnu.org; Sat, 09 May 2020 13:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jXTLR-0002bi-VD for guix-patches@gnu.org; Sat, 09 May 2020 13:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41150] [PATCH] gnu: Add powerstat. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 May 2020 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41150 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 41150@debbugs.gnu.org X-Debbugs-Original-Cc: 41150@debbugs.gnu.org, Tobias Geerinckx-Rice via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.15890455499965 (code B ref -1); Sat, 09 May 2020 17:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 May 2020 17:32:29 +0000 Received: from localhost ([127.0.0.1]:48357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXTKv-0002ae-GL for submit@debbugs.gnu.org; Sat, 09 May 2020 13:32:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:48182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXTKu-0002aS-6x for submit@debbugs.gnu.org; Sat, 09 May 2020 13:32:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXTKt-0004un-GC for guix-patches@gnu.org; Sat, 09 May 2020 13:32:28 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:47692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXTKs-0007jh-1B; Sat, 09 May 2020 13:32:26 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 53f2d5db; Sat, 9 May 2020 17:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=s+ePOzSTSGu6rBkYim9TPZ /kjsbQYn+FoGAi66/2sGg=; b=f2Raz5OeZg8Oh9biX1emaLIbBgz7h1v81uY1pr cgfictAbNFYiPMNzDS9XPNTlaCR4YaAzEajNm0m2c7CDLBTEbKkMr1NAk0Y93SlB I1QztMziKkEVevoGPRVsTF/sSgDKqsAhFW5UGUr4V6UFFBSi/OxKrD1K6o1HKcub owGJLM7LWsAdVCmmtZgqL6xXOu41YMHe4Ln133bGUVsZMelVkcz1bTax4pYzbUHA UhXWQcVoLgU6zpx1Mu+i36wMaFR2oScSizJcuPbKhOW7s7l2CsYGUOt+V2vcqsBT wGjpokRSItRcs9QY0FcEjkukFSPhQEIK587tHid9T2IjAnxQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1c1125bb (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 9 May 2020 17:32:21 +0000 (UTC) References: <20200509151509.11424-1-me@tobias.gr> <87y2q1yrd7.fsf@gnu.org> In-reply-to: <87y2q1yrd7.fsf@gnu.org> Date: Sat, 09 May 2020 19:32:15 +0200 Message-ID: <87ftc9ovz4.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Scanner: scn0 X-Spam-Score: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=f2Raz5Oe; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-1.61 / 13.00]; HAS_REPLYTO(0.00)[me@tobias.gr]; GENERIC_REPUTATION(0.00)[-0.5401530691706]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; R_DKIM_REJECT(1.00)[tobias.gr:s=2018]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.09), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DKIM_TRACE(0.00)[tobias.gr:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[guix-patches@gnu.org,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[gnu.org:url]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: Vdhm1MwFcypy --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Mathieu, Mathieu Othacehe =E5=86=99=E9=81=93=EF=BC=9A > Hard-coding CC this way will prevent cross-compilation. You can=20 > have a > look to "crda" or "libaio" for examples. Eh? This is the first time anyone's ever mentioned that. Thanks!=20 It's obvious how much cross-compilation means to me. (You realise there are *hundreds* of CC=3Dgcc lines in current Guix,=20 right?) Don't get me wrong: I love that Guix still cares so much about=20 cross-compilation, and the tremendous effort I see in the logs=20 every month to make it work better, when (at least a few years=20 ago) it was all the rage to declare it dead since VMs exist or=20 something. > As this is a recurring pattern, we should find a way to add it=20 > somewhere > in the build-system. But for now, the ugly snippet appending=20 > target > should work :). I agree that handling (only) standard GNU variables[0] in the GNU=20 build system makes sense. I'll add the snippet of power. Kind regards, T G-R [0]:=20 https://www.gnu.org/prep/standards/standards.html#Utilities-in-Makefiles --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXrbpIAAKCRANsP+IT1Vt eb6jAP95HIdXAXs7iNWww4m53Jtg7m2TE/Sese/tNWJ0mcsyUgD+NB3Yu810NOuG 7x2rBLKzLPuxl+ZqaFPrmszpPb43bQk= =ksoC -----END PGP SIGNATURE----- --=-=-=--