GNU bug report logs - #40556
[PATCH] gnu: dovecot: Add libunwind input.

Previous Next

Package: guix-patches;

Reported by: Pierre Langlois <pierre.langlois <at> gmx.com>

Date: Sat, 11 Apr 2020 15:44:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Pierre Langlois <pierre.langlois <at> gmx.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: Pierre Langlois <pierre.langlois <at> gmx.com>, 40556 <at> debbugs.gnu.org
Subject: Re: [bug#40556] [PATCH] gnu: dovecot: Add libunwind input.
Date: Sat, 11 Apr 2020 18:53:29 +0200
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice writes:

> Pierre,
>
> Pierre Langlois 写道:
>> I wonder what's wrong with backtrace_symbols() in guix, I'm not sure
>> how
>> to investigate that. For now though, what do you think of using
>> libunwind?
>
> OK, but it should only be included on platforms that require it:

Oh sure thing!

>
>  ;; Untested…
>  (inputs
>   `(…
>     ,@(match (%current-system)
>         ((or "aarch64-linux" "armhf-linux" …)
>          `(("libunwind" ,libunwind)))
>         (_ `()))
>     …))
>
> Could you test that?

OK, the following patch works for me (tested building for armhf and
aarch64 on a rockpro64). I've also added a "FIXME" comment to mention
the issue so we can remove/keep it when we have a good understanding of
what's going on.

[0001-gnu-dovecot-Add-libunwind-input-for-arm.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
Thanks,
Pierre

This bug report was last modified 5 years and 37 days ago.

Previous Next


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