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

Build fails on Linux ARM64 #21

Open
martin-g opened this issue Jul 15, 2022 · 2 comments · May be fixed by #23
Open

Build fails on Linux ARM64 #21

martin-g opened this issue Jul 15, 2022 · 2 comments · May be fixed by #23

Comments

@martin-g
Copy link

Trying to build graphmap2 on openEuler 20.03 LTS ARM64 fails with:

mkdir -p obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/
g++ -static-libgcc -static-libstdc++ -D__cplusplus=201103L -I"./src/" -I"/usr/include/" -I"codebase/seqlib/src/libs/seqan-library-2.0.1/include" -I"codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/" -Icodebase/argumentparser/src -Icodebase/seqlib/src -Icodebase/gindex/src -DRELEASE_VERSION -g -O3 -fdata-sections -ffunction-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werror=return-type -pthread  -o obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.o codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.cpp
g++: error: unrecognized command line option ‘-m64’
make: *** [Makefile:128: obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.o] Error 1

According to https://stackoverflow.com/a/58244182/497381 -m64 is x86_64 specific flag.
I will try to provide a PR with support for both CPU architectures!

$ g++ --version
g++ (GCC) 7.3.0
$ uname -a
Linux mgrigorov-arm64 4.19.90-2205.3.0.0149.oe1.aarch64 #1 SMP Wed May 11 12:53:17 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
@julien-faye
Copy link

+1 for support for ARM64 !

@martin-g martin-g linked a pull request Aug 30, 2022 that will close this issue
@martin-g
Copy link
Author

Will be fixed with #23

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 a pull request may close this issue.

2 participants