# Libclang\_rt.builtins-x86\_64.a missing for native clang-15

**URL:** <https://community.tmpdir.org/t/libclang-rt-builtins-x86-64-a-missing-for-native-clang-15/640>\
**Category:** Yoe Distro\
**Created:** [September 18, 2022, 2:46pm UTC](https://community.tmpdir.org/t/libclang-rt-builtins-x86-64-a-missing-for-native-clang-15/640 "2022-09-18T14:46:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![khem](https://community.tmpdir.org/user_avatar/community.tmpdir.org/khem/32/5_2.png) [@khem](https://community.tmpdir.org/u/khem)\
**Post date:** [September 19, 2022, 3:15am UTC](https://community.tmpdir.org/t/libclang-rt-builtins-x86-64-a-missing-for-native-clang-15/640/2 "2022-09-19T03:15:00Z")

</div>

Yoe distro uses clang defaulting to llvm runtime which perhaps OpenBMC is not doing. Its still defaulting to GCC runtime, this works unintended in native case because runtime default is gcc on linux sysems but does not work for yoe native clang compiler due to different defaults.

meta-clang now has a class which should be inherited to use it as a native compiler

> <https://github.com/kraj/meta-clang/blob/master/classes/clang-native.bbclass>

Perhaps this is something you can use if you are using native clang during compiling perfetto

---

_[View the full topic](https://community.tmpdir.org/t/libclang-rt-builtins-x86-64-a-missing-for-native-clang-15/640)._
