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

[21u] AIX jtreg tests fail to compile with qvisibility=hidden

XMLWordPrintable

    • b04
    • ppc
    • aix

      jdk-21.0.7+1 on AIX is failing to compile with error:
      14:56:45 ld: 0711-407 ERROR: Symbol .std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
      14:56:45 Visibility is not allowed on a reference to an imported symbol.
      14:56:45 gmake[3]: *** [test/JtregNativeJdk.gmk:148: /home/jenkins/workspace/build-scripts/jobs/jdk21u/jdk21u-aix-ppc64-temurin/workspace/build/src/build/aix-ppc64-server-release/support/test/jdk/jtreg/native/bin/NullCallerTest] Error 8

      Ref build log: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21u/job/jdk21u-aix-ppc64-temurin/88/consoleFull

      I suspect recent change: JDK-8327460
      may be the cause? Not sure AIX jtreg test code links with -qvisibility=hidden
      possibly??

            sroy Suchismith Roy
            aleonard Andrew Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: