Subject: Re: [bug#63329] [PATCH v2] gnu: Use gexps for gcc-boot0 and related packages.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Date: Sun, 07 May 2023 09:39:09 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Christopher Baines <[email-masked]> writes:

> There are currently problems with native or cross building for i586-gnu, and
> one factor mixed up with this is that some of the gcc packages use sexp's for
> the phases, and thus introducing gexp's has caused problems.
>
> As part of the going in circles with this, this commit switches gcc-boot0 to
> use gexp's in it's arguments, and then also modifies libstdc++-boot0,
> libstdc++-boot0-gcc7, cross-gcc-wrapper, gcc-final and make-libstdc++ to
> handle this change.
>
> If done correctly, this change shouldn't affect any derivations.
>
> * gnu/packages/commencement.scm (libstdc++-boot0, libstdc++-boot0-gcc7,
> gcc-boot0, gcc-final)[arguments]: Use gexps.
> (cross-gcc-wrapper): Use gexps in the generated package.
> * gnu/packages/gcc.scm (make-libstdc++): Use gexps in the generated package.
> ---
>  gnu/packages/commencement.scm | 421 +++++++++++++++++-----------------
>  gnu/packages/gcc.scm          | 109 ++++-----
>  2 files changed, 267 insertions(+), 263 deletions(-)

The data service didn't show any changes in derivations associated with
this change, so I've gone ahead and pushed it to master as
a795a02a9d988be5a762886620f7bb6a95e7ffdb.

It did show some changes, but they related to gexp's in the builder
script for icu4c-70 when built for riscv64. I fixed that in
b1e9ae7f0e72bc3c8c7ab28362315fac5dfb65fe.