This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
agl-distro:source-code [2018/07/06 14:50] waltminer |
agl-distro:source-code [2018/07/10 13:53] jsmoeller Meta-rust no longer used |
||
---|---|---|---|
Line 90: | Line 90: | ||
- Writing a patch and writing recipe to apply it. [[http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#modifying-an-existing-recipe| See 2.2. Modifying an Existing Recipe]] | - Writing a patch and writing recipe to apply it. [[http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#modifying-an-existing-recipe| See 2.2. Modifying an Existing Recipe]] | ||
- Writing recipe to build modules out of tree [[http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#working-with-out-of-tree-modules | See 2.5. Working with Out-of-Tree Modules]] | - Writing recipe to build modules out of tree [[http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#working-with-out-of-tree-modules | See 2.5. Working with Out-of-Tree Modules]] | ||
- | |||
- | ===== Troubleshooting ===== | ||
- | Due to a [[https://github.com/meta-rust/meta-rust/issues/47 | 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" | ||
===== Building AGL for Other Targets ===== | ===== Building AGL for Other Targets ===== |