[tlbuild] problem disabling luajit and luatex
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Tue Apr 26 02:53:29 CEST 2016
On 26 April 2016 at 02:44, Nelson H. F. Beebe wrote:
>
> The original luajit configuration failure looked like this:
>
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGEFILE_SOURCE value needed for large files... no
> configure: error: Sorry, can not preprocess <lj_arch.h>
> === configuring in luajit failed
> Makefile:898: recipe for target 'recurse' failed
>
> The lj_arch.h file has this block of architecture definitions:
>
> #define LUAJIT_ARCH_X86 1
> #define LUAJIT_ARCH_x86 1
> #define LUAJIT_ARCH_X64 2
> #define LUAJIT_ARCH_x64 2
> #define LUAJIT_ARCH_ARM 3
> #define LUAJIT_ARCH_arm 3
> #define LUAJIT_ARCH_ARM64 4
> #define LUAJIT_ARCH_arm64 4
> #define LUAJIT_ARCH_PPC 5
> #define LUAJIT_ARCH_ppc 5
> #define LUAJIT_ARCH_MIPS 6
> #define LUAJIT_ARCH_mips 6
>
> The IA-64 (Itanium) platform is not among them. C/C++ compilers on
> that system define the symbols __ia64 and __ia64__. It is normally
> little-endian, like x86_64, but its register model is very different.
> The lj_arch.h file has symbols that refer to register numbers, which
> would normally be accessible only through __asm__() macros, so I
> expect that it might be nontrivial to add IA-64 support. I do not
> propose to investigate that question further.
In that case we could probably disable luajit on Itanium (to avoid the
need to explicitly disable it on an unsupported architecture).
Mojca
More information about the tlbuild
mailing list