- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    21.0.7
- 
        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??
            
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:
may be the cause? Not sure AIX jtreg test code links with -qvisibility=hidden
possibly??
- caused by
- 
                    JDK-8347176 Compile tests with the same visibility rules as product code -           
- Resolved
 
-         
- links to
- 
                     Commit(master)
        openjdk/jdk21u-dev/9c263232 Commit(master)
        openjdk/jdk21u-dev/9c263232
- 
                     Review(master)
        openjdk/jdk21u-dev/1425 Review(master)
        openjdk/jdk21u-dev/1425
- 
                     Review(master)
        openjdk/jdk21u/459 Review(master)
        openjdk/jdk21u/459