From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59407) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNKOR-0007Me-EA for guix-patches@gnu.org; Sat, 11 Apr 2020 13:58:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNKOI-0000Wi-3p for guix-patches@gnu.org; Sat, 11 Apr 2020 13:58:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45512) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNKOH-0000WY-O0 for guix-patches@gnu.org; Sat, 11 Apr 2020 13:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNKOH-0001FY-NA for guix-patches@gnu.org; Sat, 11 Apr 2020 13:58:01 -0400 Subject: [bug#40556] [PATCH] gnu: dovecot: Add libunwind input. Resent-Message-ID: Date: Sat, 11 Apr 2020 13:56:42 -0400 In-Reply-To: <87eesuhsl2.fsf@gmx.com> References: <87ftdahvut.fsf@gmx.com> <875ze6ngmg.fsf@nckx> <87eesuhsl2.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: <5AA1CEE8-556B-48A9-BA51-86686EDD0482@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Langlois , Tobias Geerinckx-Rice Cc: 40556@debbugs.gnu.org Le 11 avril 2020 12:53:29 GMT-04:00, Pierre Langlois a =C3=A9crit : > >Tobias Geerinckx-Rice writes: > >> Pierre, >> >> Pierre Langlois =E5=86=99=E9=81=93=EF=BC=9A >>> I wonder what's wrong with backtrace_symbols() in guix, I'm not sure >>> how >>> to investigate that=2E 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=E2=80=A6 >> (inputs >> `(=E2=80=A6 >> ,@(match (%current-system) >> ((or "aarch64-linux" "armhf-linux" =E2=80=A6) >> `(("libunwind" ,libunwind))) >> (_ `())) >> =E2=80=A6)) >> >> Could you test that? > >OK, the following patch works for me (tested building for armhf and >aarch64 on a rockpro64)=2E 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=2E Great, thanks for working on it, I had totally forgotten about it, because= I fixed it in my systems by not running tests=2E There's also a bug report= I sent to bug-guix I think=2E Adding libunwind should work=2E I remember t= esting it once, but it was just too long and I forgot about it ^^"