Subject: bug#28284: GCC 4.7.4 fails to build since April 2017

From: [email-masked] (Ludovic Courtès)
Date: Tue, 07 Nov 2017 21:58:45 +0100

Jan Nieuwenhuizen <[email-masked]> skribis:

> Here is what I did
>
>     18:25:50 janneke@dundal:~/src/guix-master [env]
>     $ ./pre-inst-env guix refresh -l [email-masked]
>     No dependents other than itself: [email-masked]
>     18:25:55 janneke@dundal:~/src/guix-master [env]
>     $ ./pre-inst-env guix build hello
>     /gnu/store/lr8c1yswvrgckkaa6nzdi7q0d618bazs-hello-2.10
>     18:26:01 janneke@dundal:~/src/guix-master [env]
>
> so indeed, it looks fine; and it makes sense.

Sounds good.

> I was working on the $ORIGIN stuff inside (a copy of) the gcc-4.7.4
> builder -- that code is of course (re)used by all other gcc packages.

Though the $ORIGIN stuff is separate, right?  Will be nice to have.

> From 22d5353991784409e3a8e671611c5ccff3ff7b68 Mon Sep 17 00:00:00 2001
> From: Jan Nieuwenhuizen <[email-masked]>
> Date: Mon, 6 Nov 2017 22:50:05 +0100
> Subject: [PATCH] gnu: gcc-4.7: Resurrect building with gcc-5.4.0.
>
> * gnu/packages/patches/gcc-4-compile-with-gcc-5.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
> * gnu/packages/gcc.scm (gcc-4.7): Use it.

Go for it!

Thank you,
Ludo’.