GNU bug report logs - #74332
zig: tuning-compiler flag translation

Previous Next

Package: guix;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Tue, 12 Nov 2024 22:52:02 UTC

Severity: normal

To reply to this bug, email your comments to 74332 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#74332; Package guix. (Tue, 12 Nov 2024 22:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ekaitz Zarraga <ekaitz <at> elenq.tech>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 12 Nov 2024 22:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: zig: tuning-compiler flag translation
Date: Tue, 12 Nov 2024 23:50:47 +0100
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





This bug report was last modified 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.