summaryrefslogtreecommitdiffstats
path: root/getting-started/troubleshooting.md
diff options
context:
space:
mode:
Diffstat (limited to 'getting-started/troubleshooting.md')
-rw-r--r--getting-started/troubleshooting.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/getting-started/troubleshooting.md b/getting-started/troubleshooting.md
new file mode 100644
index 0000000..b3c7f9d
--- /dev/null
+++ b/getting-started/troubleshooting.md
@@ -0,0 +1,12 @@
+# Troubleshooting
+
+Due to a known bug in the upstream of meta-rust the Yocto/OE recipe for rust-cross may fail while building RVI SOTA Client or another application written in the Rust programming language. Until the complete resolution of the issue the workaround is to disable all use of the CXX11 ABI by applying the following lines to **conf/local.conf**:
+
+```
+LD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"
+TARGET_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"
+CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"
+
+BUILD_CXXFLAGS_remove_pn-gcc-runtime = "-D_GLIBCXX_USE_CXX11_ABI=0"
+TARGET_CXXFLAGS_remove_pn-gcc-runtime = "-D_GLIBCXX_USE_CXX11_ABI=0" CXXFLAGS_remove_pn-gcc-runtime = "-D_GLIBCXX_USE_CXX11_ABI=0"
+```