From 93367bbf66fb0e3c443cf79807f84573505abbba Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Mon, 7 Nov 2016 18:23:01 +0100 Subject: docs subfolder created; moved all MD files in docs Change-Id: I89e02117c9569354567816ec5ba2a5565b79849b Signed-off-by: Stephane Desneux --- getting-started/troubleshooting.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 getting-started/troubleshooting.md (limited to 'getting-started/troubleshooting.md') 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" +``` -- cgit 1.2.3-korg