-
Notifications
You must be signed in to change notification settings - Fork 305
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rusty_v8 0.104.0 build failure #1587
Comments
@chenrui333 at a guess, ensure that homebrew's llvm contains
|
yeah, we have it
but that is under 18 |
Sounds like you need to ensure your llvm 20 installation has the needed components or switch to using your llvm 18 installation? |
getting a similar error (in opensuse)
|
I googled and found this, perhaps your llvm distributions need to be updated: https://stackoverflow.com/questions/76936217/how-to-build-libclang-rt-builtins-a |
I don't think the version matters, i think the issue is that you have built llvm without compiler-rt enabled. If you want the compiler-rt requirement removed you will need to implement patches in the upstream chromium repo which we could then pull into rusty_v8. |
I looked into this, I believe the issue is that the build assumes you're using clang version 20, even when you set a custom clang base path. So then it looks for that static library under the incorrect path. We should probably be detecting the clang version and passing it along in For now, to fix the build you can try adding the env var
(assuming the version in homebrew is 18, which it currently is). The |
While packaging for Arch, we encountered this as well. Unfortunately the above workaround didn't work for us because our compiler-rt (which was built separately as a package) installs the file as Any idea how can I get around this? |
The configuration is here: https://source.chromium.org/chromium/chromium/src/+/main:build/config/clang/BUILD.gn Seems like you can probably follow along with chromium packaging: https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/blob/main/compiler-rt-adjust-paths.patch?ref_type=heads |
I see, thanks for the hint. Hacking this into the Rust building process is much more frustrating though... |
👋 trying to build the latest deno 1.46.0 release, but run into some build issue with rusty_v8 0.104.0. The error log is as below:
error build log
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/10507035952/job/29108048297?pr=181980
relates to Homebrew/homebrew-core#181980
The text was updated successfully, but these errors were encountered: