-
Notifications
You must be signed in to change notification settings - Fork 2
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
no matching toolchains found for types @bazel_tools//tools/jdk:runtime_toolchain_type #20
Comments
hi, i am working on build bazel6.1.0 from source by the way "bazel build bazel". |
Hi @6eanut, this repo is meant to cross-compile RISCV code, I think what you are doing is trying to build You do not need this repo, bazel is JAVA based so you need to install the Java Development Kit (JDK) on your machine. The error you are seeing seems to be related to the lack of JAVA on the system. Maybe checkout something like this: https://github.com/openjdk/riscv-port |
@hexdae thanks for answering!
Thank you again for your reply, I am very excited! |
The issues you are encountering may be related to your existing Bazel 5.3. If you follow the tutorial at https://bazel.google.cn/start/cpp and try to use your existing Bazel 5.3 with the example program cpp-tutorial/stage1, you will find that you encounter the same issue as when compiling with Bazel 6.1, specifically being unable to connect to the local Bazel server.
I also tried Bazel binaries provided by others but encountered the same issue. |
The crash location of Bazel is concentrated in functions related to absl and grpc. |
@Boring545 ,hi boring545. |
Sorry, I don’t have it, but if you make any progress on compiling Bazel, please let me know. |
@6eanut are you ok with closing this issue? It should still be searchable on google for people who have this issue, but we can't fix this problem in the repo. |
@hexdae |
environment:
steps:
bug:
The text was updated successfully, but these errors were encountered: