-
Notifications
You must be signed in to change notification settings - Fork 863
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
Assembler messages #7
Comments
Hi, |
I agree with Christian, the reason is most likely that a very recent core i7 CPU and an outdated c++ compiler (such as g++ version 4.6 that comes with Ubuntu 12.04.) are used together. Other options would be to upgrade manually to g++ 4.8 but that might cause Let us know whether this worked for you. Best, |
You're both right. I'm using gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 (comes with Ubuntu 12.04) and am using an Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz. Removing "-march=native" from the three CMakeLists.txt solved it (vikit_common, vikit_ros, svo). Everything builds and runs as expected now. Thanks for the help and making this open source. Cheers, |
I just want to thank you because of your good information! actually i faced with the same problem and i benefit from your solution! thank you 👍 |
With `-march=native`, we see assembler error messages like those described in uzh-rpg/rpg_svo#7 .
After following the installation directions exactly, the below error occurs when running 'catkin_make' to build the vikit and svo packages. The 'IS_ARM' flag is not set. I'm running Ubuntu 12.04 on a x86_64 machine (i7).
Any ideas?
...
rpg_vikit/vikit_common/CMakeFiles/vikit_common.dir/src/pinhole_camera.cpp.o
[ 42%] Building CXX object rpg_vikit/vikit_common/CMakeFiles/vikit_common.dir/src/homography.cpp.o
[ 44%] Building CXX object rpg_vikit/vikit_common/CMakeFiles/vikit_common.dir/src/img_align.cpp.o
/tmp/ccXXH67w.s: Assembler messages:
/tmp/ccXXH67w.s:481: Error: no such instruction:
vfmadd312ss .LC0(%rip),%xmm0,%xmm0' make[2]: *** [rpg_vikit/vikit_common/CMakeFiles/vikit_common.dir/src/robust_cost.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /tmp/ccTKsebv.s: Assembler messages: /tmp/ccTKsebv.s:367: Error: no such instruction:
vfmadd312sd 8(%rsi),%xmm5,%xmm1'/tmp/ccTKsebv.s:369: Error: no such instruction:
vfmadd312sd 16(%rsi),%xmm5,%xmm2' /tmp/ccTKsebv.s:370: Error: no such instruction:
vfmadd312sd (%rsi),%xmm5,%xmm0'...
/tmp/cc4xDiOp.s:21241: Error: no such instruction:
vfmadd312sd (%rax,%r15,8),%xmm1,%xmm7' /tmp/cc4xDiOp.s:21244: Error: no such instruction:
vfmadd312sd (%rax,%rsi,8),%xmm1,%xmm8'make[2]: *** [rpg_vikit/vikit_common/CMakeFiles/vikit_common.dir/src/homography.cpp.o] Error 1
make[1]: *** [rpg_vikit/vikit_common/CMakeFiles/vikit_common.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed
The text was updated successfully, but these errors were encountered: