[NTG-context] ConTeXt on linux-armhf
henrimenke at gmail.com
Mon Aug 8 10:14:57 CEST 2016
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.
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.
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
> 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
> 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.
> 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
More information about the ntg-context