Subject: Re: [bug#57060] [PATCH] gnu: pcc: Fix build.

From: Maxime Devos <[email-masked]>
Date: Mon, 8 Aug 2022 20:33:11 +0200

On 08-08-2022 18:35, ( via Guix-patches via wrote:
> +                 (lambda _
> +                   ;; Certain variables are defined multiple times. This
> +                   ;; upsets the linker and causes a build failure.
> +                   (substitute* "cc/ccom/pass1.h"
> +                     (("FLT flt_zero;") "extern FLT flt_zero;"))
> +                   (substitute* (list "cc/ccom/scan.l" "cc/cxxcom/scan.l")
> +                     (("lineno, ") ""))))

This looks like something upstream needs to know about.

> +               (replace 'check
> +                 (lambda _
> +                   (invoke "make" "-C" "cc/cpp" "test"))))))
(when tests? ...), in a follow-up or preceding patch (t was present in 
the old code), for --without-tests.

Greetings,
Maxime.