Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498784 - dev-lang/luajit-2.0.2 on x32 - Error: pointer size mismatch in cross-build.
Summary: dev-lang/luajit-2.0.2 on x32 - Error: pointer size mismatch in cross-build.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
URL: http://www.freelists.org/post/luajit/...
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2014-01-21 12:18 UTC by Bertrand Jacquin
Modified: 2014-01-24 15:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,4.92 KB, text/plain)
2014-01-21 12:18 UTC, Bertrand Jacquin
Details
emerge --info (info.log,15.88 KB, text/plain)
2014-01-21 12:18 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
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.