Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Disable libclang_rt linking #1662

Open
mbekkomo opened this issue Nov 25, 2024 · 0 comments
Open

Disable libclang_rt linking #1662

mbekkomo opened this issue Nov 25, 2024 · 0 comments

Comments

@mbekkomo
Copy link

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant