You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The link error in Debug mode is due to an undefined reference to llvm::EnableABIBreakingChecks, which is defined in the LLVMSupport library. Adding this library to the clangPseudoCXX target link libraries resolves the issue. Release mode does not have this issue as ABI breaking checks are not enabled by default. The link time dependency was created sometime after commit d4609ae.
I am seeing the following link time error when building in
Debug
mode onmain
in the clang pseudoparser:The following CMake options are being used to build:
cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=Debug \ -DLLVM_USE_LINKER=gold \ -DLLVM_ENABLE_PROJECTS="clang;llvm;clang-tools-extra" \ -DLLVM_TARGETS_TO_BUILD=X86 \ -DBUILD_SHARED_LIBS=ON ../../llvm-project/llvm
The link error in
Debug
mode is due to an undefined reference tollvm::EnableABIBreakingChecks
, which is defined in theLLVMSupport
library. Adding this library to theclangPseudoCXX
target link libraries resolves the issue.Release
mode does not have this issue as ABI breaking checks are not enabled by default. The link time dependency was created sometime after commit d4609ae.I have provided a possible patch here: https://reviews.llvm.org/D127271
The text was updated successfully, but these errors were encountered: