Subject: Re: bug#41669: Cross-compiled powerpc64-linux bootstrap-tarballs not reproducible

From: Ludovic Courtès <[email-masked]>
Date: Mon, 05 Oct 2020 14:33:04 +0200

Hi Chris,

Chris Marusich <[email-masked]> skribis:

> From e3d1778a86dfd171d59d91eb01417faaf63dfa17 Mon Sep 17 00:00:00 2001
> From: Chris Marusich <[email-masked]>
> Date: Sat, 19 Sep 2020 14:25:43 -0700
> Subject: [PATCH] gnu: Disable libstdc++ in bootstrap GCC.
>
> Fixes part of: <https://bugs.gnu.org/41669>.
>
> * gnu/packages/make-bootstrap.scm (%gcc-static) [#:configure-flags]: Add
> --disable-libstdcxx to disable building the libstdc++-v3 directory.

[...]

> +                   ;; In this GCC version, libstdc++.a is not reproducible:
> +                   ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41669
> +                   "--disable-libstdcxx"

Does it have any effect with GCC > 4.7?  My understanding is that it
builds its libstdc++ no matter what.

Also, if it’s just libstdc++.a that’s problematic (ordering issue in the
.a archive?), perhaps we can use --disable-shared?

My 2¢ (I didn’t follow the whole discussion),
Ludo’.