11:52 anonymix007[m]: I am cross compiling, yes. Is there a reason why mesa-clc can't be compiled with "native: true" even for cross builds?
13:48 anonymix007[m]: I guess the actual problem is not the mesa_clc binary itself, but rather vtn_bindgen2. I wonder what would be a reasonable way to cross build without having to also compile LLVM for the host machine and having things constantly break like this
14:28 mattst88: there's not a way to avoid the LLVM host dependency
14:28 mattst88: `native: true` would presumably run into that and would require a bunch more build machinery
14:29 mattst88: I guess you could try to run mesa_clc under qemu. dunno
14:45 MoeIcenowy: well do the "host" here means autotools `--host=` ?
14:45 MoeIcenowy: (a.k.a. the architecture for the built Mesa to run on
14:46 MoeIcenowy: anonymix007[m]: I think for `native: true`, it's just not implemented
14:47 MoeIcenowy: because you would need to acquire a bunch of requirements for the native (autotools --build) system
14:47 MoeIcenowy: in addition to target requirements
17:08 dviola: curious if this is a qemu issue or a bug in mesa: https://gitlab.com/qemu-project/qemu/-/work_items/4912
17:08 dviola: removing that line in CONFIG_GBM fixes the issue, but it's a guest only thing
17:28 anonymix007[m]: mattst88: well, mesa-clc=system is one way to only have LLVM for the build machine. If mesa would build LLVM as a subproject, I guess it also works for cross compilation, but it's just too much hassle otherwise
17:29 mattst88: that sounds fun
17:32 anonymix007[m]: Also no need to even use QEMU. Since the target is Windows, wine works. Anyway, can mesa_clc be a native executable? Like it seems to output SPIR-V. And it's only the vtn_bindgen2 which outputs unstable serialized NIR
20:05 mattst88: anonymix007[m]: yes, it can be a native executable. on gentoo, that's why it's a separate package: so it can be executed on a host when cross compiling mesa
20:21 gawin_: (Piglit) can someone review this one: https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/1269
20:22 gawin_: Not my MR, but Piglit stopped building on fresh distros like Arch
23:44 karolherbst: anybody up for a pipe-loader review? I promise, it's a trivial/small change: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/46305