Failed to make under CPP/7zip/Bundles/Alone2 (7Zip 23.01)
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Failed to make under CPP/7zip/Bundles/Alone2 (7Zip 23.01)
Environment
gcc: 7.3.0
ubuntu :18.04
How to reproduce:
cd CPP/7zip/Bundles/Alone2
make -j -f makefile.gcc
The following error occured:
../../../../C/SwapBytes.c: In function ‘ShufBytes_256’:
../../../../C/SwapBytes.c:312:7: error: implicit declaration of function ‘_mm256_set_m128i’; did you mean ‘_mm256_set_epi8’? [-Werror=implicit-function-declaration]
_mm256_set_m128i(
^~~~~~~~~~~~~~~~
_mm256_set_epi8
../../../../C/SwapBytes.c:312:7: error: incompatible types when initializing type ‘__m256i {aka const __vector(4) long long int}’ using type ‘int’
cc1: all warnings being treated as errors
../../7zip_gcc.mak:1181: recipe for target '_o/SwapBytes.o' failed
make: *** [_o/SwapBytes.o] Error 1
make: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
../../7zip_gcc.mak:400: recipe for target '_o/FileStreams.o' failed
make: *** [_o/FileStreams.o] Error 1
cc1plus: all warnings being treated as errors
../../7zip_gcc.mak:864: recipe for target '_o/UpdateCallback.o' failed
make: *** [_o/UpdateCallback.o] Error 1
GCC < 8 does not support that instruction. You can work it around with this patch.
why
recipe for target '_o/FileStreams.o' failed
?