Bug 107594

Summary: [PATCH] fix crosscompilling with meson
Product: Mesa Reporter: Gluzskiy Alexandr <sss>
Component: OtherAssignee: Dylan Baker <baker.dylan.c>
Status: RESOLVED NOTOURBUG QA Contact: mesa-dev
Severity: blocker    
Priority: medium CC: baker.dylan.c
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: this patch fixes crosscompilling mesa with meson

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.