Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412931 - media-libs/mesa-8.0.2: cross-compiling issue
Summary: media-libs/mesa-8.0.2: cross-compiling issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-21 16:44 UTC by DaboD
Modified: 2013-02-23 03:10 UTC (History)
0 users

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


Attachments
Fix cross-compiling issue (mesa-8.0.2-cross-compiling.patch,1010 bytes, patch)
2012-04-21 16:44 UTC, DaboD
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 https://bugs.freedesktop.org/show_bug.cgi?id=44618 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.