Closed JMBDowning closed 11 months ago
Is this error message from a build using dunfell-clang14? If not, is the error message the same for dunfell-clang14?
I'm asking because the error references a header from /usr/lib/gcc/x86_64-linux-gnu/7.5.0
, which shouldn't happen when using dunfell-clang14.
That log comes from build using the dunfell-clang14 branch but the error was identical for dunfell-clang12. However that does trigger an idea: I did a full clean of chromium between both builds but I am not sure that I did a full clean and rebuild of clang and your comment suggests to me that I should have done so. I will do a full rebuild of clang and see if that changes things when I clean and rebuild chromium.
I have tested with a fully cleaned build of clang using the dunfell-clang14 branch and I am still seeing this problem.
I also looked at the meta-clang repo and I note that the dunfell-clang14 branch is actually identical to the dunfell-clang12 branch (https://github.com/kraj/meta-clang/compare/dunfell-clang12...dunfell-clang14) and does not appear to actually make clang 14 available. Setting PREFERRED_VERSION:clang = "14.%"
in local.conf
with the dunfell-clang14 branch results in a message that clang 14 is not available and it reverts to 12.
It looks like there is an open issue in the meta-clang repo to deal with this (https://github.com/kraj/meta-clang/issues/835) so perhaps this needs to wait until meta-clang gets support for clang 14 in dunfell.
I also looked at the meta-clang repo and I note that the dunfell-clang14 branch is actually identical to the dunfell-clang12 branch
Oh, right - we're still in the process of merging dunfell-clang14 to https://github.com/kraj/meta-clang, sorry for the confusion. It currently still lives in this fork: https://github.com/rakuco/meta-clang. The fork's dunfell-clang14 branch is somewhat experimental, but I think you could still try using it to see if it does fix this error. If so, you could subscribe to the issue you already linked and wait until it's merged.
I can confirm that using the rakuco dunfell-clang14 branch does fix this issue so I shall wait for that branch to be merged. Thanks for all the help!
Hi, I am able to build chromium-x11up to and including meta-browser commit 633dbeecfe0db3e4ac9750d871ad213149728d26 under dunfell but no commits after that. I am following the instructions for dunfell builds in the README.md using nodejs 14.x and using dunfell-clang12 (also tried dunfell-clang14 to no effect). I am building for an SOC with an intel chipset using the corei7 tuning and am using a custom distro based on linux-yocto rather than a pocky-based distro if that is helpful/relevant.
The build fails in the do_compile step with the following error:
Any suggestions or is there something I have missed?
Thanks