Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223779

Build failure after 8223040 (Add a AsyncGetCallTrace test)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 13
    • 13
    • hotspot
    • svc
    • b21
    • Verified

    Description

      $ 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.

      Attachments

        Issue Links

          Activity

            People

              jcbeyler Jean Christophe Beyler
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: