[NTG-context] ConTeXt on linux-armhf

Jose Luis Arellano jose.4rellano at gmail.com
Mon Aug 8 21:16:46 CEST 2016


Well, if i use the binary from
http://tug.org/svn/texlive/trunk/Master/bin/armel-linux/ (Revision 41089) i
get "Segmentation fault".
However, the binary from
http://tug.org/svn/texlive/trunk/Master/bin/armhf-linux/ (Revision 41117)
seems to work perfectly fine.
Thanks guys.

2016-08-08 5:14 GMT-03:00 Henri Menke <henrimenke at gmail.com>:

> Hi,
>
> as far as I know, there is no such thing like the standard ARM chip.  The
> ARM company designs chips to fit the needs of their customers.  Therefore,
> the Raspberry Pi processor and the processor in a smartphone may have a
> very different instruction set.
>
> The Wikipedia page for the ARM Cortex-A7 (Raspberry Pi 2 Model B) lists
> several other chips implementing the Cortex-A7 instruction set.  I would
> only guarantee compatibility with these chips if the binaries were built
> for this architecture.
>
> https://en.wikipedia.org/wiki/ARM_Cortex-A7
>
> Another issue I could think of is the filesystem format.  This is very
> heterogeneous among Android vendors.  I think Samsung uses f2fs, HTC uses
> YAFFS, and LG uses ext4.  It could be that the luatex binary runs on some
> kind of compatibility layer within Android which is either lacking correct
> filesystem syscalls or is doing them wrong.
>
> These are just ideas.  I hope it helps anyway.
> Cheers, Henri
>
> On 08/08/2016 09:46 AM, Mojca Miklavec wrote:
> > On 8 August 2016 at 06:53, Jose Luis Arellano wrote:
> >> Hi Mojca,
> >>
> >> The binaries comes from armhf (your build), as you can see in logs
> attached.
> >> While the version of Tex Live installed is texlive-bin-2016.41290-5
> -armv7h.
> >
> > armv7h looks like "armhf".
> >
> > But I checked the logs and you are most likely using the binaries that
> > were compiled for Arch Linux and your machine (CPU) specifically
> > rather than the ones that are compiled by the TeX Live team.
> >
> > Can you try replacing the luatex binary in ConTeXt distribution with
> > the binaries from
> >     http://tug.org/svn/texlive/trunk/Master/bin/
> > please try once with armel-linux/luatex and once with
> > armhf-linux/luatex. (You can fetch the binary via SVN or via viewvc,
> > but make sure that the downloaded file will be executable.)
> >
> > I'm curious whether that binary works for you (try with armhf-linux
> first).
> >
> >> Maybe the problem is related to architecture of cpu, the latest
> raspbian use
> >> ARMv8.
> >
> > The exact architecture depends on hardware rather than software. I
> > guess we have RPi2 B (Hans must know). For some reason I cannot access
> > the machine at the moment, but I guess that RPi2+ is also armv7 (ARM
> > Cortex-A7). I'm not 100% sure though.
> >
> > The question is whether an older version of OS would help in any way.
> >
> > In any case you should be able to just copy the luatex from your
> > distro to the minimals and get a working PDF.
> >
> > Mojca
> > ____________________________________________________________
> _______________________
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/
> listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive  : http://foundry.supelec.fr/projects/contextrev/
> > wiki     : http://contextgarden.net
> > ____________________________________________________________
> _______________________
> >
>
> ____________________________________________________________
> _______________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/
> listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ____________________________________________________________
> _______________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160808/64ab2d57/attachment.html>


More information about the ntg-context mailing list