aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index b83eeeac5f..85f2294878 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