Actual behavior: oslc fails to link with undefined references such as:
/usr/bin/ld: ../../lib/liboslcomp.so.1.13.9: undefined reference to clang::api_notes::APINotesManager::APINotesManager(clang::SourceManager&, clang::LangOptions const&)'
We might just need -lclangAPINotes with LLVM 18
Problem
Expected behavior: Build OSL library with LLVM 18
Actual behavior: oslc fails to link with undefined references such as:
/usr/bin/ld: ../../lib/liboslcomp.so.1.13.9: undefined reference to clang::api_notes::APINotesManager::APINotesManager(clang::SourceManager&, clang::LangOptions const&)'
We might just need -lclangAPINotes with LLVM 18Steps to Reproduce
cmake .. -DCMAKE_CXX_STANDARD=17
make -j8
Versions