Open jianshu93 opened 2 years ago
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
Can you have a try to disable -mpopcnt and -msse4.2 in the Makefile?
-mpopcnt
-msse4.2
Try https://github.com/DLTcollab/sse2neon
https://github.com/DLTcollab/sse2neon
Please see https://github.com/chhylp123/hifiasm/pull/641
Thanks a lot!
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