fkanehiro / openhrp3

Open Architecture Human-centered Robotics Platform
http://www.openrtp.jp/openhrp3
Other
26 stars 34 forks source link

openhrp3 fails to build from source on arm platforms #123

Closed tfoote closed 7 years ago

tfoote commented 7 years ago

All three Kinetic arm builds of OpenHRP have failed in the last few weeks.

For both 32 and 64 bit builds on Ubuntu Xenial and Debian Jessie

http://build.ros.org/view/Kbin_djv8_dJv8/job/Kbin_djv8_dJv8__openhrp3__debian_jessie_arm64__binary/ http://build.ros.org/view/Kbin_uxhf_uXhf/job/Kbin_uxhf_uXhf__openhrp3__ubuntu_xenial_armhf__binary/ http://build.ros.org/view/Kbin_uxv8_uXv8/job/Kbin_uxv8_uXv8__openhrp3__ubuntu_xenial_arm64__binary/

[ 34%] Building CXX object hrplib/hrpPlanner/CMakeFiles/hrpPlanner-3.1.dir/TimeUtil.o
cd /tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/obj-aarch64-linux-gnu/hrplib/hrpPlanner && /usr/lib/ccache/c++   -DOPENHRP_COLLADA_FOUND -D__OSVERSION__=2 -D__linux__ -D__processor_unknown__ -DhrpPlanner_3_1_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG   -fPIC -I/usr/include/eigen3 -I/opt/ros/kinetic/include/openrtm-1.1/rtm/idl -I/opt/ros/kinetic/include/openrtm-1.1 -I/opt/ros/kinetic/include/coil-1.1 -I/tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/obj-aarch64-linux-gnu/hrplib -I/tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/hrplib    -DNDEBUG -O2 -I/opt/ros/kinetic/include -I/opt/ros/kinetic/include/coil-1.1 -I/opt/ros/kinetic/include/openrtm-1.1 -I/opt/ros/kinetic/include/openrtm-1.1/rtm/idl  -o CMakeFiles/hrpPlanner-3.1.dir/TimeUtil.o -c /tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/hrplib/hrpPlanner/TimeUtil.cpp
/tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/hrplib/hrpPlanner/TimeUtil.cpp: In function ‘tick_t get_tick()’:
/tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/hrplib/hrpPlanner/TimeUtil.cpp:24:5: error: ‘uint64_t’ was not declared in this scope
     uint64_t b;
     ^
/tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/hrplib/hrpPlanner/TimeUtil.cpp:25:48: error: ‘b’ was not declared in this scope
     asm volatile( "mrs %0, pmccntr_el0" : "=r"(b) :: "memory" );
                                                ^
hrplib/hrpPlanner/CMakeFiles/hrpPlanner-3.1.dir/build.make:172: recipe for target 'hrplib/hrpPlanner/CMakeFiles/hrpPlanner-3.1.dir/TimeUtil.o' failed
make[4]: *** [hrplib/hrpPlanner/CMakeFiles/hrpPlanner-3.1.dir/TimeUtil.o] Error 1
make[4]: Leaving directory '/tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/obj-aarch64-linux-gnu'
CMakeFiles/Makefile2:458: recipe for target 'hrplib/hrpPlanner/CMakeFiles/hrpPlanner-3.1.dir/all' failed
make[3]: *** [hrplib/hrpPlanner/CMakeFiles/hrpPlanner-3.1.dir/all] Error 2
make[3]: Leaving directory '/tmp/binarydeb/ros-kinetic-openhrp3-3.1.9/obj-aarch64-linux-gnu'
Makefile:120: recipe for target 'all' failed
make[2]: *** [all] Error 2

This appears to be a regression in 3.1.9. https://github.com/ros/rosdistro/pull/13917