| Summary: | mesa fails to build when rm_work is enabled | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Khem Raj <raj.khem> |
| Component: | graphics | Assignee: | Khem Raj <raj.khem> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | dbaryshkov, meta.mr.watcher, meta.watcher, randy.macleod, ross.burton |
| Version: | unspecified | ||
| Target Milestone: | 5.3 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Khem Raj
2025-04-14 20:09:23 UTC
I manually appended --isysroot=/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/mesa/25.0│ │.2/recipe-sysroot this gets into next error Couldn't create Clang invocation. Between this and the meta-clang breakage our llvm/clang recipes are pretty broken. I'm close to advocating we revert the llvm changes in core... Khem, Dmitry: can you work out how to resolve this? With the following I can successfully build nodistro + mesa doing the build package-by-package, so that rm_work can kick in inbetween. - current github/master - https://lore.kernel.org/openembedded-core/20250418-mesa-25-fixes-v2-0-e110ccfe291f@oss.qualcomm.com/ - https://github.com/kraj/meta-clang/pull/1085 I definitely don't think that reverting llvm / mesa in acceptable solution: this means shipping a very outdated and not supported component. (In reply to Ross Burton from comment #2) > Between this and the meta-clang breakage our llvm/clang recipes are pretty > broken. > > I'm close to advocating we revert the llvm changes in core... Khem, Dmitry: > can you work out how to resolve this? I have pushed a new branch to contrib tree which contains a clang merge into core. https://web.git.yoctoproject.org/poky-contrib/log/?h=kraj/clang-merge-2 Please look into it and lets make it work. I can build mesa with this and also full featured clang compiler. I will start adapting meta-clang to remove clang and make adjustments as needed to work with clang coming from core. I think this will straighten the path forward. (In reply to Dmitry Baryshkov from comment #3) > With the following I can successfully build nodistro + mesa doing the build > package-by-package, so that rm_work can kick in inbetween. > > - current github/master > - > https://lore.kernel.org/openembedded-core/20250418-mesa-25-fixes-v2-0- > e110ccfe291f@oss.qualcomm.com/ I have staged these patches into kraj/clang-merge-2 branch > - https://github.com/kraj/meta-clang/pull/1085 > I think this wont be needed. > I definitely don't think that reverting llvm / mesa in acceptable solution: > this means shipping a very outdated and not supported component. yes, I am hopeful that we don't have to take this step. From IRC, #yocto Randy: khem: RP thinks that this issue has been resolved, do you agree? Khem: I think yes,I have not seen this failures on CI systems for some weeks now |