JDK-8306538 : Zero variant build failure after JDK-8257967
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: generic
  • Submitted: 2023-04-20
  • Updated: 2023-04-27
  • Resolved: 2023-04-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b20Fixed
Related Reports
Relates :  
Relates :  
Description
/usr/bin/ld: build/linux-riscv64-zero-slowdebug/buildjdk/hotspot/variant-server/libjvm/objs/os.o: in function `os::find_builtin_agent(JvmtiAgent*, char const**, unsigned long)':
src/hotspot/share/runtime/os.cpp:579: undefined reference to `JvmtiAgent::set_os_lib(void*)'
/usr/bin/ld: src/hotspot/share/runtime/os.cpp:587: undefined reference to `JvmtiAgent::set_os_lib(void*)'
collect2: error: ld returned 1 exit status
make[4]: *** [lib/CompileJvm.gmk:148: build/linux-riscv64-zero-slowdebug/buildjdk/support/modules_libs/java.base/server/libjvm.so] Error 1
make[3]: *** [Main.gmk:252: hotspot-server-libs] Error 2
make[2]: *** [make/Main.gmk:601: create-buildjdk-interim-image] Error 2
make[2]: *** Waiting for unfinished jobs....

ERROR: Build failed for target 'images' in configuration 'linux-riscv64-zero-slowdebug' (exit code 2) 
Stopping javac server
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13557 Date: 2023-04-20 10:10:57 +0000
20-04-2023

Changeset: 33a7978e Author: Zixian Cai <zcai@openjdk.org> Committer: Aleksey Shipilev <shade@openjdk.org> Date: 2023-04-20 12:41:50 +0000 URL: https://git.openjdk.org/jdk/commit/33a7978e85c0c2d610828f89fc1389696f55e1f2
20-04-2023