diff --git a/README.md b/README.md index b83eeeac5f890939cb1dd11ba59765e6870e6a9d..85f229487882c920256ec3b500b19fa0c2fab418 100644 --- a/README.md +++ b/README.md @@ -95,8 +95,10 @@ sudo make install If you get one of these: - * `undefined reference to `_ZNK4llvm17SubtargetFeatures9getStringB5cxx11Ev'` - * `undefined reference to `llvm::SubtargetFeatures::getString() const'` +``` +undefined reference to `_ZNK4llvm17SubtargetFeatures9getStringB5cxx11Ev' +undefined reference to `llvm::SubtargetFeatures::getString() const' +``` This is because of [C++'s Dual ABI](https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html). Most likely LLVM was compiled with one compiler while Zig was compiled with a