dev-lang/luajit fail to build on x32 with the following error on compile phase : HOSTLINK host/buildvm x86_64-pc-linux-gnux32-gcc -Wl,-O1 -Wl,--as-needed -o host/buildvm host/buildvm.o host/buildvm_asm.o host/buildvm_peobj.o host/buildvm_lib.o host/buildvm_fold.o BUILDVM lj_vm.s host/buildvm -m elfasm -o lj_vm.s Error: pointer size mismatch in cross-build. Try: make HOST_CC="gcc -m32" CROSS=... Makefile:606: recipe for target 'lj_vm.s' failed make[1]: *** [lj_vm.s] Error 1 Attached full log and emerge --info Reproducible: Always
Created attachment 368326 [details] build.log
Created attachment 368328 [details] emerge --info
I do not support x32 abi for this package. our package is mostly vanilla luajit from upstream. you may want to work with upstream to get it working on x32.
(In reply to Rafael G. Martins from comment #3) > I do not support x32 abi for this package. our package is mostly vanilla > luajit from upstream. you may want to work with upstream to get it working > on x32. That's why I contacted upstream as reported in URL field. I'm not expecting a resolution from gentoo but that bug can be an entry point for other people trying to get juajit build and run on a x32 profile. That bug can also get patch attached from other gentoo user/developer. And also for me to let gentoo community aware about upstream enhancement on the subjet.
(In reply to Bertrand Jacquin from comment #4) > (In reply to Rafael G. Martins from comment #3) > > I do not support x32 abi for this package. our package is mostly vanilla > > luajit from upstream. you may want to work with upstream to get it working > > on x32. > > That's why I contacted upstream as reported in URL field. I'm not expecting > a resolution from gentoo but that bug can be an entry point for other people > trying to get juajit build and run on a x32 profile. Not quite correct. Unsupported stuff is unsupported, we don't keep bugs for unsupported stuff open. > That bug can also get > patch attached from other gentoo user/developer. And also for me to let > gentoo community aware about upstream enhancement on the subjet. Not really. We don't apply any patch to fix/improve stuff that isn't supported by upstream, so, even if you (or someone else) have a patch, I won't apply it on our package before you get it accepted by luajit upstream. Sorry
"We" == myself == gentoo luajit maintainer.