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.
$ mkdir bazel && wget https://github.com/bazelbuild/bazel/releases/download/6.3.2/bazel-6.3.2-dist.zip
$ cd bazel
$ unzip bazel-6.3.2-dist.zip
$ vim ./tools/build_rules/java_rules_skylark.bzl
if ctx.files.srcs or ctx.files.srcjars:
cmd += "%s/bin/javac" % java_runtime.java_home
cmd += " " + " ".join(javac_options)
+ cmd += " -J-Xmx30g "
if compile_time_jars:
"tools/build_rules/java_rules_skylark.bzl" 296L, 10480B 71,24 20%
$ export BAZEL_JAVAC_OPTS="-J-Xmx30g"
$ env EXTRA_BAZEL_ARGS="--tool_java_runtime_version=local_jdk --javacopt=-J-Xmx30g" bash ./compile.sh
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 returns development 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
[fedora@fedora-riscv bazel]$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment 18.9 (build 11.0.11+9)
OpenJDK 64-Bit Zero VM 18.9 (build 11.0.11+9, interpreted mode)
[fedora@fedora-riscv bazel]$ javac -version
javac 11.0.11
[fedora@fedora-riscv bazel]$
GCC VERSION
[fedora@fedora-riscv bazel]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/riscv64-redhat-linux/12/lto-wrapper
Target: riscv64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-12.2.1-20221121/obj-riscv64-redhat-linux/isl-install --enable-gnu-indirect-function --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.1 20221121 (Red Hat 12.2.1-4) (GCC)
Other information
I tried compiling in version 6.0.0 and still reproduced the same error on my machine
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 successfullyWhich 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 releasereturnsdevelopment versionor(@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