Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 498784

Summary: dev-lang/luajit-2.0.2 on x32 - Error: pointer size mismatch in cross-build.
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: [OLD] DevelopmentAssignee: Rafael Martins (RETIRED) <rafaelmartins>
Status: RESOLVED WONTFIX    
Severity: normal CC: bertrand
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.freelists.org/post/luajit/Building-luajit202-on-x32
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 393673    
Attachments: build.log
emerge --info

Description Bertrand Jacquin 2014-01-21 12:18:26 UTC
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
Comment 1 Bertrand Jacquin 2014-01-21 12:18:42 UTC
Created attachment 368326 [details]
build.log
Comment 2 Bertrand Jacquin 2014-01-21 12:18:55 UTC
Created attachment 368328 [details]
emerge --info
Comment 3 Rafael Martins (RETIRED) gentoo-dev 2014-01-24 01:25:58 UTC
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.
Comment 4 Bertrand Jacquin 2014-01-24 12:48:44 UTC
(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.
Comment 5 Rafael Martins (RETIRED) gentoo-dev 2014-01-24 13:20:34 UTC
(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
Comment 6 Rafael Martins (RETIRED) gentoo-dev 2014-01-24 13:21:14 UTC
"We" == myself == gentoo luajit maintainer.