rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

Disable `libclang_rt` linking

Open 0komo opened this issue 11 months ago • 0 comments

Hello, I'm trying to cross-compile rusty_v8 for Android platform. But I encounter an error while trying to cross-build it.

  ninja: error: '../../../../../../_cache/android-r27c-api-24-v1/sysroot/usr/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a', needed by 'clang_x64_v8_arm64/obj/v8/libv8_libbase.a', missing and no known rule to make it

It tries to find the libclang_rt which the clang toolchain I provided didn't have that for some reason, but instead it has an alternative which is libgcc (cc -print-libgcc-file-name). Is there a way to disable that?

0komo avatar Nov 25 '24 11:11 0komo