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

Full log


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.