Bug 107594 - [PATCH] fix crosscompilling with meson
Summary: [PATCH] fix crosscompilling with meson
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: All All
: medium blocker
Assignee: Dylan Baker
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-16 18:07 UTC by Gluzskiy Alexandr
Modified: 2018-12-20 18:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
this patch fixes crosscompilling mesa with meson (540 bytes, patch)
2018-08-16 18:07 UTC, Gluzskiy Alexandr
Details | Splinter Review

Description Gluzskiy Alexandr 2018-08-16 18:07:47 UTC
Created attachment 141146 [details] [review]
this patch fixes crosscompilling mesa with meson
Comment 1 Dylan Baker 2018-08-16 21:32:35 UTC
In the future please send patches to the list to review, we don't do review in bugzilla (https://www.mesa3d.org/submittingpatches.html).

I don't think this patch is correct, however. The only time that one should be building that binary is in an [x86, x86_64] -> [x86, x86_64] case, and it needs to be built for the host architecture (in meson speak, the host is the platform running the code).

What his your build machine architecture and host machine architecture? I think there might be a bug from non-x86 to x86*, now that I look at this code closer.
Comment 2 Gluzskiy Alexandr 2018-08-21 21:20:42 UTC
it solve problem building on x86_64 for x86
Comment 3 Dylan Baker 2018-10-02 16:35:32 UTC
Are you running into this issue, by chance: https://github.com/mesonbuild/meson/issues/4254
Comment 4 Dylan Baker 2018-12-20 18:35:01 UTC
I'm going to mark this as resolved, please reopen if it's still effecting you.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.