Created attachment 141146 [details] [review] this patch fixes crosscompilling mesa with meson
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.
it solve problem building on x86_64 for x86
Are you running into this issue, by chance: https://github.com/mesonbuild/meson/issues/4254
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.