Hi There, I would like to enable luajit for ppc64le to be able to run sysbench. I found the work done by Koriakin in luajit upstream but it has not been released yet. https://github.com/LuaJIT/LuaJIT/pull/140 I tried to build luajit with these patches and it builds ok in koji f29 https://koji.fedoraproject.org/koji/taskinfo?taskID=27631561 Also I tested basic sysbench tests with it and it seems ok too. Please could you see if you can add these patches and enable ppc64le build for luajit. Thanks changes done on luajit.spec: ---> add of ppc64le arch ExclusiveArch: %{arm} %{ix86} x86_64 %{mips} aarch64 ppc64le ---> add patches %ifarch ppc64le # Add ppc64le patches from koriakin # https://github.com/LuaJIT/LuaJIT/pull/140 Patch1: ppc64le_3d90e7e.patch Patch2: ppc64le_8d1fb71.patch Patch3: ppc64le_47ed69b.patch Patch4: ppc64le_89f7457.patch Patch5: ppc64le_1d40c34.patch Patch6: ppc64le_270bfa6.patch Patch7: ppc64le_1de5033.patch Patch8: ppc64le_f9b470d_ported.patch Patch9: ppc64le_2bf1b24.patch %endif ---> add -p1 for patches applying %autosetup -p1 -n LuaJIT-%{srcver}
Created attachment 1451874 [details] patch1
Created attachment 1451875 [details] patch2
Created attachment 1451876 [details] patch3
Created attachment 1451877 [details] patch4
Created attachment 1451878 [details] patch5
Created attachment 1451879 [details] patch6
Created attachment 1451880 [details] patch7
Created attachment 1451881 [details] patch8
Created attachment 1451882 [details] patch9
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
I attempted to rebase these patches on the latest v2.1 branch and it fails because of the ppc soft-float support that went in in 2017, that is not part of the 2.1.0-beta3 release. Would you be able to help with the rebase?
ok let me have a look and see what I can do
Hi there, I propose a new patch based on the koriakin and Galvao work and rebased with FPU and other existing fedora patches. For PPC, I only tested the ENDIAN LE mode (ENDIAN_LE/FPU/ELFV2). Koji scratch test is: https://koji.fedoraproject.org/koji/taskinfo?taskID=35481640
Created attachment 1579425 [details] New ppc64le support patch
This is great, thank you Menanteau! The scratch build looks clean and all tests pass too, so we're good to go on this. I'll close this bug once I've actually put the patch into Fedora and my github fork.
I've opened a PR here: https://src.fedoraproject.org/rpms/luajit/pull-request/3
Patch is now in rawhide, thank you Menanteau!