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: Thu, 16 Apr 2020 19:13:21 +0200
User-agent: mu4e 1.2.0; emacs 26.3

Hi Ludo!

Ludovic Courtès writes:

> Hi,
>
> Pierre Langlois <address@hidden> skribis:
>
>> +       ;; FIXME: The 'test-backtrace' tests fail on arm when using glibc's
>> +       ;; backtrace_symbol() function so fallback to using libunwind.
>> +       ,@(match (or (%current-target-system) (%current-system))
>> +           ((or "aarch64-linux" "armhf-linux")
>> +            `(("libunwind" ,libunwind)))
>> +           (_ '()))
>
> This isn’t quite correct because ‘%current-target-system’ returns a
> triplet, like “arm-linux-gnueabihf”.

Oups, I didn't realize the cross-compilation target was different.

>
> Use ‘target-arm?’ instead.

Yep, that works really nicely, it's much clearer.

I've tested on x86_64, arm and aarch64 natively. I'll try
cross-compiling with --target=arm-linux-gnueabihf and
--target=aarch64-linux-gnu as well but that'll take a little longer.

Thanks!
Pierre

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


reply via email to

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