GNU bug report logs -
#49220
luajit doesn't support powerpc64le
Previous Next
To reply to this bug, email your comments to 49220 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#49220
; Package
guix
.
(Fri, 25 Jun 2021 06:06:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chris Marusich <cmmarusich <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 25 Jun 2021 06:06:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
When attempting to build luajit on powerpc64le-linux, you will get
errors like this:
--8<---------------cut here---------------start------------->8---
==== Building LuaJIT 2.1.0-beta3 ====
make -C src
make[1]: Entering directory '/tmp/guix-build-luajit-2.1.0-beta3.drv-0/LuaJIT-2.1.0-beta3/src'
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
make[1]: *** No rule to make target 'vm_ppc64.dasc', needed by 'host/buildvm_arch.h'. Stop.
make[1]: Leaving directory '/tmp/guix-build-luajit-2.1.0-beta3.drv-0/LuaJIT-2.1.0-beta3/src'
make: *** [Makefile:113: default] Error 2
--8<---------------cut here---------------end--------------->8---
This has downstream impacts, such as being unable to build LuaJITTeX.
If we can't use LuaJIT on powerpc64le-linux, we should probably remove
it from the luajit package's list of supported systems.
I checked their email list and website, but I can't find information
about whether the LuaJIT project is actively working on support for
powerpc64le architecture specifically. I'll ask their email list
(luajit <at> freelists.org) in a moment, and we'll see what they say.
--
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#49220
; Package
guix
.
(Fri, 25 Jun 2021 06:16:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 49220 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi LuaJIT community,
Is anyone in the LuaJIT community actively working on adding support for
the powerpc64le architecture? Specifically, I am wondering about the
powerpc64le-linux-gnu triplet, running on POWER9-based systems like the
Talos II and Blackbird sold by Raptor Computing Systems.
I ask because LuaJIT has been packaged for Guix, but it currently fails
to build on this platform, as explained in the following Guix bug
report:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49220
Based on the error output, it seems that this platform just isn't
supported yet:
--8<---------------cut here---------------start------------->8---
==== Building LuaJIT 2.1.0-beta3 ====
make -C src
make[1]: Entering directory '/tmp/guix-build-luajit-2.1.0-beta3.drv-0/LuaJIT-2.1.0-beta3/src'
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
lj_arch.h:428:2: error: #error "No support for PowerPC 64 bit mode (yet)"
428 | #error "No support for PowerPC 64 bit mode (yet)"
| ^~~~~
make[1]: *** No rule to make target 'vm_ppc64.dasc', needed by 'host/buildvm_arch.h'. Stop.
make[1]: Leaving directory '/tmp/guix-build-luajit-2.1.0-beta3.drv-0/LuaJIT-2.1.0-beta3/src'
make: *** [Makefile:113: default] Error 2
--8<---------------cut here---------------end--------------->8---
I have CC'd the Guix bug report for this issue. When replying, if you
could please keep 49220 <at> debbugs.gnu.org in the CC list so that your
replies will be recorded in the bug report, that would be helpful. That
will make it easier for Guix contributors to follow the conversation.
Best regards,
--
Chris Marusich
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#49220
; Package
guix
.
(Mon, 28 Jun 2021 06:15:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 49220 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Jun 24, 2021 at 11:15:01PM -0700, Chris Marusich wrote:
> Hi LuaJIT community,
>
> Is anyone in the LuaJIT community actively working on adding support for
> the powerpc64le architecture? Specifically, I am wondering about the
> powerpc64le-linux-gnu triplet, running on POWER9-based systems like the
> Talos II and Blackbird sold by Raptor Computing Systems.
>
> I ask because LuaJIT has been packaged for Guix, but it currently fails
> to build on this platform, as explained in the following Guix bug
> report:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49220
>
> Based on the error output, it seems that this platform just isn't
> supported yet:
>
I have successfully built luajit on our ppc64le porter box using the
patch Debian uses to add powerpc64 support. I have tested it on my
32-bit powerpc machine and adding the patch breaks luajit for it, but I
think we can work something out.
¹ https://sources.debian.org/src/luajit/2.1.0%7Ebeta3+dfsg-6/debian/patches/0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch/
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#49220
; Package
guix
.
(Wed, 07 Jul 2021 02:04:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 49220 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Efraim Flashner <efraim <at> flashner.co.il> writes:
> On Thu, Jun 24, 2021 at 11:15:01PM -0700, Chris Marusich wrote:
>> Hi LuaJIT community,
>>
>> Is anyone in the LuaJIT community actively working on adding support for
>> the powerpc64le architecture? Specifically, I am wondering about the
>> powerpc64le-linux-gnu triplet, running on POWER9-based systems like the
>> Talos II and Blackbird sold by Raptor Computing Systems.
>>
>> I ask because LuaJIT has been packaged for Guix, but it currently fails
>> to build on this platform, as explained in the following Guix bug
>> report:
>>
>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49220
>>
>> Based on the error output, it seems that this platform just isn't
>> supported yet:
>>
>
> I have successfully built luajit on our ppc64le porter box using the
> patch Debian uses to add powerpc64 support. I have tested it on my
> 32-bit powerpc machine and adding the patch breaks luajit for it, but I
> think we can work something out.
>
> ¹ https://sources.debian.org/src/luajit/2.1.0%7Ebeta3+dfsg-6/debian/patches/0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch/
Thank you for sharing that. I see that it came from this GitHub pull
request:
"Enable !LJ_GC64 interpreter on PPC64."
https://github.com/LuaJIT/LuaJIT/pull/140
I wonder if the LuaJIT maintainers are aware of that pull request?
It looks like the pull request has been open for about 5 years, and it
hasn't been merged. Unless the situation changes, this probably means
that if we choose to use this patch in Guix, we (and the Debian folks, I
guess) will be responsible for maintaining it and dealing with any bugs.
Personally, I'm not interested in doing that right now, mainly because
LuaJIT doesn't seem like a necessary dependency. The only reason this
caught my attention is because Guix's texlive-latex-base package failed
to build on powerpc64le-linux. It failed to build because the
luajithbtex engine is missing on powerpc64le-linux. It's missing
because LuaJIT doesn't support the platform. Issues like that can be
worked around by just using the non-JIT version of Lua (the "luahbtex"
engine in this case). That's good enough for me.
Of course, if someone else wants to step up and maintain a port for
powerpc64le platforms (ideally upstream in collaboration with the
current LuaJIT maintainer(s)), that would be great. But it takes time
and effort, and I'm happy enough to just use normal Lua for now.
--
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#49220
; Package
guix
.
(Mon, 24 Jan 2022 17:53:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 49220 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Chris Marusich <cmmarusich <at> gmail.com> writes:
> I checked their email list and website, but I can't find information
> about whether the LuaJIT project is actively working on support for
> powerpc64le architecture specifically. I'll ask their email list
> (luajit <at> freelists.org) in a moment, and we'll see what they say.
It's been about 7 months. There has been no reply on the luajit email
list, or on the GitHub pull request mentioned earlier. It seems
unlikely that luajit will support powerpc64le-linux support soon.
For this reason, I have removed powerpc64le-linux from luajit's
supported-systems in commit ecb3f1b96a5895999cd800187b2197a78b56760a on
master.
LuaJIT is a dependency, either direct or indirect, of about 58 packages:
$ guix refresh -l luajit
Building the following 39 packages would ensure 58 dependent packages
are rebuilt: arcan-sdl <at> 0.5.5.2-1.b4dd1fb arcan-wayland <at> 0.5.5.2-1.b4dd1fb
xarcan <at> 0.5.4-1.8e6ee02 knot-resolver <at> 5.4.4 evisum <at> 0.6.0 ephoto <at> 1.6.0
edi <at> 0.8.0 enlightenment <at> 0.25.1 terminology <at> 1.12.1 lekha <at> 0.2.1 rage <at> 0.4.0
econnman <at> 1.1 epour <at> 0.7.0 jami-qt <at> 20210606.1.e2f9490
jami-gnome <at> 20210606.1.e2f9490 pinentry-efl <at> 1.2.0 eovim <at> 0.2.0
mrrescue <at> 1.02e love-nuklear <at> 2.6.1 instead <at> 3.3.5
solarus-quest-editor <at> 1.6.5 tome4 <at> 1.7.4 naev <at> 0.9.1 mrg <at> 0.1.4
bpftrace <at> 0.11.4 rspamd <at> 2.7 hexchat <at> 2.16.0
minetest-mobs-animal <at> 2021-11-14 minetest-worldedit <at> 1.3
minetest-unified-inventory <at> 2021-12-26 minetest-mesecons <at> 1.2.1-0.db58797
minetest-homedecor-modpack <at> 2021-12-26 minetest-coloredwood <at> 2021-04-14-1
minetest-technic <at> 2021-09-11 minetest-basic-trains <at> 1.0.1
minetest-throwing-arrows <at> 1.1-0.059cc89 minetest-ethereal <at> 1.29-0.7670c1d
luakit <at> 2.3 nginx-lua-module <at> 0.10.16
Most of them depend indirectly on luajit via the "efl" and "minetest" packages:
guix graph --type=reverse-bag luajit | dot -Tpng > /tmp/luajit-reverse-bag.png
Here's the graph:
[luajit-reverse-bag.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
Given the lack of PowerPC 64 bit support and the lack of interest in
supporting the architecture, people who want to use those packages on
powerpc64le-linux will either need to add and maintain that support or
figure out how to modify the package definitions to avoid the dependency
on luajit entirely.
--
Chris
PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=106836
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.