GNU bug report logs - #52186
[core-updates-frozen] [PATCH] gnu: libunwind-julia: Fix build on i686-linux.

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Mon, 29 Nov 2021 18:22:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 52186 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 52186 <at> debbugs.gnu.org
Cc: efraim <at> flashner.co.il, maxim.cournoyer <at> gmail.com
Subject: Re: bug#52186: [core-updates-frozen] Fix julia on i686-linux
Date: Mon, 29 Nov 2021 19:51:58 +0100
Hi,

This patch fixes all  broken Julia on i686 for core-updates-frozen.


On Mon, 29 Nov 2021 at 19:21, zimoun <zimon.toutoune <at> gmail.com> wrote:

> diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
> index 83aa8b1099..17f4a9a169 100644
> --- a/gnu/packages/julia.scm
> +++ b/gnu/packages/julia.scm
> @@ -71,13 +71,17 @@ (define libunwind-julia
>          (base32
>           "1y0l08k6ak1mqbfj6accf9s5686kljwgsl4vcqpxzk5n74wpm6a3"))
>         (patches
> -        (list
> -         (julia-patch "libunwind-prefer-extbl"
> -                      "0lr4dafw8qyfh8sw8hhbwkql1dlhqv8px7k81y2l20hhxfgnh2m1")
> -         (julia-patch "libunwind-static-arm"
> -                      "1jk3bmiw61ypcchqkk1fyg5wh8wpggk574wxyfyaic870zh3lhgq")
> -         (julia-patch "libunwind-cfa-rsp"
> -                      "1aswjhvysahhldbzh1afbf0hsjxrvs6xidsz2i7s1cjkjbdiia1z")))))
> +        (append
> +            ;; Fix linker issue for i686-linux because GCC10 changed default
> +            ;; (see '-fno-common' option).
> +            (search-patches "libunwind-julia-fix-GCC10-fno-common.patch")

Here, the patch could be conditionally applied depending on the
architecture.  It would avoid to rebuild all Julia packages for x86_64.
Although, they are not broke, I guess. ;-)

Let me know or please go ahead. :-)


Cheers,
simon




This bug report was last modified 3 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.