summaryrefslogtreecommitdiffstats
path: root/getting-started/troubleshooting.md
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-07 18:23:01 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2016-11-07 18:23:01 +0100
commit93367bbf66fb0e3c443cf79807f84573505abbba (patch)
tree8db6d09aa9b9cd4c493725fd6888ab9b7108b99b /getting-started/troubleshooting.md
docs subfolder created; moved all MD files in docs
Change-Id: I89e02117c9569354567816ec5ba2a5565b79849b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
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"
+```