Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang 12 builds failing for arm64 machines #1042

Open
bhargavdas opened this issue Dec 26, 2024 · 1 comment
Open

clang 12 builds failing for arm64 machines #1042

bhargavdas opened this issue Dec 26, 2024 · 1 comment

Comments

@bhargavdas
Copy link

bhargavdas commented Dec 26, 2024

Describe the bug
clang 12 builds using kirkstone-clang12 branch are failing when compiling for arm64 machines.

To Reproduce
To reproduce the issue we can use poky for reference.

Steps to reproduce the behavior:

  1. Clone poky (git://git.yoctoproject.org/poky) and checkout kirkstone branch.
  2. Clone meta-clang (https://github.com/kraj/meta-clang.git) and checkout kirkstone-clang12 branch.
  3. source poky/oe-init-build-env
  4. Add meta-clang in bblayers.conf
  5. bitbake clang
  6. See error

Expected behavior
clang 12 build should be successful.

error log

| ninja: build stopped: subcommand failed.
| WARNING: /home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/build-clang12-arm64/tmp/work/cortexa57-poky-linux/clang/12.0.0-r0/temp/run.do_compile.1348470:160 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '/home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/build-clang12-arm64/tmp/work/cortexa57-poky-linux/clang/12.0.0-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
| WARNING: Backtrace (BB generated script):
| 	#1: cmake_runcmake_build, /home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/build-clang12-arm64/tmp/work/cortexa57-poky-linux/clang/12.0.0-r0/temp/run.do_compile.1348470, line 160
| 	#2: cmake_do_compile, /home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/build-clang12-arm64/tmp/work/cortexa57-poky-linux/clang/12.0.0-r0/temp/run.do_compile.1348470, line 154
| 	#3: do_compile, /home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/build-clang12-arm64/tmp/work/cortexa57-poky-linux/clang/12.0.0-r0/temp/run.do_compile.1348470, line 149
| 	#4: main, /home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/build-clang12-arm64/tmp/work/cortexa57-poky-linux/clang/12.0.0-r0/temp/run.do_compile.1348470, line 173
ERROR: Task (/home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1204 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/panchganga/baxter/bhargav/workspace-poky-kirkstone-24122024/meta-clang/recipes-devtools/clang/clang_git.bb:do_compile
Summary: There was 1 ERROR message, returning a non-zero exit code.

Complete log
clang12-build-failure.log

Desktop (please complete the following information):

  • OS: [e.g. ubuntu 22.04]
@bhargavdas
Copy link
Author

Hi @kraj , we need clang 12 support for few application builds. Is kirkstone-clang12 branch still supported ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant