Subject: [bug#50091] [PATCH 04/21] gnu: %boot3-inputs: Add missing input.

From: Efraim Flashner <[email-masked]>
Date: Tue, 17 Aug 2021 13:29:46 +0300

On Tue, Aug 17, 2021 at 01:19:02PM +0300, Efraim Flashner wrote:
> * gnu/packages/commencement.scm (%boot3-inputs): Add gcc:lib.
> ---
>  gnu/packages/commencement.scm | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
> index 69cf30483d..e2339170e5 100644
> --- a/gnu/packages/commencement.scm
> +++ b/gnu/packages/commencement.scm
> @@ -3579,6 +3579,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
>  (define (%boot3-inputs)
>    ;; 4th stage inputs.
>    `(("gcc" ,gcc-final)
> +    ,@(if (target-riscv?)
> +        `(("gcc:lib" ,gcc-final "lib"))
> +        '())
>      ("ld-wrapper" ,ld-wrapper-boot3)
>      ,@(alist-delete "gcc" (%boot2-inputs))))
>  
> -- 
> 2.32.0
> 

I haven't figured out why gcc doesn't seem to pull in gcc:lib (or
gfortran and gfortran:lib), but only on riscv64-linux. Without gcc:lib I
get failures during the configure phase.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted