Hi Tobias and all,
I can confirm instrumented builds are also broken with
clang-runtime@15 at the moment(using `clang -fprofile-instr-generate`) because `libclang_rt.profile-x86_64.a` doesn't exist.
In my opinion your suggested patch is just fine, as I believe we have to keep static files for this package:
- I couldn't find a recent explanation for this and all compiler-rt components, but this forum post explains why there are both static libs and shared libs:
https://discourse.llvm.org/t/asan-static-linking-on-android/29223/3 (basically they use static linking to intercept only calls from the main binary and not from dependent libraries, thanks to a glibc load order behavior, but the trick doesn't work on android and other platforms so they LD_PRELOAD a shared lib).
By a quick glance at the installed components I couldn't find any static library that we can remove (most of them only exist as a static library, and the others are sanitizers).
Regards,
Philippe