JDK-8306282 : Build failure linux-arm32-open-cmp-baseline after JDK-8257967
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 21
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2023-04-18
  • Updated: 2023-07-13
  • Resolved: 2023-04-18
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 b19Fixed
Related Reports
Relates :  
Relates :  
Description
[2023-04-18T08:23:01,160Z] open/src/hotspot/share/runtime/arguments.cpp:2346: error: undefined reference to 'JvmtiAgentList::add_xrun(char const*, char*, bool)'
[2023-04-18T08:23:01,164Z] open/src/hotspot/share/runtime/arguments.cpp:2418: error: undefined reference to 'JvmtiAgentList::add(char const*, char*, bool)'
[2023-04-18T08:23:04,275Z] open/src/hotspot/share/runtime/java.cpp:520: error: undefined reference to 'JvmtiAgentList::unload_agents()'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:289: error: undefined reference to 'JvmtiAgentList::agents()'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:291: error: undefined reference to 'JvmtiAgentList::Iterator::next()'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:291: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:290: error: undefined reference to 'JvmtiAgentList::Iterator::has_next() const'
[2023-04-18T08:23:04,754Z] open/src/hotspot/share/prims/nativeLookup.cpp:296: error: undefined reference to 'JvmtiAgentList::Iterator::~Iterator()'
[2023-04-18T08:23:04,758Z] open/src/hotspot/share/prims/nativeLookup.cpp:296: error: undefined reference to 'JvmtiAgentList::Iterator::~Iterator()'
[2023-04-18T08:23:04,826Z] open/src/hotspot/share/runtime/os.cpp:542: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,826Z] open/src/hotspot/share/runtime/os.cpp:549: error: undefined reference to 'JvmtiAgent::is_static_lib() const'
[2023-04-18T08:23:04,826Z] open/src/hotspot/share/runtime/os.cpp:549: error: undefined reference to 'JvmtiAgent::name() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:551: error: undefined reference to 'JvmtiAgent::is_absolute_path() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:572: error: undefined reference to 'JvmtiAgent::name() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:577: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:579: error: undefined reference to 'JvmtiAgent::set_os_lib(void*)'
[2023-04-18T08:23:04,830Z] open/src/hotspot/share/runtime/os.cpp:542: error: undefined reference to 'JvmtiAgent::os_lib() const'
[2023-04-18T08:23:04,831Z] open/src/hotspot/share/runtime/os.cpp:549: error: undefined reference to 'JvmtiAgent::name() const'
[2023-04-18T08:23:04,832Z] open/src/hotspot/share/runtime/os.cpp:551: error: undefined reference to 'JvmtiAgent::is_absolute_path() const'
[2023-04-18T08:23:04,835Z] open/src/hotspot/share/runtime/os.cpp:587: error: undefined reference to 'JvmtiAgent::set_os_lib(void*)'
[2023-04-18T08:23:04,835Z] open/src/hotspot/share/runtime/os.cpp:583: error: undefined reference to 'JvmtiAgent::set_static_lib()'
[2023-04-18T08:23:04,835Z] open/src/hotspot/share/runtime/os.cpp:584: error: undefined reference to 'JvmtiAgent::set_loaded()'
[2023-04-18T08:23:05,415Z] open/src/hotspot/share/runtime/threads.cpp:500: error: undefined reference to 'JvmtiAgentList::load_agents()'
[2023-04-18T08:23:05,419Z] open/src/hotspot/share/runtime/threads.cpp:617: error: undefined reference to 'JvmtiAgentList::load_xrun_agents()'
[2023-04-18T08:23:05,419Z] open/src/hotspot/share/runtime/threads.cpp:657: error: undefined reference to 'JvmtiAgentList::load_xrun_agents()'

The refactoring is missing conditionals for embedded builds.
Comments
Changeset: 0f3828dd Author: Markus Grönlund <mgronlun@openjdk.org> Date: 2023-04-18 16:00:40 +0000 URL: https://git.openjdk.org/jdk/commit/0f3828dddd8d4a08677efcd15aa8dfde18540130
18-04-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13512 Date: 2023-04-18 14:22:21 +0000
18-04-2023

Also failing in GHA: linux-x86_64-minimal (probably easiest to reproduce, --with-jvm-variants=minimal) macos-aarch64
18-04-2023