-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Riscv64 Fedora : Target //src:bazel_nojdk failed to build #19388
Comments
I added --strategy=Javac=standalone to the command line and got the following output:
|
I would suggest following that advice and filing a bug report with RedHat, not Bazel. |
Yeah, the jvm crash isn't a bazel issue, least of all an issue with the java rules. That being said, perhaps there is something we can change to avoid running into this. But without being able to reproduce this, I'm afraid there probably isn't much we can do. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug:
ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/packages/BUILD:28:13: Building src/main/java/com/google/devtools/build/lib/packages/libglobber.jar (1 source file) failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<--- ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/BUILD:56:13: Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libserialization-processor-util.jar (1 source file) [for tool] failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<--- ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/concurrent/BUILD:22:13: Building src/main/java/com/google/devtools/build/lib/concurrent/libthread_safety.jar (1 source file) failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<--- ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/BUILD:81:13: Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec/libautocodec-annotation.jar (1 source file) [for tool] failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<--- ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/util/BUILD:25:13: Building src/main/java/com/google/devtools/build/lib/util/libvar_int.jar (1 source file) failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<--- ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/cmdline/BUILD:88:13: Building src/main/java/com/google/devtools/build/lib/cmdline/libLabelValidator.jar (1 source file) failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<--- ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/util/BUILD:32:13: Building src/main/java/com/google/devtools/build/lib/util/libos.jar (1 source file) failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<--- ERROR: /home/fedora/bazel-6.0.0/src/main/java/com/google/devtools/build/lib/skyframe/serialization/BUILD:14:13: Building src/main/java/com/google/devtools/build/lib/skyframe/serialization/libcodec-scanning-constants.jar (1 source file) failed: Worker process did not return a WorkResponse:
---8<---8<--- Start of log, file at /tmp/bazel_X8eA4OhG/out/bazel-workers/multiplex-worker-3-Javac.log ---8<---8<--- OpenJDK 64-Bit Zero VM warning: -XX:+TieredCompilation not supported in this VM ---8<---8<--- End of log ---8<---8<---
Target //src:bazel_nojdk failed to build INFO: Elapsed time: 9380.871s, Critical Path: 6821.65s INFO: 1961 processes: 391 internal, 1570 local. FAILED: Build did NOT complete successfully
Which category does this issue belong to?
Remote Execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Sorry, for some reason I can't provide a fedora image of my riscv64 architecture.
Which operating system are you running Bazel on?
Linux fedora-riscv 6.1.42 #1 SMP Fri Aug 18 02:30:30 CST 2023 riscv64 GNU/Linux
What is the output of
bazel info release
?No response
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
JAVA VERSION
GCC VERSION
Other information
I tried compiling in version 6.0.0 and still reproduced the same error on my machine
The text was updated successfully, but these errors were encountered: