I use AMD Clang (Clang 13) from spack (aocc) to build Byfl and although it compiles normally, tests fail. Test 4/22 (BfClangNoOptsCompiles) fails with this error:
error: unable to load plugin 'Byfl/build_aocc/lib/bytesflops/bytesflops.so': 'Byfl/build_aocc/lib/bytesflops/bytesflops.so: undefined symbol: _ZTVN4llvm2cl6parserINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE
If I use the default system's clang (clang 12) I do not get this error and all tests are passed.
I use AMD Clang (Clang 13) from spack (aocc) to build Byfl and although it compiles normally, tests fail. Test 4/22 (BfClangNoOptsCompiles) fails with this error:
error: unable to load plugin 'Byfl/build_aocc/lib/bytesflops/bytesflops.so': 'Byfl/build_aocc/lib/bytesflops/bytesflops.so: undefined symbol: _ZTVN4llvm2cl6parserINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEIf I use the default system's clang (clang 12) I do not get this error and all tests are passed.