Trying to build using an older llvm version is something which has been done but still failed since llvm16 is pulled in no matter and is being used. I think it was a dependency that something requires clang-tools and clang-tools requires llvm16. (Or something like that) fvogt pointed me to this patch: https://github.com/rust-lang/rust-bindgen/pull/2319 After I added it to the package the original issue is gone and TB builds for i586. But it fails on x86-64 now with thread 'main' panicked at 'Not able to resolve vector element?: Continue', third_party/rust/bindgen/src/ir/ty.rs:1170:22