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

Building for ARM64v8 gives mve errors #725

Closed
PeterSprague opened this issue Dec 13, 2017 · 0 comments
Closed

Building for ARM64v8 gives mve errors #725

PeterSprague opened this issue Dec 13, 2017 · 0 comments

Comments

@PeterSprague
Copy link
Contributor

PeterSprague commented Dec 13, 2017

Building with arm64v8/ubuntu:16.04 base image

Gets compile errors from MVE:
Scanning dependencies of target ext_mve
[Build] [ 29%] Creating directories for 'ext_mve'
[Build] [ 31%] Performing download step (git clone) for 'ext_mve'
[Build] Cloning into 'mve'...
[Build] Already on 'master'
[Build] Your branch is up-to-date with 'origin/master'.
[Build] [ 33%] No patch step for 'ext_mve'
[Build] [ 35%] No update step for 'ext_mve'
[Build] [ 36%] No configure step for 'ext_mve'
[Build] [ 38%] Performing build step for 'ext_mve'
[Build] g++: error: unrecognized command line option '-msse2'
[Build] g++: error: unrecognized command line option '-msse3'
[Build] g++: error: unrecognized command line option '-msse4'
[Build] g++: error: unrecognized command line option '-mpopcnt'
[Build] g++: error: unrecognized command line option '-msse2'
[Build] g++: error: unrecognized command line option '-msse3'
[Build] g++: error: unrecognized command line option '-msse4'
[Build] g++: error: unrecognized command line option '-mpopcnt'
[Build] ../../Makefile.inc:29: recipe for target 'mesh_io_pbrt.o' failed
[Build] make[6]: *** [mesh_io_pbrt.o] Error 1
[Build] elibs/CMakeFiles/ext_mve.dir/build.make:111: recipe for target 'elibs/mve/src/ext_mve-stamp/ext_mve-build' failed
[Build] make[5]: *** [elibs/mve/src/ext_mve-stamp/ext_mve-build] Error 2
[Build] CMakeFiles/Makefile2:163: recipe for target 'elibs/CMakeFiles/ext_mve.dir/all' failed
[Build] make[4]: *** [elibs/CMakeFiles/ext_mve.dir/all] Error 2
[Build] Makefile:127: recipe for target 'all' failed
[Build] make[3]: *** [all] Error 2
[Build] CMakeFiles/mvstexturing.dir/build.make:113: recipe for target 'mvstexturing/stamp/mvstexturing-build' failed
[Build] make[2]: *** [mvstexturing/stamp/mvstexturing-build] Error 2
[Build] CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mvstexturing.dir/all' failed
[Build] make[1]: *** [CMakeFiles/mvstexturing.dir/all] Error 2
[Build] Makefile:83: recipe for target 'all' failed
[Build] make: *** [all] Error 2
[Build] Removing intermediate container ae32708bdcd1
[Error] Build failed: The command '/bin/sh -c cd /code/SuperBuild && mkdir build && cd build && cmake .. && make' returned a non-zero code: 2

I believe they are related to amd64 vs arm64 compiler flags. See: https://stackoverflow.com/questions/10686638/whats-the-differrence-among-cflgs-sse-options-of-msse-msse2-mssse3-msse4#10687419

I know this is not directly an ODM issue, but need some sort of work-around if I want to use ODM on ARM based field equipment. Posted to MVE: simonfuhrmann/mve#390

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

No branches or pull requests

1 participant