From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yHJSNiffM2cnBwAA62LTzQ:P1 (envelope-from ) for ; Tue, 12 Nov 2024 23:05:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yHJSNiffM2cnBwAA62LTzQ (envelope-from ) for ; Wed, 13 Nov 2024 00:05:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OoX83QmC; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=soverin1 header.b="PAh/ImH3"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731452711; 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:autocrypt:autocrypt; bh=JPYGW7MkH/du3DVePkxzJhacKJRa02yo3Hpde2d2ZI8=; b=m9tAvpDi1KlJb8h/MnFRlO/kZCGI2EEJejujJrnjcqQtBJDg0fQj1tZi6TSe+YraI/47XS VAymBgECCZCONmHYnnXGADKfTfRF48oa2izgJ4IKtfRH1pxw3YY0MCZPkUQdtr/l1/xkVH fo141ojmOPEVaD+qeBFqLaTmsFUde1TPPozw6YPI2jB9ROp+0KQ+DVWiam3Z4Q+tHesFbM AlAuoTYZsTPiD8ng5HXav/hr91kd6PC1n0pdYx7+oRQ/ykTMM810UKuomP05cxNtZyZFYl qN/5fq461dCiGFMK3Re82QmLk+RW9i78DgCHYHG1slzg5XUb8HEnS2FHOA2IYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OoX83QmC; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=soverin1 header.b="PAh/ImH3"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731452711; a=rsa-sha256; cv=none; b=IBLOW6ssJSsoANRgzxVcO/cUyh/rBjRSE30VJe8jB/6cTV1LsDsFnsI7Ye+YczMHK4wgBC eE53iBwsro4JbQEoQbfIQN8nHfKmFTJ7LRI/f4w8qIaTn8LL/Xuj5EvuBeKjYIPOuOg5/g o5RXhKKqIKsyx7L3/zbMYi9km+BpSmNoL86VGWxcWc4trCWYJgwL2/e/XGIo28DieGhJtz fVdN5x/TTRrC1a1Ei8WaSSRgk7+u1AMKTSD79eh8eRQwFqQJKcQrC/P6D6XwM0/ymsKBM5 erpJ4o4lG3ugmLyk1zjd46MpZ4txpE1r1IMOkUt4miIoXA5Pw+MoEVAn7rOI4Q== 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 B22A94538A for ; Wed, 13 Nov 2024 00:05:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAzk2-00036C-RC; Tue, 12 Nov 2024 17:52:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAzjv-00035V-Bu for bug-guix@gnu.org; Tue, 12 Nov 2024 17:52:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAzju-0004Dl-Oa for bug-guix@gnu.org; Tue, 12 Nov 2024 17:52:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=JPYGW7MkH/du3DVePkxzJhacKJRa02yo3Hpde2d2ZI8=; b=OoX83QmCSlGOdTGrIuaHeju8kpZqbhsGER9DNiGnNph4leR/fxAtZu3Uaz9oBsV65Rz+tcBT9ZLnxV8btTYB2dIeYI6veFxX8NCs5T8X1V/M/t6tyrRZICOlY4FdaVU+E7VG5CFFTYNLp6wi6iDNEJBT9mdikz57gjM4iaT4/9tuBNYAsRb7kiR/pvlpZKC1X12mceVPZkEJbbvqPaYDon6YODj9zEMQKgcwOnsJdbrK3WCkrckm15xRa2OX2yxip/JovbKuUPkwtrUbj9SMOXxKbcFDo0XBCjXPMrZQQRvg331r0/FuE9jvyJtC54GHzej+BmZt7HNm8py37DX4wQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAzju-00017w-Jy for bug-guix@gnu.org; Tue, 12 Nov 2024 17:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74332: zig: tuning-compiler flag translation Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Nov 2024 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74332 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74332@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.17314518704249 (code B ref -1); Tue, 12 Nov 2024 22:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2024 22:51:10 +0000 Received: from localhost ([127.0.0.1]:39861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAzj3-00016T-Sn for submit@debbugs.gnu.org; Tue, 12 Nov 2024 17:51:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:34388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAzj1-00016J-K8 for submit@debbugs.gnu.org; Tue, 12 Nov 2024 17:51:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAzix-0002xU-Eu for bug-guix@gnu.org; Tue, 12 Nov 2024 17:51:07 -0500 Received: from dane.soverin.net ([185.233.34.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAzit-00049i-85 for bug-guix@gnu.org; Tue, 12 Nov 2024 17:51:01 -0500 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (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 dane.soverin.net (Postfix) with ESMTPS id 4Xp1pw40bWz2xfb for ; Tue, 12 Nov 2024 22:50:48 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4Xp1pw1H3BzHs for ; Tue, 12 Nov 2024 22:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1731451848; h=from:from: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:autocrypt:autocrypt; bh=JPYGW7MkH/du3DVePkxzJhacKJRa02yo3Hpde2d2ZI8=; b=PAh/ImH3FQy81QhZrcvvz+Rk4GuvUk0+nm0CVbSLog8Dwk+3yYW7sKFfvgck5aHDgus3+I KcYe6MjzG86C1Fn6f5DT34eYGwgXrqmB5I03jgrLRssbNpw95vwH3lMWI7UWsEMc8ym1Qz 9ZafgpoJOoFKArnVHdpzYuJ3HeoZoJ45SCYD2XcKMXOH/JipwboDwLxHKj22r/CU//2/L2 IKVxPtu75fFHVo2S50NPyewbwN7bkQjWjJPo96MMnkge/ThkahYF0CMLZbwBcBXIyYNFNg 1EAT4zr47M7scQ+aDE3xIYm5PrBOZLxlG2nMmeuTh3OMhrP5J4PGS/2+7JKmGQ== Message-ID: <2711f0bb-b5a6-425f-9c26-b09574448035@elenq.tech> Date: Tue, 12 Nov 2024 23:50:47 +0100 MIME-Version: 1.0 From: Ekaitz Zarraga Content-Language: en-US, es-ES, eu Autocrypt: addr=ekaitz@elenq.tech; keydata= xsFNBGcvh/QBEACePF16wEeQaqfJNgeaSQB6ty6PzLaYtl8UVApPSCF1PYNEhDtxQOOpBXeu k6h68cjhRX7hmug8mAraXotw4aG4Z3kbUro4fzXOYW3rCi/mAm5NFXLUmBX3E1AV1pcD8hDA 5s3LeGzfTo4xRGTW4zTzxGEyrvbChkVib7wTSk52a/WkFas6l3sXnepF8HmIEOWkwQcYdcuo gaNDFP1kjZYvqfKJXmCZnY+lC8Zfe/vlD/x8FZQYBQ5xgXIfbSR0xlRz/XIHfJv6j+3myUUr 2UKMku1dkjlkhNkyfw+RypQzmbJ0oJ4bk76/ju0nnlN65/LvyeTVUh/2O2VnPnZ49keL8sqr APXF4di4pWT+/mPxfoEtiSDtjyzbr8+ajcwLa4SSKLlexqjZj8X6R4tt31Rf/Pliwe4TdPmd 2leE3BI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Sp/c+5O6E+ lNrxMdD0n8+io/Bf/UEI6BU8F7JshPq732bHN1NzUXvgMd4cNsAlvsWM8UCKZ4/usFl1euMM FOvnadZinsTHpXhahJzkYWA7nAKbCoNNq9LPtWxfjHsIfhs+QQafF31Pw+jqHqruB4tH0eiL abrz7kejaZvJdVipNIzRUWYnpP+18khep2UtT1n9VNs6QNb4cHPsoe+s4ga4ZK/klCdEhLya XtbcaNEHb7NZUOBj3HhKFgIY8PD1AptAObHjsUNF5+jfEnl+5WjwyTZTIgDRiOrwn8LWOANQ 0JpR69t06uJwmiogQgnlYe36YFaauHGQZFa+L+R2zgnGn8TnR4C3tH7gNAef9+PKqgmJT5pN IkFzlDmZi05E9xzhj4WQ/OOsqU64eHL2PaDk+2TdfrzNwNFbkABJ+C7BHNAytQ6h9cpUbg== Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spampanel-Class: ham Received-SPF: pass client-ip=185.233.34.30; envelope-from=ekaitz@elenq.tech; helo=dane.soverin.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_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.40 X-Spam-Score: -1.40 X-Migadu-Queue-Id: B22A94538A X-TUID: vstkFb+yxuZF Hi, Since 2cc6e09a03c34da832b360fe4e848a9339d9360b we are using a simple conversion for -Dcpu and -march that is not correct in every single case. Gentoo made a translator for CFLAGS and CHOST to Zig flags that we can use to make a proper conversion: https://github.com/gentoo/gentoo/blob/ed835f88bc579f93b2370c0f0569ddbf1ba3f563/eclass/tests/zig-utils.sh