* Package: net-p2p/cpuminer-opt-3.20.1:0 * Repository: gentoo * Maintainer: candrews@gentoo.org * USE: abi_x86_64 amd64 cpu_flags_x86_sse2 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cpuminer-opt-3.20.1.tar.gz to /var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work >>> Source unpacked in /var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work >>> Preparing source in /var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1 ... * Running eautoreconf in '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: cpuminer-opt-3.20.1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1 ... * econf: updating cpuminer-opt-3.20.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating cpuminer-opt-3.20.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/cpuminer-opt-3.20.1 --htmldir=/usr/share/doc/cpuminer-opt-3.20.1/html --libdir=/usr/lib64 --with-crypto --with-curl checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether clang needs -traditional... no checking dependency style of clang... none checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking dependency style of clang++... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for egrep... (cached) /bin/grep -E checking for sys/endian.h... no checking for sys/param.h... yes checking for syslog.h... yes checking for sys/sysctl.h... no checking for clang options needed to detect all undeclared functions... (cached) none needed checking whether be32dec is declared... no checking whether le32dec is declared... no checking whether be32enc is declared... no checking whether le32enc is declared... no checking whether le16dec is declared... no checking whether le16enc is declared... no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for getopt_long... yes checking whether we can compile AVX code... yes checking whether we can compile XOP code... yes checking whether we can compile AVX2 code... yes checking whether we can compile AVX512 code... yes checking for json_loads in -ljansson... yes checking for pthread_create in -lpthread... yes checking whether __uint128_t is supported... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating compat/Makefile config.status: creating compat/jansson/Makefile config.status: creating cpuminer-config.h config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/temp/clang14.log' -> '/var/tmp/clang/net-p2p/cpuminer-opt-3.20.1/clang14.log' '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/temp/clang15.log' -> '/var/tmp/clang/net-p2p/cpuminer-opt-3.20.1/clang15.log' >>> Compiling source in /var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1' Making all in compat make[2]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1/compat' make[3]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1/compat' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1/compat' make[2]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1/compat' make[2]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1' clang -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include -fno-strict-aliasing -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iyes/include -Iyes/include -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c clang -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include -fno-strict-aliasing -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iyes/include -Iyes/include -c -o cpuminer-util.o `test -f 'util.c' || echo './'`util.c clang -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include -fno-strict-aliasing -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iyes/include -Iyes/include -c -o cpuminer-api.o `test -f 'api.c' || echo './'`api.c clang -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include -fno-strict-aliasing -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iyes/include -Iyes/include -c -o cpuminer-sysinfos.o `test -f 'sysinfos.c' || echo './'`sysinfos.c api.c:349:2: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] SHA1_Init(&ctx); ^ /usr/include/openssl/sha.h:49:1: note: 'SHA1_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ api.c:350:2: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] SHA1_Update(&ctx, inpkey, strlen(inpkey)); ^ /usr/include/openssl/sha.h:50:1: note: 'SHA1_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ api.c:351:2: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] SHA1_Final(sha1, &ctx); ^ /usr/include/openssl/sha.h:51:1: note: 'SHA1_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ clang -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include -fno-strict-aliasing -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iyes/include -Iyes/include -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c 3 warnings generated. clang -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include -fno-strict-aliasing -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Iyes/include -Iyes/include -c -o cpuminer-malloc-huge.o `test -f 'malloc-huge.c' || echo './'`malloc-huge.c In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:148: ./simd-utils/simd-int.h:6:9: warning: 'bswap_32' macro redefined [-Wmacro-redefined] #define bswap_32 __builtin_bswap32 ^ ./miner.h:114:9: note: previous definition is here #define bswap_32(x) ((((x) << 24) & 0xff000000u) | (((x) << 8) & 0x00ff0000u) \ ^ In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:148: ./simd-utils/simd-int.h:49:4: warning: "__int128 not supported, requires GCC-4.8 or newer." [-W#warnings] #warning "__int128 not supported, requires GCC-4.8 or newer." ^ In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:153: ./simd-utils/simd-64.h:90:10: error: argument to '__builtin_ia32_palignr' must be a constant integer { return _mm_alignr_pi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/tmmintrin.h:175:11: note: expanded from macro '_mm_alignr_pi8' ((__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n))) ^ ~~~ In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:175:12: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return mm128_xim_32( v, mm128_mov32_128( i ), c<<4 ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:179:27: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return u32_mov128_32( mm128_xim_32( v, v, c<<6 ) ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:183:12: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return mm128_xim_32( v, v, m ); } ^~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:445:10: error: argument to '__builtin_ia32_palignr128' must be a constant integer { return _mm_alignr_epi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/tmmintrin.h:152:13: note: expanded from macro '_mm_alignr_epi8' ((__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \ ^ In file included from util.c:49: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:163: ./simd-utils/simd-256.h:438:10: error: argument to '__builtin_ia32_palignr256' must be a constant integer { return _mm256_alignr_epi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/avx2intrin.h:117:13: note: expanded from macro '_mm256_alignr_epi8' ((__m256i)__builtin_ia32_palignr256((__v32qi)(__m256i)(a), \ ^ 2 warnings and 6 errors generated. make[2]: *** [Makefile:2863: cpuminer-util.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:148: ./simd-utils/simd-int.h:6:9: warning: 'bswap_32' macro redefined [-Wmacro-redefined] #define bswap_32 __builtin_bswap32 ^ ./miner.h:114:9: note: previous definition is here #define bswap_32(x) ((((x) << 24) & 0xff000000u) | (((x) << 8) & 0x00ff0000u) \ ^ In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:148: ./simd-utils/simd-int.h:49:4: warning: "__int128 not supported, requires GCC-4.8 or newer." [-W#warnings] #warning "__int128 not supported, requires GCC-4.8 or newer." ^ In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:153: ./simd-utils/simd-64.h:90:10: error: argument to '__builtin_ia32_palignr' must be a constant integer { return _mm_alignr_pi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/tmmintrin.h:175:11: note: expanded from macro '_mm_alignr_pi8' ((__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n))) ^ ~~~ In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:175:12: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return mm128_xim_32( v, mm128_mov32_128( i ), c<<4 ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:179:27: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return u32_mov128_32( mm128_xim_32( v, v, c<<6 ) ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:183:12: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return mm128_xim_32( v, v, m ); } ^~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:445:10: error: argument to '__builtin_ia32_palignr128' must be a constant integer { return _mm_alignr_epi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/tmmintrin.h:152:13: note: expanded from macro '_mm_alignr_epi8' ((__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \ ^ In file included from algo-gate-api.c:18: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:163: ./simd-utils/simd-256.h:438:10: error: argument to '__builtin_ia32_palignr256' must be a constant integer { return _mm256_alignr_epi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/avx2intrin.h:117:13: note: expanded from macro '_mm256_alignr_epi8' ((__m256i)__builtin_ia32_palignr256((__v32qi)(__m256i)(a), \ ^ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:148: ./simd-utils/simd-int.h:6:9: warning: 'bswap_32' macro redefined [-Wmacro-redefined] #define bswap_32 __builtin_bswap32 ^ ./miner.h:114:9: note: previous definition is here #define bswap_32(x) ((((x) << 24) & 0xff000000u) | (((x) << 8) & 0x00ff0000u) \ ^ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:148: ./simd-utils/simd-int.h:49:4: warning: "__int128 not supported, requires GCC-4.8 or newer." [-W#warnings] #warning "__int128 not supported, requires GCC-4.8 or newer." ^ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:153: ./simd-utils/simd-64.h:90:10: error: argument to '__builtin_ia32_palignr' must be a constant integer { return _mm_alignr_pi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/tmmintrin.h:175:11: note: expanded from macro '_mm_alignr_pi8' ((__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n))) ^ ~~~ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:175:12: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return mm128_xim_32( v, mm128_mov32_128( i ), c<<4 ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:179:27: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return u32_mov128_32( mm128_xim_32( v, v, c<<6 ) ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:183:12: error: argument to '__builtin_ia32_insertps128' must be a constant integer { return mm128_xim_32( v, v, m ); } ^~~~~~~~~~~~~~~~~~~~~~~ ./simd-utils/simd-128.h:167:22: note: expanded from macro 'mm128_xim_32' _mm_castps_si128( _mm_insert_ps( _mm_castsi128_ps( v1 ), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/smmintrin.h:838:32: note: expanded from macro '_mm_insert_ps' #define _mm_insert_ps(X, Y, N) __builtin_ia32_insertps128((X), (Y), (N)) ^ ~~~ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:158: ./simd-utils/simd-128.h:445:10: error: argument to '__builtin_ia32_palignr128' must be a constant integer { return _mm_alignr_epi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/tmmintrin.h:152:13: note: expanded from macro '_mm_alignr_epi8' ((__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \ ^ In file included from cpu-miner.c:41: In file included from ./algo/sha/sha256d.h:1: In file included from ./algo-gate-api.h:8: In file included from ./simd-utils.h:163: ./simd-utils/simd-256.h:438:10: error: argument to '__builtin_ia32_palignr256' must be a constant integer { return _mm256_alignr_epi8( v, v, c ); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/avx2intrin.h:117:13: note: expanded from macro '_mm256_alignr_epi8' ((__m256i)__builtin_ia32_palignr256((__v32qi)(__m256i)(a), \ ^ 2 warnings and 6 errors generated. make[2]: *** [Makefile:2905: cpuminer-algo-gate-api.o] Error 1 2 warnings and 6 errors generated. make[2]: *** [Makefile:2849: cpuminer-cpu-miner.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1' make[1]: *** [Makefile:6788: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1' make: *** [Makefile:1275: all] Error 2 * ERROR: net-p2p/cpuminer-opt-3.20.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/cpuminer-opt-3.20.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/cpuminer-opt-3.20.1::gentoo'`. * The complete build log is located at '/var/log/portage/net-p2p:cpuminer-opt-3.20.1:20221002-232538.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1' * S: '/var/tmp/portage/net-p2p/cpuminer-opt-3.20.1/work/cpuminer-opt-3.20.1'