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

Bug 412931

Summary: media-libs/mesa-8.0.2: cross-compiling issue
Product: Gentoo Linux Reporter: DaboD <daiderek>
Component: New packagesAssignee: Gentoo X packagers <x11>
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Fix cross-compiling issue

Description DaboD 2012-04-21 16:44:38 UTC
Created attachment 309727 [details, diff]
Fix cross-compiling issue

mesa build builtin_compiler and run it while compiling. It won't work in cross-compiling due to it file is not a native executable.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-04-24 14:16:38 UTC
Isn't that something which should rather be fixed upstream?
Comment 2 DaboD 2012-04-25 05:05:22 UTC
Let the upstream fix it is the best solution. But, I don't know when will they accept it.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-04-25 10:20:18 UTC
Can you provide the link to an upstream bug report or mailing list discussion about this issue?
Comment 4 DaboD 2012-04-25 11:23:26 UTC
I am not report to update yet.
Comment 5 DaboD 2012-04-25 11:24:15 UTC
I am not report to the upstream yet.
Comment 6 Matt Turner gentoo-dev 2012-04-25 15:13:35 UTC
I'm okay with an ebuild hack to make this work if it'll help people, because this bug has been known upstream for a while.

See with a patch.
Comment 7 DaboD 2012-04-25 15:25:34 UTC
Thanks. I am porting Gentoo on to Freescale i.MX53. There are bunch of packages have this kind of issue. Currently, I am maintaining my own overlay, it's tiring to sync with official tree.

If you accept this kind of hack, I can keep helping to resolve this kind of issues. It is not only help ARM user, but make Gentoo more cross-platform friendly.
Comment 8 Matt Turner gentoo-dev 2013-02-23 03:10:07 UTC
9.1 has cross compiling support. Marking as fixed.