meta-clang icon indicating copy to clipboard operation
meta-clang copied to clipboard

Task "meta-clang/recipes-devtools/clang/clang_git.bb:do_compile" failed with exit code '1'

Open TejasAbhang4042 opened this issue 3 years ago • 2 comments

Hello,

I am a beginner with Yocto and I want to run chromium browser with Yocto dunfell. I read your comment in one of the issues that latest dunfell-clang12 branch of meta-clang is needed by meta-chromium.

So I cloned the branch in sources directory, added the path in my "bblayers.conf" file. I have also enabled virtualization in the DISTRO_FEATURES. But I am unable to compile meta-clang. The task of compiling "meta-clang/recipes-devtools/clang/clang_git.bb" is failing.

I have also tried other branches like dunfell and clang12.

Am I missing something or doing something wrong?

Please help.

TejasAbhang4042 avatar Jun 29 '22 04:06 TejasAbhang4042

@TejasAbhang4042 please post more details about errors you are seeing. Usually clang for target is not needed when compiling chromium, it only needs the clang cross-compiler, but regardless, we maybe able to help you further if you post error details.

kraj avatar Jun 29 '22 15:06 kraj

Well I got the issue. I was using gcc version 5.4. I guess due to this it was failing to compile. So after upgrading the gcc version to 8, it got compiled successfully.

TejasAbhang4042 avatar Jul 01 '22 04:07 TejasAbhang4042

closing based on above comment. Please re-open if its not resolved.

kraj avatar Aug 24 '22 01:08 kraj