{"action":"created","issue":{"url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/525","repository_url":"https://api.github.com/repos/bmwcarit/meta-ros","labels_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/525/comments","events_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/525/events","html_url":"https://github.com/bmwcarit/meta-ros/issues/525","id":240025586,"number":525,"title":"mavros: \"undefined reference to `__atomic_{load,store}_8'\" while linking on qemuarm, qemumips, qemuppc","user":{"login":"bulwahn","id":3032216,"avatar_url":"https://avatars1.githubusercontent.com/u/3032216?v=3","gravatar_id":"","url":"https://api.github.com/users/bulwahn","html_url":"https://github.com/bulwahn","followers_url":"https://api.github.com/users/bulwahn/followers","following_url":"https://api.github.com/users/bulwahn/following{/other_user}","gists_url":"https://api.github.com/users/bulwahn/gists{/gist_id}","starred_url":"https://api.github.com/users/bulwahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bulwahn/subscriptions","organizations_url":"https://api.github.com/users/bulwahn/orgs","repos_url":"https://api.github.com/users/bulwahn/repos","events_url":"https://api.github.com/users/bulwahn/events{/privacy}","received_events_url":"https://api.github.com/users/bulwahn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-02T18:15:30Z","updated_at":"2017-07-02T18:18:01Z","closed_at":null,"body":"On the current openembedded-core master with qemuarm and on poky pyro with qemuarm, qemumips and qemuppc, the mavros recipe fails with:\r\n```\r\n| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++   -march=armv5e -marm  --sysroot=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0=/usr/src/debug/mavros/0.18.7-r0 -fdebug-prefix-map=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot=  -fvisibility-inlines-hidden  -march=armv5e -marm  --sysroot=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot -std=c++14  -march=armv5e -marm  --sysroot=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0=/usr/src/debug/mavros/0.18.7-r0 -fdebug-prefix-map=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot=  -fvisibility-inlines-hidden  -march=armv5e -marm  --sysroot=/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -rdynamic CMakeFiles/mavros_node.dir/src/mavros_node.cpp.o  -o devel/lib/mavros/mavros_node -Wl,-rpath,/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build/devel/lib:/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib: devel/lib/libmavros.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libclass_loader.so -lPocoFoundation -ldl /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libroslib.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/librospack.so -lpython3.5m -lboost_program_options-mt -ltinyxml /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libtf2_ros.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libactionlib.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libmessage_filters.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libroscpp.so -lpthread -lboost_signals-mt -lboost_filesystem-mt /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libxmlrpcpp.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libtf2.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libmavconn.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/librosconsole_bridge.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/librosconsole.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/librosconsole_log4cxx.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/librosconsole_backend_interface.so -llog4cxx -lboost_regex-mt /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libeigen_conversions.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/usr/lib/liborocos-kdl.so.1.3.0 /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libroscpp_serialization.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/librostime.so /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot/opt/ros/indigo/lib/libcpp_common.so -lboost_system-mt -lboost_thread-mt -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt -lconsole_bridge -lboost_system-mt -lboost_thread-mt -lboost_chrono-mt -lboost_date_time-mt -lboost_atomic-mt -lconsole_bridge\r\n| devel/lib/libmavros.so: undefined reference to `__atomic_load_8'\r\n| devel/lib/libmavros.so: undefined reference to `__atomic_store_8'\r\n| collect2: error: ld returned 1 exit status\r\n| make[2]: *** [devel/lib/mavros/gcs_bridge] Error 1\r\n| make[2]: Leaving directory `/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build'\r\n| make[1]: *** [CMakeFiles/gcs_bridge.dir/all] Error 2\r\n| make[1]: *** Waiting for unfinished jobs....\r\n| devel/lib/libmavros.so: undefined reference to `__atomic_load_8'\r\n| devel/lib/libmavros.so: undefined reference to `__atomic_store_8'\r\n| collect2: error: ld returned 1 exit status\r\n| make[2]: *** [devel/lib/mavros/mavros_node] Error 1\r\n| make[2]: Leaving directory `/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build'\r\n| make[1]: *** [CMakeFiles/mavros_node.dir/all] Error 2\r\n| make[2]: Entering directory `/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build'\r\n| cd /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build && /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/recipe-sysroot-native/usr/bin/cmake -E cmake_depends \"Unix Makefiles\" /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/mavros-0.18.7/mavros /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/mavros-0.18.7/mavros /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build/CMakeFiles/mavros_plugins.dir/DependInfo.cmake --color=\r\n| make[2]: Leaving directory `/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build'\r\n| make -f CMakeFiles/mavros_plugins.dir/build.make CMakeFiles/mavros_plugins.dir/build\r\n| make[2]: Entering directory `/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build'\r\n| make[2]: Nothing to be done for `CMakeFiles/mavros_plugins.dir/build'.\r\n| make[2]: Leaving directory `/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build'\r\n| [ 95%] Built target mavros_plugins\r\n| make[1]: Leaving directory `/home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/build'\r\n| make: *** [all] Error 2\r\n| WARNING: exit code 2 from a shell command.\r\n| ERROR: Function failed: do_compile (log file is located at /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/armv5e-oe-linux-gnueabi/mavros/0.18.7-r0/temp/log.do_compile.12713)\r\nERROR: Task (/home/lukas/work/repositories/github.com/bmwcarit/meta-ros/recipes-ros/mavros/mavros_0.18.7.bb:do_compile) failed with exit code '1'\r\n```\r\n\r\nI did not test yet on the current openembedded-core master with other machine than qemuarm; it probably also occurs with qemumips and qemuppc, as this failed on the poky pyro release with those machines.\r\nThese are the build configurations where `mavros` was failing:\r\n```\r\n\r\nBuild Configuration:\r\nBB_VERSION        = \"1.33.4\"\r\nBUILD_SYS         = \"x86_64-linux\"\r\nNATIVELSBSTRING   = \"ubuntu-14.04\"\r\nTARGET_SYS        = \"arm-oe-linux-gnueabi\"\r\nMACHINE           = \"qemuarm\"\r\nDISTRO            = \"nodistro\"\r\nDISTRO_VERSION    = \"nodistro.0\"\r\nTUNE_FEATURES     = \"arm armv5 thumb dsp\"\r\nTARGET_FPU        = \"soft\"\r\nmeta              = \"master:de7914954571ea8e717f56b6d6df13157b0973bc\"\r\nmeta-oe           \r\nmeta-multimedia   \r\nmeta-python       = \"master:bd259171ec0c2163a2c1025e1b83ae379cee96a7\"\r\nmeta-ros          = \"master:b0bf3da6d5543234bda7c87b1ea93f323e8ac469\"\r\n```\r\n\r\n```\r\nBuild Configuration:\r\nBB_VERSION        = \"1.34.0\"\r\nBUILD_SYS         = \"x86_64-linux\"\r\nNATIVELSBSTRING   = \"ubuntu-14.04\"\r\nTARGET_SYS        = \"mips-poky-linux\"\r\nMACHINE           = \"qemumips\"\r\nDISTRO            = \"poky\"\r\nDISTRO_VERSION    = \"2.3\"\r\nTUNE_FEATURES     = \"o32 bigendian fpu-hard mips32r2\"\r\nTARGET_FPU        = \"\"\r\nmeta\r\nmeta-poky\r\nmeta-yocto-bsp    = \"pyro:f0d128ea0dfc2c403ff53a1ac1db3521854b63d5\"\r\nmeta-oe\r\nmeta-python\r\nmeta-multimedia   = \"pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7\"\r\nmeta-ros          = \"master:b0bf3da6d5543234bda7c87b1ea93f323e8ac469\"\r\n```\r\n\r\n```\r\nBuild Configuration:\r\nBB_VERSION        = \"1.34.0\"\r\nBUILD_SYS         = \"x86_64-linux\"\r\nNATIVELSBSTRING   = \"universal-4.8\"\r\nTARGET_SYS        = \"powerpc-poky-linux\"\r\nMACHINE           = \"qemuppc\"\r\nDISTRO            = \"poky\"\r\nDISTRO_VERSION    = \"2.3\"\r\nTUNE_FEATURES     = \"m32 fpu-hard ppc7400 altivec\"\r\nTARGET_FPU        = \"\"\r\nmeta              \r\nmeta-poky         \r\nmeta-yocto-bsp    = \"pyro:f0d128ea0dfc2c403ff53a1ac1db3521854b63d5\"\r\nmeta-oe           \r\nmeta-python       \r\nmeta-multimedia   = \"pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7\"\r\nmeta-ros          = \"master:b0bf3da6d5543234bda7c87b1ea93f323e8ac469\"\r\n```"},"comment":{"url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/comments/312507997","html_url":"https://github.com/bmwcarit/meta-ros/issues/525#issuecomment-312507997","issue_url":"https://api.github.com/repos/bmwcarit/meta-ros/issues/525","id":312507997,"user":{"login":"bulwahn","id":3032216,"avatar_url":"https://avatars1.githubusercontent.com/u/3032216?v=3","gravatar_id":"","url":"https://api.github.com/users/bulwahn","html_url":"https://github.com/bulwahn","followers_url":"https://api.github.com/users/bulwahn/followers","following_url":"https://api.github.com/users/bulwahn/following{/other_user}","gists_url":"https://api.github.com/users/bulwahn/gists{/gist_id}","starred_url":"https://api.github.com/users/bulwahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bulwahn/subscriptions","organizations_url":"https://api.github.com/users/bulwahn/orgs","repos_url":"https://api.github.com/users/bulwahn/repos","events_url":"https://api.github.com/users/bulwahn/events{/privacy}","received_events_url":"https://api.github.com/users/bulwahn/received_events","type":"User","site_admin":false},"created_at":"2017-07-02T18:18:01Z","updated_at":"2017-07-02T18:18:01Z","body":"@TSC21 Would you have time to look into this issue? Possibly you already resolved this issue upstream and we must just apply a patch from the upstream repository?"}}
{"actor":{"display_login":"bulwahn"}}