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

ARM compiling error #288

Open
jianshu93 opened this issue Jun 27, 2022 · 4 comments · May be fixed by #641
Open

ARM compiling error #288

jianshu93 opened this issue Jun 27, 2022 · 4 comments · May be fixed by #641

Comments

@jianshu93
Copy link

Hello hifiasm team,

Compiling on macOS ARM has the following error:

g++ -c -g -O3 -msse4.2 -mpopcnt -fomit-frame-pointer -Wall CommandLines.cpp -o CommandLines.o
g++ -c -g -O3 -msse4.2 -mpopcnt -fomit-frame-pointer -Wall Process_Read.cpp -o Process_Read.o
g++ -c -g -O3 -msse4.2 -mpopcnt -fomit-frame-pointer -Wall Assembly.cpp -o Assembly.o
g++ -c -g -O3 -msse4.2 -mpopcnt -fomit-frame-pointer -Wall Hash_Table.cpp -o Hash_Table.o
g++: error: unrecognized command-line option '-msse4.2'
g++: error: unrecognized command-line option '-msse4.2'
g++: error: unrecognized command-line option '-msse4.2'
g++: error: unrecognized command-line option '-msse4.2'
g++: error: unrecognized command-line option '-mpopcnt'
g++: error: unrecognized command-line option '-mpopcnt'
g++: error: unrecognized command-line option '-mpopcnt'
g++: error: unrecognized command-line option '-mpopcnt'
make: *** [Assembly.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Process_Read.o] Error 1
make: *** [Hash_Table.o] Error 1
make: *** [CommandLines.o] Error 1

Thanks,

Jianshu

@chhylp123
Copy link
Owner

Can you have a try to disable -mpopcnt and -msse4.2 in the Makefile?

@starskyzheng
Copy link

Try https://github.com/DLTcollab/sse2neon

@martin-g martin-g linked a pull request Apr 27, 2024 that will close this issue
@martin-g
Copy link

Please see #641

@chhylp123
Copy link
Owner

Thanks a lot!

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.

4 participants