-
Bug
-
Resolution: Fixed
-
P1
-
13
-
b21
-
Verified
$ CONF=linux-x86_64-server-fastdebug make images run-test TEST=tier1
...
/home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/support/test/hotspot/jtreg/native/support/libAsyncGetCallTraceTest/libAsyncGetCallTraceTest.o: In function `Java_MyPackage_ASGCTBaseTest_checkAsyncGetCallTraceCall':
/home/shade/trunks/jdk-jdk/test/hotspot/jtreg/serviceability/AsyncGetCallTrace/libAsyncGetCallTraceTest.cpp:188: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
JtregNativeHotspot.gmk:1522: recipe for target '/home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/support/test/hotspot/jtreg/native/lib/libAsyncGetCallTraceTest.so' failed
make[3]: *** [/home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/support/test/hotspot/jtreg/native/lib/libAsyncGetCallTraceTest.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make/Main.gmk:509: recipe for target 'build-test-hotspot-jtreg-native' failed
make[2]: *** [build-test-hotspot-jtreg-native] Error 2
I think -ldl is missing in make files somewhere.
...
/home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/support/test/hotspot/jtreg/native/support/libAsyncGetCallTraceTest/libAsyncGetCallTraceTest.o: In function `Java_MyPackage_ASGCTBaseTest_checkAsyncGetCallTraceCall':
/home/shade/trunks/jdk-jdk/test/hotspot/jtreg/serviceability/AsyncGetCallTrace/libAsyncGetCallTraceTest.cpp:188: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
JtregNativeHotspot.gmk:1522: recipe for target '/home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/support/test/hotspot/jtreg/native/lib/libAsyncGetCallTraceTest.so' failed
make[3]: *** [/home/shade/trunks/jdk-jdk/build/linux-x86_64-server-fastdebug/support/test/hotspot/jtreg/native/lib/libAsyncGetCallTraceTest.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make/Main.gmk:509: recipe for target 'build-test-hotspot-jtreg-native' failed
make[2]: *** [build-test-hotspot-jtreg-native] Error 2
I think -ldl is missing in make files somewhere.
- relates to
-
JDK-8223040 Add a AsyncGetCallTrace test
- Resolved