Describe the bug
Starting with the kirkstone branch, the file /usr/lib/clang/14.0.3/lib/linux/libclang_rt.orc-aarch64.a is installed by both compiler-rt and compiler-rt-sanitizers
To Reproduce
Steps to reproduce the behavior:
Compile recipe "foobar" which inherits clang class with bitbake
Bitbake error:
ERROR: foobar-0.1-r0 do_prepare_recipe_sysroot: The file /usr/lib/clang/14.0.3/lib/linux/libclang_rt.orc-aarch64.a is installed by both compiler-rt and compiler-rt-sanitizers, aborting
Expected behavior
With honister only one file was provided by compiler-rt:
Honister:
Desktop (please complete the following information):
OS: Ubuntu 22.04
Version: branch kirkstone of meta-clang (commit d669d873edf68dc744 )
Additional context
This is while working on a custom recipe foobar (which I can't provide) which has a dependency on compiler-rt and compiler-rt-sanitizers, however if you have issue reproducing I can work on creating a minimal reproducible setup.
Describe the bug Starting with the kirkstone branch, the file
/usr/lib/clang/14.0.3/lib/linux/libclang_rt.orc-aarch64.a
is installed by both compiler-rt and compiler-rt-sanitizersTo Reproduce Steps to reproduce the behavior:
ERROR: foobar-0.1-r0 do_prepare_recipe_sysroot: The file /usr/lib/clang/14.0.3/lib/linux/libclang_rt.orc-aarch64.a is installed by both compiler-rt and compiler-rt-sanitizers, aborting
Expected behavior With honister only one file was provided by compiler-rt: Honister:
With kirkstone the file libclang_rt.orc-aarch.a is added to compiler-rt and to compiler-rt-sanitizers:
kirkstone:
Desktop (please complete the following information):
Additional context This is while working on a custom recipe foobar (which I can't provide) which has a dependency on compiler-rt and compiler-rt-sanitizers, however if you have issue reproducing I can work on creating a minimal reproducible setup.