Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hrplib/hrpPlanner/TimeUtil.cpp : fix get_tick() for arm processors #99

Merged
merged 1 commit into from
Feb 16, 2017

Conversation

@k-okada
Copy link
Contributor Author

k-okada commented May 4, 2016

現状だと,

01:32:56 /tmp/binarydeb/ros-kinetic-openhrp3-3.1.8/hrplib/hrpPlanner/TimeUtil.cpp:13:55: error: impossible constraint in ‘asm’
01:32:56      __asm__ __volatile__("rdtsc" : "=a" (l), "=d" (h));
01:32:56                                                        ^

http://build.ros.org/job/Kbin_arm_uXhf__openhrp3__ubuntu_xenial_armhf__binary/17/console
みたいにエラーになります.ただ,この変更をしても,

qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction (core dumped)

みたいになっています.なんでだろう.テスト環境は

docker run --rm -i -t osrf/ubuntu_arm64:trusty /bin/bash

で作りました.

@k-okada
Copy link
Contributor Author

k-okada commented May 10, 2016

Closes #97

@k-okada
Copy link
Contributor Author

k-okada commented Feb 16, 2017

@fkanehiro コード的にはこれが無いとarmでコンパイル出来ないのでマージしても大丈夫でしょうか?

@fkanehiro fkanehiro merged commit c64ef19 into fkanehiro:master Feb 16, 2017
@k-okada k-okada deleted the fix_arm_rdtsc branch March 6, 2017 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants