guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#40556] [PATCH] gnu: dovecot: Add libunwind input.


From: Pierre Langlois
Subject: [bug#40556] [PATCH] gnu: dovecot: Add libunwind input.
Date: Sat, 11 Apr 2020 18:53:29 +0200
User-agent: mu4e 1.2.0; emacs 26.3

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.

Attachment: 0001-gnu-dovecot-Add-libunwind-input-for-arm.patch
Description: Text Data

Thanks,
Pierre

reply via email to

[Prev in Thread] Current Thread [Next in Thread]