From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23879 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kolen Cheung Newsgroups: gmane.text.pandoc Subject: Re: Interested in pre-built pandoc binary for Raspberry Pi? Date: Sun, 24 Nov 2019 21:08:24 -0800 (PST) Message-ID: References: <0261ce84-ce3e-4d0e-bc54-8ffc57426ed3@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_570_768172961.1574658505133" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="90040"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS252WXTEIBBSWD5XXAKGQEVLELGAY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Nov 25 06:08:30 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f192.google.com ([209.85.167.192]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iZ6bt-000NH7-He for gtp-pandoc-discuss@m.gmane.org; Mon, 25 Nov 2019 06:08:29 +0100 Original-Received: by mail-oi1-f192.google.com with SMTP id n30sf7006210oij.9 for ; Sun, 24 Nov 2019 21:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=GuAMrBgt2wW5sOChE4bcmCA9pTTey8SggXRNzr/MlxY=; b=DVjgY3uXM9iqvqOjWUJPpvMgIuDMWWNn/fD6NeAfOtLv4KvsaPi/mNCw5GCA/QyQdI ITlNNujdbDgNRii31Gpg0QlNOICVUvLOS+E0dKyAV5HnxheSGM26coPBDK8fPAb5W8lw kIgZXQGyPOiyyVfRC8Ug/aP/T6RQDHv1TdiXE8iyvXyDxz6NKiaKqTapCNEdRgaXMzd9 2TMTdjYg8ikXTLsqPh5X++yoVa2Rb5V+QY1msnwZpgMW6kLt0z7Gev6fMt3Bc053mHqC MH7kAuciSrcPZuehaRf1YoGfXw0xpxZAKZChEDgg2ncWzApK+CljwRRvnaadcp9ysTSX 1tQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=GuAMrBgt2wW5sOChE4bcmCA9pTTey8SggXRNzr/MlxY=; b=fanHiXvjTVQH7o7YNpgIRkR7a9oQFaIUpN7SitsyFjiS0fE1xYiBvpDBgLpdVlXfib 3Omtfo/5h/+n8fPJ5sUqO3iwf34zvG23ikKdzEmyD52dZCF/R19yhQjuzJOVf/Yuk1Ez /0jm5AjKUzWzuO7SCD5rDDuv8DFPLazfy2cDnZkW723ACBxT+MlZR4V1hHZWXr+T6nK6 gIwpVKNrXealPNSOomn+PyXUT8/Eu90RIY+wjRPBAhZBUIFqbcbPYbz7DPKfF/X/C8MA il4sIlg0B1W9mMYegLk9rzABnRe4ceYgHDOVVS7jazuYp46JAC3lYzap9JDT6+zwxLfZ 4uNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=GuAMrBgt2wW5sOChE4bcmCA9pTTey8SggXRNzr/MlxY=; b=nhIeopLI8yzYgYBuo8/PG0WnVcA6QPmTXhxKfEBbXsVJHu9YOmtnhWFQ6AVT3cVCDm Qy8Z7yNlgSZ+8DcxkU34Z+xhODH9VCva344DdijaMxKQJ9W7OXqYPAd9bQ6D9W0tN6Jz LP8I0GMUBV24cRglVPAm+lVtrSjjOr3c6D+DxfU3XXMjqFa4ZgAtC8LwZkkaLKzb4GA9 DfeDpBL2sxojisqaJdBWc8hn8HhRL5m4/FKltjDY7VjdiDG4spv7RVFLVPe0MLun6hXX dw07rQy91x7y0QQSeCCkRc/HmVqesCfyHN2QCB5EsS7xGUvwS7fmnXoSEI9EmDK+UhYe Ueow== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAVixCzsPCxl6E+9tx828VAYk7OQKBresz5KfszDFjfx/jO46Y45 oIqkO0Lo8Wv6npYiYxL6CVc= X-Google-Smtp-Source: APXvYqx13q1Ue92NFNKRCttNqtxZsJpFl22WD/aK/bKX4x6ticcp1gc6iSW79NhqdLNl9JzvYA/mpA== X-Received: by 2002:a9d:3b49:: with SMTP id z67mr17502125otb.174.1574658508143; Sun, 24 Nov 2019 21:08:28 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:3987:: with SMTP id y7ls2330017otb.8.gmail; Sun, 24 Nov 2019 21:08:26 -0800 (PST) X-Received: by 2002:a9d:b83:: with SMTP id 3mr18237299oth.56.1574658505748; Sun, 24 Nov 2019 21:08:25 -0800 (PST) In-Reply-To: X-Original-Sender: christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:23879 Archived-At: ------=_Part_570_768172961.1574658505133 Content-Type: multipart/alternative; boundary="----=_Part_571_719351837.1574658505134" ------=_Part_571_719351837.1574658505134 Content-Type: text/plain; charset="UTF-8" Interestingly, as I was trying to compile pandoc 2.8 on Raspberry Pi 4 I encountered the following error: [129 of 157] Compiling Text.Pandoc.Readers.LaTeX ghc: internal error: getMBlock: mmap: Invalid argument (GHC version 8.4.4 for arm_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug cabal: Leaving directory '/tmp/cabal-tmp-4329/pandoc-2.8' cabal: Error: some packages failed to install: pandoc-2.8-7DuyvaKAuuG7FMyA94fihL failed during the building phase. The exception was: ExitFailure (-6) So it seems to be compiler bug very similar to https://gitlab.haskell.org/ghc/ghc/issues/16383 But looking at https://gitlab.haskell.org/ghc/ghc/issues/7500 it seems this error can be related to insufficient memory? I checked and the memory used is Maximum resident set size (kbytes): 2963812 And from https://www.raspberrypi.org/forums/viewtopic.php?t=244367 the max amount of memory per process is 3GiB on 32bit Linux as 1GB virtual memory is locked. IIRC, pandoc 2.7.3 compiles using around 2.8 GiB. So pandoc 2.8 seems to require more memory to compile. I wonder if the same problem is seen in Linux x86. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f7812845-5e9c-4acb-b251-425a4c0dfaaf%40googlegroups.com. ------=_Part_571_719351837.1574658505134 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Interestingly, as I was trying to compile pandoc 2.8 on Ra= spberry Pi 4 I encountered the following error:

[129 of 157] Compiling Text.Pandoc.Readers.LaTeX

ghc: internal error: getMBlock: mmap: Invalid argument=

=C2=A0 =C2=A0 (GHC version 8.4.4 for arm_unknown_linux)

=C2=A0 =C2=A0 Please report this as a GHC bug:=C2=A0 http://w= ww.haskell.org/ghc/reportabug

cabal: Leaving directory '/tmp/cabal-tmp-4329/pandoc-2.8&= #39;

cabal: Error: some packages failed to install:

pandoc-2.8-7DuyvaKAuuG7FMyA94fihL failed during the building = phase. The

exception was:

ExitFailure (-6)


So it se= ems to be compiler bug very similar to=C2=A0https://gitlab.haskell.org/ghc/= ghc/issues/16383

But looking at=C2=A0https://gitla= b.haskell.org/ghc/ghc/issues/7500 it seems this error can be related to ins= ufficient memory?

I checked and the memory used is= =C2=A0Maxim= um resident set size (kbytes): 2963812

And = from=C2=A0https://www.raspberrypi.org/forums/viewtopic.php?t=3D244367 the m= ax amount of memory per process is 3GiB on 32bit Linux as 1GB virtual memor= y is locked.

IIRC, pandoc 2.7.3 compiles using aro= und 2.8 GiB. So pandoc 2.8 seems to require more memory to compile. I wonde= r if the same problem is seen in Linux x86.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/f7812845-5e9c-4acb-b251-425a4c0dfaaf%40googlegroups.co= m.
------=_Part_571_719351837.1574658505134-- ------=_Part_570_768172961.1574658505133--