Created attachment 483966 [details] luajittex backtrace luajittex crashes with illegal opcode during texlive-basic build. In fact it crashes even when invoked without arguments. Kernel log gets messages like: [709631.540707] traps: luajittex[6595] trap invalid opcode ip:b7689ae1 sp:bfd95de0 error:0 [709631.540715] in libtexluajit.so.2.1.0[b766b000+73000] This is fully reproducible with gcc-4.9.4 and gcc-5.4.0 on the same x86 machine. The backtrace is attached.
I think it works for me. I could install it without problems and can start it: ====================== $ luajittex This is LuajitTeX, Version 1.0.4 (TeX Live 2017) restricted system commands enabled. ** ======================
can you try with texlive 2017 ?
(In reply to Alexis Ballier from comment #2) > can you try with texlive 2017 ? Already had, the same problem. Please note, that is an ancient x86 (AMD Athlon(tm) XP 2600+) system.
(In reply to Alexis Ballier from comment #2) > can you try with texlive 2017 ? but older texlive-core-2015-r1 seems to work fine: $ luajittex This is LuajitTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) restricted \write18 enabled. **
AS far as I understand, jit is not expected to work unless sse2 is supported by CPU. I would suggest, then to make "luajittex" flag depend on CPU_FLAGS_X86 "sse2" flag. Does it make sense?
<app-text/texlive-core-2021 is no longer in the tree. Please test with app-text/texlive-core-2021 and reopen, if the problem still exists.