Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking broken on macOS with GCC: RAJA::TypedIndexSet symbols are undefined #1431

Open
barracuda156 opened this issue Jan 20, 2023 · 7 comments
Assignees

Comments

@barracuda156
Copy link

[  1%] Linking CXX shared library lib/libRAJA.dylib
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/RAJA.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -dynamiclib -Wl,-headerpad_max_install_names -fopenmp -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -o lib/libRAJA.dylib -install_name @rpath/libRAJA.dylib CMakeFiles/RAJA.dir/src/AlignedRangeIndexSetBuilders.cpp.o CMakeFiles/RAJA.dir/src/DepGraphNode.cpp.o CMakeFiles/RAJA.dir/src/LockFreeIndexSetBuilders.cpp.o CMakeFiles/RAJA.dir/src/MemUtils_CUDA.cpp.o CMakeFiles/RAJA.dir/src/MemUtils_HIP.cpp.o CMakeFiles/RAJA.dir/src/MemUtils_SYCL.cpp.o CMakeFiles/RAJA.dir/src/PluginStrategy.cpp.o  -Wl,-rpath,/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_raja/raja/work/build/lib lib/libdesul_atomics.dylib lib/libcamp.dylib 
Undefined symbols:
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr in LockFreeIndexSetBuilders.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in AlignedRangeIndexSetBuilders.cpp.o
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in LockFreeIndexSetBuilders.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in AlignedRangeIndexSetBuilders.cpp.o
      __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in LockFreeIndexSetBuilders.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
ld: symbol(s) not found

This $non_lazy_ptr issue is known to happen every once in a while with GCC 12.2.0, however on every other instance GCC 11.3.0 worked fine. This is the first case where both fail identically, and MPI wrapper also fails.

@barracuda156
Copy link
Author

At the same time, static lib builds fine. Only dynamic fails to link.

@barracuda156
Copy link
Author

Tests are still broken though:

make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin/CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
/usr/bin/make  -f test/integration/plugin/CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/build.make test/integration/plugin/CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
/usr/bin/make  -f test/integration/plugin/CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/build.make test/integration/plugin/CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
[  6%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/test-plugin-resource-launch-OpenMP.cpp.o
[  6%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/test-plugin-workgroup-Direct-Sequential.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/test-plugin-resource-launch-OpenMP.cpp.o -MF CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/test-plugin-resource-launch-OpenMP.cpp.o.d -o CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/test-plugin-resource-launch-OpenMP.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin/test-plugin-resource-launch-OpenMP.cpp
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/test-plugin-workgroup-Direct-Sequential.cpp.o -MF CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/test-plugin-workgroup-Direct-Sequential.cpp.o.d -o CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/test-plugin-workgroup-Direct-Sequential.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin/test-plugin-workgroup-Direct-Sequential.cpp
[  6%] Linking CXX executable ../../test-plugin-kernel-Sequential.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-kernel-Sequential.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-kernel-Sequential.exe.dir/test-plugin-kernel-Sequential.cpp.o" "CMakeFiles/test-plugin-kernel-Sequential.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-kernel-Sequential.exe  ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
[  6%] Built target test-plugin-kernel-Sequential.exe
/usr/bin/make  -f test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/build.make test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
/usr/bin/make  -f test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/build.make test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
[  6%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/test-plugin-workgroup-IndirectFunction-Sequential.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/test-plugin-workgroup-IndirectFunction-Sequential.cpp.o -MF CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/test-plugin-workgroup-IndirectFunction-Sequential.cpp.o.d -o CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/test-plugin-workgroup-IndirectFunction-Sequential.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin/test-plugin-workgroup-IndirectFunction-Sequential.cpp
[  6%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-forall-OpenMP.exe.dir/plugin_to_test.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-forall-OpenMP.exe.dir/plugin_to_test.cpp.o -MF CMakeFiles/test-plugin-forall-OpenMP.exe.dir/plugin_to_test.cpp.o.d -o CMakeFiles/test-plugin-forall-OpenMP.exe.dir/plugin_to_test.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/plugin_to_test.cpp
[  6%] Linking CXX executable ../../test-plugin-forall-Sequential.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-forall-Sequential.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-forall-Sequential.exe.dir/test-plugin-forall-Sequential.cpp.o" "CMakeFiles/test-plugin-forall-Sequential.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-forall-Sequential.exe  ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
Undefined symbols:
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr in test-plugin-forall-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [test/test-plugin-forall-Sequential.exe] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
make[1]: *** [test/integration/plugin/CMakeFiles/test-plugin-forall-Sequential.exe.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  6%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-resource-launch-Sequential.exe.dir/plugin_to_test.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-resource-launch-Sequential.exe.dir/plugin_to_test.cpp.o -MF CMakeFiles/test-plugin-resource-launch-Sequential.exe.dir/plugin_to_test.cpp.o.d -o CMakeFiles/test-plugin-resource-launch-Sequential.exe.dir/plugin_to_test.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/plugin_to_test.cpp
[  6%] Linking CXX executable ../../test-plugin-forall-OpenMP.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-forall-OpenMP.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-forall-OpenMP.exe.dir/test-plugin-forall-OpenMP.cpp.o" "CMakeFiles/test-plugin-forall-OpenMP.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-forall-OpenMP.exe  ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
[  7%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/plugin_to_test.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/plugin_to_test.cpp.o -MF CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/plugin_to_test.cpp.o.d -o CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/plugin_to_test.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/plugin_to_test.cpp
Undefined symbols:
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr in test-plugin-forall-OpenMP.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr)
[  7%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/plugin_to_test.cpp.o
ld: symbol(s) not found
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/plugin_to_test.cpp.o -MF CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/plugin_to_test.cpp.o.d -o CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/plugin_to_test.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/plugin_to_test.cpp
collect2: error: ld returned 1 exit status
make[2]: *** [test/test-plugin-forall-OpenMP.exe] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
make[1]: *** [test/integration/plugin/CMakeFiles/test-plugin-forall-OpenMP.exe.dir/all] Error 2
[  7%] Building CXX object test/integration/plugin/CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/plugin_to_test.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/mpicxx-mpich-gcc12 -DGTEST_HAS_DEATH_TEST=1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/tests -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/tpl/camp/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/tpl/camp/include -isystem /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/blt/thirdparty_builtin/googletest/googletest/include -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -std=c++14 -arch ppc -mmacosx-version-min=10.6 -fPIE -fopenmp -MD -MT test/integration/plugin/CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/plugin_to_test.cpp.o -MF CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/plugin_to_test.cpp.o.d -o CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/plugin_to_test.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/RAJA-2023.06.0/test/integration/plugin/plugin_to_test.cpp
[  7%] Linking CXX executable ../../test-plugin-resource-launch-Sequential.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-resource-launch-Sequential.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-resource-launch-Sequential.exe.dir/test-plugin-resource-launch-Sequential.cpp.o" "CMakeFiles/test-plugin-resource-launch-Sequential.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-resource-launch-Sequential.exe  ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
[  7%] Built target test-plugin-resource-launch-Sequential.exe
[  7%] Linking CXX executable ../../test-plugin-resource-launch-OpenMP.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/test-plugin-resource-launch-OpenMP.cpp.o" "CMakeFiles/test-plugin-resource-launch-OpenMP.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-resource-launch-OpenMP.exe  ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
[  7%] Built target test-plugin-resource-launch-OpenMP.exe
[  7%] Linking CXX executable ../../test-plugin-workgroup-Direct-Sequential.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/test-plugin-workgroup-Direct-Sequential.cpp.o" "CMakeFiles/test-plugin-workgroup-Direct-Sequential.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-workgroup-Direct-Sequential.exe  ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
[  7%] Built target test-plugin-workgroup-Direct-Sequential.exe
[  7%] Linking CXX executable ../../test-plugin-workgroup-IndirectFunction-Sequential.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/test-plugin-workgroup-IndirectFunction-Sequential.cpp.o" "CMakeFiles/test-plugin-workgroup-IndirectFunction-Sequential.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-workgroup-IndirectFunction-Sequential.exe  ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
[  7%] Built target test-plugin-workgroup-IndirectFunction-Sequential.exe
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build" && /usr/bin/make -j6 -w all VERBOSE=ON 
Exit code: 2

@barracuda156
Copy link
Author

Still broken on 2023.06.0:

[  7%] Linking CXX executable ../../test-plugin-forall-OpenMP.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/integration/plugin && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-plugin-forall-OpenMP.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-plugin-forall-OpenMP.exe.dir/test-plugin-forall-OpenMP.cpp.o" "CMakeFiles/test-plugin-forall-OpenMP.exe.dir/plugin_to_test.cpp.o" -o ../../test-plugin-forall-OpenMP.exe  -Wl,-rpath,/opt/local/lib ../../../lib/libgtest_main.a ../../../lib/libgtest.a ../../../lib/libRAJA.a ../../../lib/libcamp.a 
Undefined symbols:
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr in test-plugin-forall-OpenMP.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE$non_lazy_ptr)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [test/test-plugin-forall-OpenMP.exe] Error 1

@barracuda156
Copy link
Author

And the problem is general: removing integration tests from the build, I get subsequent similar errors:

/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-forall-IndexSetView-Sequential.exe.dir/test-forall-IndexSetView-Sequential.cpp.o" -o ../../../test-forall-IndexSetView-Sequential.exe  -Wl,-rpath,/opt/local/lib ../../../../lib/libgtest_main.a ../../../../lib/libgtest.a ../../../../lib/libRAJA.a ../../../../lib/libcamp.a 
Undefined symbols:
  "__ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IndexSetView-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIyxEENS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIyxEENS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IndexSetView-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIyxEENS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IndexSetView-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IndexSetView-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IndexSetView-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIyEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IndexSetView-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [test/test-forall-IndexSetView-Sequential.exe] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build'
make[1]: *** [test/functional/forall/indexset-view/CMakeFiles/test-forall-IndexSetView-Sequential.exe.dir/all] Error 2
[  6%] Linking CXX executable ../../../test-forall-IcountIndexSet-Sequential.exe
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/test/functional/forall/indexset && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/test-forall-IcountIndexSet-Sequential.exe.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc12  -Wall -Wextra  -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0    -arch ppc -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -fopenmp "CMakeFiles/test-forall-IcountIndexSet-Sequential.exe.dir/test-forall-IcountIndexSet-Sequential.cpp.o" -o ../../../test-forall-IcountIndexSet-Sequential.exe  -Wl,-rpath,/opt/local/lib ../../../../lib/libgtest_main.a ../../../../lib/libgtest.a ../../../../lib/libRAJA.a ../../../../lib/libcamp.a 
Undefined symbols:
  "__ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IcountIndexSet-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIyxEENS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIyxEENS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IcountIndexSet-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIyxEENS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IcountIndexSet-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IcountIndexSet-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_23TypedRangeStrideSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IcountIndexSet-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_23TypedRangeStrideSegmentIyxEENS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr)
  "__ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIyEEEE9T0_TypeIdE", referenced from:
      __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr in test-forall-IcountIndexSet-Sequential.cpp.o
     (maybe you meant: __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIyEEEE9T0_TypeIdE$non_lazy_ptr)
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [test/test-forall-IcountIndexSet-Sequential.exe] Error 1

@barracuda156
Copy link
Author

barracuda156 commented Jul 14, 2023

@rhornung67 @rchen20 @mdavis36 Could someone address this please?

@barracuda156 barracuda156 changed the title Linking broken on macOS with GCC Linking broken on macOS with GCC: RAJA::TypedIndexSet symbols are undefined Jul 14, 2023
@barracuda156
Copy link
Author

Dynamic lib build also fails with 2023.06.0, like before, with all the same errors.

@barracuda156
Copy link
Author

As you can see, those specific symbols are actually missing in built objects:

36-25% nm -arch ppc -g /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_raja/raja/work/build/CMakeFiles/RAJA.dir/src/LockFreeIndexSetBuilders.cpp.o 
         U __Unwind_Resume
         U __ZN4RAJA13TypedIndexSetIJNS_16TypedListSegmentIiEEEE9T0_TypeIdE
         U __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEE9T0_TypeIdE
         U __ZN4RAJA13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_16TypedListSegmentIiEEEE9T0_TypeIdE
00000cd0 S __ZN4RAJA16TypedListSegmentIiE5clearEv
00000ea0 S __ZN4RAJA16TypedListSegmentIiEC4EPKiiN4camp9resources2v18ResourceENS_14IndexOwnershipE
000000e4 T __ZN4RAJA26buildLockFreeBlockIndexsetERNS_13TypedIndexSetIJNS_17TypedRangeSegmentIiiEEEEEiii
000003f8 T __ZN4RAJA26buildLockFreeColorIndexsetERNS_13TypedIndexSetIJNS_17TypedRangeSegmentIiiEENS_16TypedListSegmentIiEEEEEN4camp9resources2v18ResourceEPKiiiiPiSD_
000012b0 S __ZN4RAJA7RAJAVecIPNS_16TypedListSegmentIiEESaIS3_EE20emplace_back_privateIJRKS3_EEEvDpOT_
000010b8 S __ZN4RAJA7RAJAVecIPNS_17TypedRangeSegmentIiiEESaIS3_EE20emplace_back_privateIJRKS3_EEEvDpOT_
00001258 S __ZN4RAJA7RAJAVecIiSaIiEE20emplace_back_privateIJRKiEEEvDpOT_
00001200 S __ZN4RAJA7RAJAVecIiSaIiEE20emplace_back_privateIJiEEEvDpOT_
00000d64 S __ZN4RAJA7RAJAVecIiSaIiEE8grow_capEm
00000af0 S __ZN4camp9resources2v15Event10EventModelINS1_9HostEventEED0Ev
00000a6c S __ZN4camp9resources2v15Event10EventModelINS1_9HostEventEED1Ev
00000b38 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE10deallocateEPvNS1_12MemoryAccessE
00000ca0 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE16get_event_erasedEv
00000ae0 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE4waitEv
00000b40 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE6callocEmNS1_12MemoryAccessE
00000b28 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE6memcpyEPvPKvm
00000b18 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE6memsetEPvim
00000acc S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE8wait_forEPNS1_5EventE
00000c70 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEE9get_eventEv
00000af8 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEED0Ev
00000a70 S __ZN4camp9resources2v18Resource12ContextModelINS1_4HostEED1Ev
00000e88 S __ZN4camp9resources2v18Resource8allocateIiEEPT_mNS1_12MemoryAccessE
00000aec S __ZNK4camp9resources2v15Event10EventModelINS1_9HostEventEE4waitEv
00000ae4 S __ZNK4camp9resources2v15Event10EventModelINS1_9HostEventEE5checkEv
00000ac4 S __ZNK4camp9resources2v18Resource12ContextModelINS1_4HostEE12get_platformEv
00000b88 S __ZNSt12__shared_ptrIN4camp9resources2v18Resource16ContextInterfaceELN9__gnu_cxx12_Lock_policyE2EEC4ERKS7_
00000bc0 S __ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
00000b14 S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
00000aa0 S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
00000abc S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
00000b0c S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EED0Ev
00000a78 S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EED1Ev
00000b08 S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
00000a7c S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
00000a98 S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
00000b00 S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EED0Ev
00000a74 S __ZNSt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EED1Ev
         U __ZNSt8ios_base4InitC1Ev
         U __ZNSt8ios_base4InitD1Ev
         U __ZSt17__throw_bad_allocv
         U __ZSt28__throw_bad_array_new_lengthv
00001760 S __ZTIN4camp9resources2v15Event10EventModelINS1_9HostEventEEE
00001750 S __ZTIN4camp9resources2v15Event14EventInterfaceE
0000176c S __ZTIN4camp9resources2v18Resource12ContextModelINS1_4HostEEE
00001758 S __ZTIN4camp9resources2v18Resource16ContextInterfaceE
0000173c S __ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
00001778 S __ZTISt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EE
00001784 S __ZTISt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EE
00001744 S __ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
000015f4 S __ZTSN4camp9resources2v15Event10EventModelINS1_9HostEventEEE
00001598 S __ZTSN4camp9resources2v15Event14EventInterfaceE
0000162c S __ZTSN4camp9resources2v18Resource12ContextModelINS1_4HostEEE
000015c4 S __ZTSN4camp9resources2v18Resource16ContextInterfaceE
00001534 S __ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
00001664 S __ZTSSt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EE
000016d0 S __ZTSSt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EE
00001564 S __ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
         U __ZTVN10__cxxabiv117__class_type_infoE
         U __ZTVN10__cxxabiv120__si_class_type_infoE
00001790 S __ZTVN4camp9resources2v15Event10EventModelINS1_9HostEventEEE
000017a8 S __ZTVN4camp9resources2v18Resource12ContextModelINS1_4HostEEE
000017dc S __ZTVSt15_Sp_counted_ptrIPN4camp9resources2v15Event10EventModelINS2_9HostEventEEELN9__gnu_cxx12_Lock_policyE2EE
000017f8 S __ZTVSt15_Sp_counted_ptrIPN4camp9resources2v18Resource12ContextModelINS2_4HostEEELN9__gnu_cxx12_Lock_policyE2EE
         U __ZdaPv
         U __ZdlPvm
         U __Znam
         U __Znwm
         U ___cxa_atexit
         U ___cxa_begin_catch
         U ___cxa_end_catch
         U ___cxa_rethrow
         U ___cxa_throw_bad_array_new_length
         U ___dso_handle
         U ___gxx_personality_v0
         U _exit
         U _free
         U _malloc
         U _memcpy
         U _memset
         U _omp_get_max_threads
         U _puts
         U restGPRx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants