$ cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DARCH=native .. CMake Deprecation Warning at CMakeLists.txt:29 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is Clang 21.1.4 -- The CXX compiler identification is Clang 21.1.4 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting default build type: Release -- Performing Test _mcpu=native_cxx -- Performing Test _mcpu=native_cxx - Success -- Setting CXX flag -mcpu=native -- Performing Test _mcpu=native_c -- Performing Test _mcpu=native_c - Success -- Setting C flag -mcpu=native -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_CXX_ATOMICS -- Performing Test HAVE_CXX_ATOMICS - Success -- Configuring done (3.4s) -- Generating done (0.0s) -- Build files have been written to: /home/eureka/RandomX/build $ make [ 3%] Building CXX object CMakeFiles/randomx.dir/src/aes_hash.cpp.o In file included from /home/eureka/RandomX/src/aes_hash.cpp:29: In file included from /home/eureka/RandomX/src/soft_aes.h:32: /home/eureka/RandomX/src/intrin_portable.h:189:18: error: a type specifier is required for all declarations 189 | typedef __vector uint8_t __m128i; | ~~~~~~~~~~~~~~~~ ^ /home/eureka/RandomX/src/intrin_portable.h:189:25: error: expected ';' after top level declarator 189 | typedef __vector uint8_t __m128i; | ^ | ; /home/eureka/RandomX/src/intrin_portable.h:190:18: error: a type specifier is required for all declarations 190 | typedef __vector uint32_t __m128l; | ~~~~~~~~~~~~~~~~ ^ /home/eureka/RandomX/src/intrin_portable.h:190:26: error: expected ';' after top level declarator 190 | typedef __vector uint32_t __m128l; | ^ | ; /home/eureka/RandomX/src/intrin_portable.h:192:18: error: a type specifier is required for all declarations 192 | typedef __vector uint64_t __m128ll; | ~~~~~~~~~~~~~~~~ ^ /home/eureka/RandomX/src/intrin_portable.h:192:26: error: expected ';' after top level declarator 192 | typedef __vector uint64_t __m128ll; | ^ | ; /home/eureka/RandomX/src/intrin_portable.h:195:9: error: unknown type name '__m128i' 195 | typedef __m128i rx_vec_i128; | ^ /home/eureka/RandomX/src/intrin_portable.h:212:14: error: unknown type name '__m128i' 212 | FORCE_INLINE __m128i vec_splat2sd (int64_t scalar) | ^ /home/eureka/RandomX/src/intrin_portable.h:213:11: error: use of undeclared identifier '__m128i' 213 | { return (__m128i) vec_splats (scalar); } | ^~~~~~~ /home/eureka/RandomX/src/intrin_portable.h:238:32: error: use of undeclared identifier '__m128i' 238 | return (rx_vec_f128)vec_perm((__m128i)a,(__m128i)a,(__m128i){8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7}); | ^~~~~~~ /home/eureka/RandomX/src/intrin_portable.h:238:43: error: use of undeclared identifier '__m128i' 238 | return (rx_vec_f128)vec_perm((__m128i)a,(__m128i)a,(__m128i){8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7}); | ^~~~~~~ /home/eureka/RandomX/src/intrin_portable.h:238:54: error: use of undeclared identifier '__m128i' 238 | return (rx_vec_f128)vec_perm((__m128i)a,(__m128i)a,(__m128i){8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7}); | ^~~~~~~ /home/eureka/RandomX/src/intrin_portable.h:270:23: error: unknown type name '__m128ll'; did you mean '__m128li'? 270 | return (rx_vec_f128)(__m128ll){x0,x1}; | ^~~~~~~~ | __m128li /home/eureka/RandomX/src/intrin_portable.h:191:27: note: '__m128li' declared here 191 | typedef __vector int __m128li; | ^ /home/eureka/RandomX/src/intrin_portable.h:270:33: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] 270 | return (rx_vec_f128)(__m128ll){x0,x1}; | ^~ /home/eureka/RandomX/src/intrin_portable.h:270:33: note: insert an explicit cast to silence this issue 270 | return (rx_vec_f128)(__m128ll){x0,x1}; | ^~ | static_cast( ) /home/eureka/RandomX/src/intrin_portable.h:270:36: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing] 270 | return (rx_vec_f128)(__m128ll){x0,x1}; | ^~ /home/eureka/RandomX/src/intrin_portable.h:270:36: note: insert an explicit cast to silence this issue 270 | return (rx_vec_f128)(__m128ll){x0,x1}; | ^~ | static_cast( ) /home/eureka/RandomX/src/intrin_portable.h:291:14: error: unknown type name '__m128ll'; did you mean '__m128li'? 291 | FORCE_INLINE __m128ll vrev(__m128i v){ | ^~~~~~~~ | __m128li /home/eureka/RandomX/src/intrin_portable.h:191:27: note: '__m128li' declared here 191 | typedef __vector int __m128li; | ^ /home/eureka/RandomX/src/intrin_portable.h:291:28: error: unknown type name '__m128i' 291 | FORCE_INLINE __m128ll vrev(__m128i v){ | ^ /home/eureka/RandomX/src/intrin_portable.h:295:10: error: unknown type name '__m128ll'; did you mean '__m128li'? 295 | return (__m128ll)vec_perm((__m128i)v,(__m128i){0},(__m128i){3,2,1,0, 7,6,5,4, 11,10,9,8, 15,14,13,12}); | ^~~~~~~~ | __m128li /home/eureka/RandomX/src/intrin_portable.h:191:27: note: '__m128li' declared here 191 | typedef __vector int __m128li; | ^ /home/eureka/RandomX/src/intrin_portable.h:295:29: error: use of undeclared identifier '__m128i' 295 | return (__m128ll)vec_perm((__m128i)v,(__m128i){0},(__m128i){3,2,1,0, 7,6,5,4, 11,10,9,8, 15,14,13,12}); | ^~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [CMakeFiles/randomx.dir/build.make:79: CMakeFiles/randomx.dir/src/aes_hash.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/randomx.dir/all] Error 2 make: *** [Makefile:136: all] Error 2