-
Bug
-
Resolution: Fixed
-
P2
-
13
-
b06
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8235519 | 11.0.7-oracle | Erik Joelsson | P2 | Closed | Fixed | b01 |
JDK-8235651 | 11.0.7 | Erik Joelsson | P2 | Resolved | Fixed | b01 |
make run-test TEST_OPTS_AOT_MODULES=java.base ... failed for me on mac:
Running with AOTd libraries for java.base
Generating test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.dylib
Compiling /Users/iignatye/ws/jdk/jdk12/build/macosx-x64/test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.dylib...
6204 classes found (550 ms)
56381 methods total, 52563 methods to compile (1947 ms)
Compiling with 4 threads
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
52563 methods compiled, 0 methods failed (277417 ms)
Parsing compiled code (1568 ms)
Processing metadata (17276 ms)
Preparing stubs binary (0 ms)
Preparing compiled binary (211 ms)
Creating binary: /Users/iignatye/ws/jdk/jdk12/build/macosx-x64/test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.o (12469 ms)
Creating shared library: /Users/iignatye/ws/jdk/jdk12/build/macosx-x64/test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.dylib (8691 ms)
Exception in thread "main" java.lang.InternalError: ld: warning: URGENT: building for OSX, but linking against dylib (/usr/lib/libSystem.dylib) built for (unknown). Note: This will be an error in the future.Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executableld: symbol(s) not found for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)
at jdk.aot@12-internal/jdk.tools.jaotc.Linker.link(Linker.java:133)
at jdk.aot@12-internal/jdk.tools.jaotc.Main.run(Main.java:252)
at jdk.aot@12-internal/jdk.tools.jaotc.Main.run(Main.java:132)
at jdk.aot@12-internal/jdk.tools.jaotc.Main.main(Main.java:88)
Running with AOTd libraries for java.base
Generating test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.dylib
Compiling /Users/iignatye/ws/jdk/jdk12/build/macosx-x64/test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.dylib...
6204 classes found (550 ms)
56381 methods total, 52563 methods to compile (1947 ms)
Compiling with 4 threads
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
52563 methods compiled, 0 methods failed (277417 ms)
Parsing compiled code (1568 ms)
Processing metadata (17276 ms)
Preparing stubs binary (0 ms)
Preparing compiled binary (211 ms)
Creating binary: /Users/iignatye/ws/jdk/jdk12/build/macosx-x64/test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.o (12469 ms)
Creating shared library: /Users/iignatye/ws/jdk/jdk12/build/macosx-x64/test-support/aot/jtreg_open_test_hotspot_jtreg_compiler_intrinsics_bigInteger_TestMulAdd_java/libjava.base.dylib (8691 ms)
Exception in thread "main" java.lang.InternalError: ld: warning: URGENT: building for OSX, but linking against dylib (/usr/lib/libSystem.dylib) built for (unknown). Note: This will be an error in the future.Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executableld: symbol(s) not found for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)
at jdk.aot@12-internal/jdk.tools.jaotc.Linker.link(Linker.java:133)
at jdk.aot@12-internal/jdk.tools.jaotc.Main.run(Main.java:252)
at jdk.aot@12-internal/jdk.tools.jaotc.Main.run(Main.java:132)
at jdk.aot@12-internal/jdk.tools.jaotc.Main.main(Main.java:88)
- backported by
-
JDK-8235651 [AOT] TEST_OPTS_AOT_MODULES doesn't work on mac
- Resolved
-
JDK-8235519 [AOT] TEST_OPTS_AOT_MODULES doesn't work on mac
- Closed