-
Bug
-
Resolution: Fixed
-
P1
-
26
-
master
-
x86_64
-
generic
Mach5 Tier1 builds appear to be broken on all X64 platforms by this fix:
JDK-8360559 Optimize Math.sinh for x86 64 bit platforms
Here's a log file snippet from a linux-x64-debug build:
[2025-08-04T19:03:24,035Z] Creating support/native/jdk.jpackage/libjpackageapplauncheraux/static/libjpackageapplauncheraux.a from 19 file(s)
[2025-08-04T19:10:23,876Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp: In member function 'u_char* StubGenerator::generate_libmSinh()':
[2025-08-04T19:10:23,876Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:292:3: error: 'StubGenStubId' was not declared in this scope
[2025-08-04T19:10:23,876Z] 292 | StubGenStubId stub_id = StubGenStubId::dsinh_id;
[2025-08-04T19:10:23,876Z] | ^~~~~~~~~~~~~
[2025-08-04T19:10:23,887Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:293:27: error: 'stub_id' was not declared in this scope; did you mean 'StubId'?
[2025-08-04T19:10:23,887Z] 293 | StubCodeMark mark(this, stub_id);
[2025-08-04T19:10:23,887Z] | ^~~~~~~
[2025-08-04T19:10:23,887Z] | StubId
[2025-08-04T19:10:24,048Z] lib/CompileJvm.gmk:172: recipe for target '/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/static/stubGenerator_x86_64_sinh.o' failed
[2025-08-04T19:10:24,048Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/static/stubGenerator_x86_64_sinh.o] Error 1
[2025-08-04T19:10:24,048Z] make[3]: *** Waiting for unfinished jobs....
[2025-08-04T19:10:25,558Z] make[2]: *** [hotspot-server-static-libs] Error 2
[2025-08-04T19:10:25,558Z] make/Main.gmk:250: recipe for target 'hotspot-server-static-libs' failed
[2025-08-04T19:10:25,558Z] make[2]: *** Waiting for unfinished jobs....
[2025-08-04T19:10:45,521Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp: In member function 'u_char* StubGenerator::generate_libmSinh()':
[2025-08-04T19:10:45,521Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:292:3: error: 'StubGenStubId' was not declared in this scope
[2025-08-04T19:10:45,521Z] 292 | StubGenStubId stub_id = StubGenStubId::dsinh_id;
[2025-08-04T19:10:45,521Z] | ^~~~~~~~~~~~~
[2025-08-04T19:10:45,532Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:293:27: error: 'stub_id' was not declared in this scope; did you mean 'StubId'?
[2025-08-04T19:10:45,532Z] 293 | StubCodeMark mark(this, stub_id);
[2025-08-04T19:10:45,532Z] | ^~~~~~~
[2025-08-04T19:10:45,532Z] | StubId
[2025-08-04T19:10:45,695Z] lib/CompileJvm.gmk:172: recipe for target '/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/stubGenerator_x86_64_sinh.o' failed
[2025-08-04T19:10:45,695Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/stubGenerator_x86_64_sinh.o] Error 1
[2025-08-04T19:10:45,695Z] make[3]: *** Waiting for unfinished jobs....
[2025-08-04T19:10:49,938Z] make/Main.gmk:242: recipe for target 'hotspot-server-libs' failed
[2025-08-04T19:10:49,938Z] make[2]: *** [hotspot-server-libs] Error 2
[2025-08-04T19:10:49,940Z]
[2025-08-04T19:10:49,942Z] ERROR: Build failed for target 'default (product-bundles test-bundles static-libs-bundles)' in configuration 'linux-x64-debug' (exit code 2)
Here's a log file snippet from a linux-x64-debug build:
[2025-08-04T19:03:24,035Z] Creating support/native/jdk.jpackage/libjpackageapplauncheraux/static/libjpackageapplauncheraux.a from 19 file(s)
[2025-08-04T19:10:23,876Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp: In member function 'u_char* StubGenerator::generate_libmSinh()':
[2025-08-04T19:10:23,876Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:292:3: error: 'StubGenStubId' was not declared in this scope
[2025-08-04T19:10:23,876Z] 292 | StubGenStubId stub_id = StubGenStubId::dsinh_id;
[2025-08-04T19:10:23,876Z] | ^~~~~~~~~~~~~
[2025-08-04T19:10:23,887Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:293:27: error: 'stub_id' was not declared in this scope; did you mean 'StubId'?
[2025-08-04T19:10:23,887Z] 293 | StubCodeMark mark(this, stub_id);
[2025-08-04T19:10:23,887Z] | ^~~~~~~
[2025-08-04T19:10:23,887Z] | StubId
[2025-08-04T19:10:24,048Z] lib/CompileJvm.gmk:172: recipe for target '/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/static/stubGenerator_x86_64_sinh.o' failed
[2025-08-04T19:10:24,048Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/static/stubGenerator_x86_64_sinh.o] Error 1
[2025-08-04T19:10:24,048Z] make[3]: *** Waiting for unfinished jobs....
[2025-08-04T19:10:25,558Z] make[2]: *** [hotspot-server-static-libs] Error 2
[2025-08-04T19:10:25,558Z] make/Main.gmk:250: recipe for target 'hotspot-server-static-libs' failed
[2025-08-04T19:10:25,558Z] make[2]: *** Waiting for unfinished jobs....
[2025-08-04T19:10:45,521Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp: In member function 'u_char* StubGenerator::generate_libmSinh()':
[2025-08-04T19:10:45,521Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:292:3: error: 'StubGenStubId' was not declared in this scope
[2025-08-04T19:10:45,521Z] 292 | StubGenStubId stub_id = StubGenStubId::dsinh_id;
[2025-08-04T19:10:45,521Z] | ^~~~~~~~~~~~~
[2025-08-04T19:10:45,532Z] /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/open/src/hotspot/cpu/x86/stubGenerator_x86_64_sinh.cpp:293:27: error: 'stub_id' was not declared in this scope; did you mean 'StubId'?
[2025-08-04T19:10:45,532Z] 293 | StubCodeMark mark(this, stub_id);
[2025-08-04T19:10:45,532Z] | ^~~~~~~
[2025-08-04T19:10:45,532Z] | StubId
[2025-08-04T19:10:45,695Z] lib/CompileJvm.gmk:172: recipe for target '/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/stubGenerator_x86_64_sinh.o' failed
[2025-08-04T19:10:45,695Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S170146/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4788bff3-479c-413c-90d7-8475be7fd390/runs/989f41b3-8878-48be-846c-800fb9c0fb97/workspace/build/linux-x64-debug/hotspot/variant-server/libjvm/objs/stubGenerator_x86_64_sinh.o] Error 1
[2025-08-04T19:10:45,695Z] make[3]: *** Waiting for unfinished jobs....
[2025-08-04T19:10:49,938Z] make/Main.gmk:242: recipe for target 'hotspot-server-libs' failed
[2025-08-04T19:10:49,938Z] make[2]: *** [hotspot-server-libs] Error 2
[2025-08-04T19:10:49,940Z]
[2025-08-04T19:10:49,942Z] ERROR: Build failed for target 'default (product-bundles test-bundles static-libs-bundles)' in configuration 'linux-x64-debug' (exit code 2)
- caused by
-
JDK-8360559 Optimize Math.sinh for x86 64 bit platforms
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/f96b6bcd
-
Review(master) openjdk/jdk/26628
-
Review(master) openjdk/jdk/26629