Closed maurosbicego closed 6 years ago
What cpu are you running on?
It's a VPS 64 bit, 2 core, with aes support
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel Core Processor (Haswell, no TSX)
stepping : 1
microcode : 0x1
cpu MHz : 2394.442
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt invpcid_single retpoline tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid
bogomips : 4788.88
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel Core Processor (Haswell, no TSX)
stepping : 1
microcode : 0x1
cpu MHz : 2394.442
cache size : 4096 KB
physical id : 1
siblings : 1
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt invpcid_single retpoline tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid
bogomips : 4788.88
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Thanks, can you see if you can clone and compile the reference pow hash -> https://github.com/curie-kief/pow_test
Also having the exact compiler and version that your npm uses to build would be useful.
@curie-kief I'm not very good with cmake... I got this error:
CMake Error at CMakeLists.txt:16 (add_executable):
Cannot find source file:
/root/pow_test/main.cpp;/root/pow_test/pow_hash/cn_slow_hash_hard_intel.cpp;/root/pow_test/pow_hash/cn_slow_hash_soft.cpp;/root/pow_test/crypto/groestl.c;/root/pow_test/crypto/skein.c;/root/pow_test/crypto/keccak.c;/root/pow_test/crypto/blake256.c;/root/pow_test/crypto/jh.c
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
commands to build are the usual
mkdir build
cd build
cmake ..
make
@curie-kief I know, but cmake .. gives the error above
@curie-kief It doesn't work on the VPS but i works on my laptop
please start again and give full log of what you are doing when building the reference pow
@curie-kief I've cloned it, then created the build directory, entered and typed cmake ..
and then it returned the error above.
I am having the same issue. kozlowski_daniel@instance-1:~/cryptonote-sumokoin-pool-sadbatman$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 63 model name : Intel(R) Xeon(R) CPU @ 2.30GHz stepping : 0 microcode : 0x1 cpu MHz : 2300.000 cache size : 46080 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm co nstant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hyp ervisor lahf_lm abm invpcid_single retpoline kaiser fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt bugs : cpu_meltdown spectre_v1 spectre_v2 bogomips : 4600.00 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management:
@dankoz51 Is fancoder's pool working dor you (and Snipa22's multi-hashing module). And are you sure the error is the same?
I will check the other ones, this is the complete build output
multi-hashing@0.0.9 install /home/kozlowski_daniel/cryptonote-sumokoin-pool/node_modules/multi-hashing
> node-gyp rebuild
make: Entering directory `/home/kozlowski_daniel/cryptonote-sumokoin-pool/node_modules/multi-hashing/build'
CXX(target) Release/obj.target/multihashing/multihashing.o
../multihashing.cc:24:22: warning: extra tokens at end of #include directive [enabled by default]
#include "sha1.h",
^
../multihashing.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE scrypt(Nan::NAN_METHOD_ARGS_TYPE)’:
../multihashing.cc:97:43: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9853): Use maybe version [-Wdeprecated-declarations]
Local<Number> numn = info[1]->ToNumber();
^
../multihashing.cc:99:43: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9853): Use maybe version [-Wdeprecated-declarations]
Local<Number> numr = info[2]->ToNumber();
^
../multihashing.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE scryptn(Nan::NAN_METHOD_ARGS_TYPE)’:
../multihashing.cc:127:42: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9853): Use maybe version [-Wdeprecated-declarations]
Local<Number> num = info[1]->ToNumber();
^
../multihashing.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE scryptjane(Nan::NAN_METHOD_ARGS_TYPE)’:
../multihashing.cc:157:43: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9853): Use maybe version [-Wdeprecated-declarations]
Local<Number> num = info[1]->ToNumber();
^
../multihashing.cc:160:44: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9853): Use maybe version [-Wdeprecated-declarations]
Local<Number> num2 = info[2]->ToNumber();
^
../multihashing.cc:163:44: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9853): Use maybe version [-Wdeprecated-declarations]
Local<Number> num3 = info[3]->ToNumber();
^
../multihashing.cc:166:44: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9853): Use maybe version [-Wdeprecated-declarations]
Local<Number> num4 = info[4]->ToNumber();
^
../multihashing.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE boolberry(Nan::NAN_METHOD_ARGS_TYPE)’:
../multihashing.cc:522:40: warning: ‘v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated (declared at /home/kozlowski_daniel/.node-gyp/9.10.1/include/node/v8.h:9883): Use maybe version [-Wdeprecated-declarations]
height = info[2]->ToUint32()->Uint32Value();
^
../multihashing.cc:520:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(info.Length() >= 3)
^
CC(target) Release/obj.target/multihashing/scryptjane.o
In file included from ../scryptjane/scrypt-jane-portable.h:280:0,
from ../scryptjane.c:10:
../scryptjane/scrypt-jane-portable-x86.h: In function ‘detect_cpu’:
../scryptjane/scrypt-jane-portable-x86.h:275:18: warning: variable ‘vendor’ set but not used [-Wunused-but-set-variable]
cpu_vendors_x86 vendor = cpu_nobody;
^
In file included from ../scryptjane/scrypt-jane-chacha.h:12:0,
from ../scryptjane/scrypt-jane-romix.h:2,
from ../scryptjane.c:12:
../scryptjane.c: At top level:
../scryptjane/scrypt-jane-romix-basic.h:13:1: warning: ‘scrypt_romix_convert_endian’ defined but not used [-Wunused-function]
scrypt_romix_convert_endian(scrypt_mix_word_t *blocks, size_t nblocks) {
^
../scryptjane/scrypt-jane-romix-basic.h:65:1: warning: ‘scrypt_block’ defined but not used [-Wunused-function]
scrypt_block(scrypt_mix_word_t *base, scrypt_mix_word_t i) {
^
CC(target) Release/obj.target/multihashing/scryptn.o
CC(target) Release/obj.target/multihashing/keccak.o
CC(target) Release/obj.target/multihashing/skein.o
In file included from ../skein.c:8:0:
../sha256.h:390:1: warning: ‘PBKDF2_SHA256’ defined but not used [-Wunused-function]
PBKDF2_SHA256(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt,
^
CC(target) Release/obj.target/multihashing/x11.o
CC(target) Release/obj.target/multihashing/quark.o
../quark.c:88:1: warning: ‘be32enc_vect’ defined but not used [-Wunused-function]
be32enc_vect(unsigned char *dst, const uint32_t *src, uint32_t len)
^
../quark.c:101:1: warning: ‘be32dec_vect’ defined but not used [-Wunused-function]
be32dec_vect(uint32_t *dst, const unsigned char *src, uint32_t len)
^
CC(target) Release/obj.target/multihashing/bcrypt.o
CC(target) Release/obj.target/multihashing/groestl.o
In file included from ../groestl.c:8:0:
../sha256.h:390:1: warning: ‘PBKDF2_SHA256’ defined but not used [-Wunused-function]
PBKDF2_SHA256(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt,
^
CC(target) Release/obj.target/multihashing/blake.o
CC(target) Release/obj.target/multihashing/fugue.o
CC(target) Release/obj.target/multihashing/qubit.o
CC(target) Release/obj.target/multihashing/hefty1.o
In file included from ../hefty1.c:7:0:
../sha256.h:390:1: warning: ‘PBKDF2_SHA256’ defined but not used [-Wunused-function]
PBKDF2_SHA256(const uint8_t * passwd, size_t passwdlen, const uint8_t * salt,
^
CC(target) Release/obj.target/multihashing/shavite3.o
CC(target) Release/obj.target/multihashing/cryptonight.o
../cryptonight.c:60:13: warning: ‘mul’ defined but not used [-Wunused-function]
static void mul(const uint8_t* a, const uint8_t* b, uint8_t* res) {
^
../cryptonight.c:74:13: warning: ‘sum_half_blocks’ defined but not used [-Wunused-function]
static void sum_half_blocks(uint8_t* a, const uint8_t* b) {
^
../cryptonight.c:92:13: warning: ‘swap_blocks’ defined but not used [-Wunused-function]
static void swap_blocks(uint8_t* a, uint8_t* b) {
^
CC(target) Release/obj.target/multihashing/x13.o
CXX(target) Release/obj.target/multihashing/boolberry.o
In file included from ../crypto/cryptonote_core/cryptonote_format_utils.h:7:0,
from ../boolberry.cc:2:
../crypto/cryptonote_core/../wild_keccak.h: In function ‘int crypto::keccak_generic(const uint8_t*, size_t, uint8_t*, size_t)’:
../crypto/cryptonote_core/../wild_keccak.h:64:68: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
rsiz = sizeof(state_t_m) == mdlen ? HASH_DATA_AREA : 200 - 2 * mdlen;
^
../crypto/cryptonote_core/../wild_keccak.h: In function ‘int crypto::wild_keccak(const uint8_t*, size_t, uint8_t*, size_t, callback_t)’:
../crypto/cryptonote_core/../wild_keccak.h:99:68: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
rsiz = sizeof(state_t_m) == mdlen ? HASH_DATA_AREA : 200 - 2 * mdlen;
^
../crypto/cryptonote_core/../wild_keccak.h: In instantiation of ‘int crypto::wild_keccak(const uint8_t*, size_t, uint8_t*, size_t, callback_t) [with f_traits = crypto::mul_f; callback_t = cryptonote::get_blob_longhash_bb(const blobdata&, crypto::hash&, uint64_t, callback_t) [with callback_t = boolberry_hash(const char*, uint32_t, const char*, uint64_t, char*, uint64_t)::__lambda1; blobdata = std::basic_string<char>; uint64_t = long unsigned int]::__lambda0; uint8_t = unsigned char; size_t = long unsigned int]’:
../crypto/cryptonote_core/../wild_keccak.h:152:51: required from ‘int crypto::wild_keccak_dbl(const uint8_t*, size_t, uint8_t*, size_t, callback_t) [with f_traits = crypto::mul_f; callback_t = cryptonote::get_blob_longhash_bb(const blobdata&, crypto::hash&, uint64_t, callback_t) [with callback_t = boolberry_hash(const char*, uint32_t, const char*, uint64_t, char*, uint64_t)::__lambda1; blobdata = std::basic_string<char>; uint64_t = long unsigned int]::__lambda0; uint8_t = unsigned char; size_t = long unsigned int]’
../crypto/cryptonote_core/cryptonote_format_utils.h:27:6: required from ‘bool cryptonote::get_blob_longhash_bb(const blobdata&, crypto::hash&, uint64_t, callback_t) [with callback_t = boolberry_hash(const char*, uint32_t, const char*, uint64_t, char*, uint64_t)::__lambda1; blobdata = std::basic_string<char>; uint64_t = long unsigned int]’
../boolberry.cc:10:6: required from here
../crypto/cryptonote_core/../wild_keccak.h:99:10: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
rsiz = sizeof(state_t_m) == mdlen ? HASH_DATA_AREA : 200 - 2 * mdlen;
^
CC(target) Release/obj.target/multihashing/nist5.o
CC(target) Release/obj.target/multihashing/sha1.o
CC(target) Release/obj.target/multihashing/x15.o
CC(target) Release/obj.target/multihashing/fresh.o
CC(target) Release/obj.target/multihashing/sha3/sph_hefty1.o
CC(target) Release/obj.target/multihashing/sha3/sph_fugue.o
CC(target) Release/obj.target/multihashing/sha3/aes_helper.o
CC(target) Release/obj.target/multihashing/sha3/sph_blake.o
CC(target) Release/obj.target/multihashing/sha3/sph_bmw.o
CC(target) Release/obj.target/multihashing/sha3/sph_cubehash.o
CC(target) Release/obj.target/multihashing/sha3/sph_echo.o
CC(target) Release/obj.target/multihashing/sha3/sph_groestl.o
CC(target) Release/obj.target/multihashing/sha3/sph_jh.o
CC(target) Release/obj.target/multihashing/sha3/sph_keccak.o
CC(target) Release/obj.target/multihashing/sha3/sph_luffa.o
CC(target) Release/obj.target/multihashing/sha3/sph_shavite.o
CC(target) Release/obj.target/multihashing/sha3/sph_simd.o
CC(target) Release/obj.target/multihashing/sha3/sph_skein.o
CC(target) Release/obj.target/multihashing/sha3/sph_whirlpool.o
CC(target) Release/obj.target/multihashing/sha3/sph_shabal.o
CC(target) Release/obj.target/multihashing/sha3/hamsi.o
CC(target) Release/obj.target/multihashing/crypto/oaes_lib.o
CC(target) Release/obj.target/multihashing/crypto/c_keccak.o
CC(target) Release/obj.target/multihashing/crypto/c_groestl.o
CC(target) Release/obj.target/multihashing/crypto/c_blake256.o
CC(target) Release/obj.target/multihashing/crypto/c_jh.o
CC(target) Release/obj.target/multihashing/crypto/c_skein.o
../crypto/c_skein.c: In function ‘Skein_256_Final’:
../crypto/c_skein.c:1360:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
^
../crypto/c_skein.c: In function ‘Skein_512_Final’:
../crypto/c_skein.c:1560:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
^
../crypto/c_skein.c: In function ‘Skein1024_Final’:
../crypto/c_skein.c:1758:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */
^
CC(target) Release/obj.target/multihashing/crypto/hash.o
CC(target) Release/obj.target/multihashing/crypto/aesb.o
CXX(target) Release/obj.target/multihashing/crypto/wild_keccak.o
In file included from ../crypto/wild_keccak.cpp:11:0:
../crypto/wild_keccak.h: In function ‘int crypto::keccak_generic(const uint8_t*, size_t, uint8_t*, size_t)’:
../crypto/wild_keccak.h:64:68: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
rsiz = sizeof(state_t_m) == mdlen ? HASH_DATA_AREA : 200 - 2 * mdlen;
^
../crypto/wild_keccak.h: In function ‘int crypto::wild_keccak(const uint8_t*, size_t, uint8_t*, size_t, callback_t)’:
../crypto/wild_keccak.h:99:68: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
rsiz = sizeof(state_t_m) == mdlen ? HASH_DATA_AREA : 200 - 2 * mdlen;
^
CXX(target) Release/obj.target/multihashing/cn_heavy/cn_slow_hash_hard_intel.o
../cn_heavy/cn_slow_hash_hard_intel.cpp: In function ‘void cn_heavy::aes_genkey_sub(__m128i&, __m128i&)’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: error: there are no arguments to ‘_mm_aeskeygenassist_si128’ that depend on a template parameter, so a declaration of ‘_mm_aeskeygenassist_si128’ must be available [-fpermissive]
__m128i xout1 = _mm_aeskeygenassist_si128(xout2, rcon);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../cn_heavy/cn_slow_hash_hard_intel.cpp:71:47: error: there are no arguments to ‘_mm_aeskeygenassist_si128’ that depend on a template parameter, so a declaration of ‘_mm_aeskeygenassist_si128’ must be available [-fpermissive]
xout1 = _mm_aeskeygenassist_si128(xout0, 0x00);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In function ‘void cn_heavy::aes_round8(const __m128i&, __m128i&, __m128i&, __m128i&, __m128i&, __m128i&, __m128i&, __m128i&, __m128i&)’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:106:31: error: ‘_mm_aesenc_si128’ was not declared in this scope
x0 = _mm_aesenc_si128(x0, key);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In member function ‘void cn_heavy::cn_slow_hash<MEMORY, ITER, VERSION>::hardware_hash(const void*, size_t, void*)’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:350:53: error: there are no arguments to ‘_mm_aesenc_si128’ that depend on a template parameter, so a declaration of ‘_mm_aesenc_si128’ must be available [-fpermissive]
cx = _mm_aesenc_si128(cx, _mm_set_epi64x(ah0, al0));
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In instantiation of ‘void cn_heavy::aes_genkey_sub(__m128i&, __m128i&) [with unsigned char rcon = 1u; __m128i = __vector(2) long long int]’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:87:35: required from here
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope
__m128i xout1 = _mm_aeskeygenassist_si128(xout2, rcon);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp:71:47: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
xout1 = _mm_aeskeygenassist_si128(xout0, 0x00);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: note: ‘_mm_aeskeygenassist_si128’ declared here, later in the translation unit
__m128i xout1 = _mm_aeskeygenassist_si128(xout2, rcon);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In instantiation of ‘void cn_heavy::aes_genkey_sub(__m128i&, __m128i&) [with unsigned char rcon = 2u; __m128i = __vector(2) long long int]’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:91:35: required from here
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope
../cn_heavy/cn_slow_hash_hard_intel.cpp:71:47: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
xout1 = _mm_aeskeygenassist_si128(xout0, 0x00);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: note: ‘_mm_aeskeygenassist_si128’ declared here, later in the translation unit
__m128i xout1 = _mm_aeskeygenassist_si128(xout2, rcon);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In instantiation of ‘void cn_heavy::aes_genkey_sub(__m128i&, __m128i&) [with unsigned char rcon = 4u; __m128i = __vector(2) long long int]’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:95:35: required from here
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope
../cn_heavy/cn_slow_hash_hard_intel.cpp:71:47: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
xout1 = _mm_aeskeygenassist_si128(xout0, 0x00);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: note: ‘_mm_aeskeygenassist_si128’ declared here, later in the translation unit
__m128i xout1 = _mm_aeskeygenassist_si128(xout2, rcon);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In instantiation of ‘void cn_heavy::aes_genkey_sub(__m128i&, __m128i&) [with unsigned char rcon = 8u; __m128i = __vector(2) long long int]’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:99:35: required from here
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope
../cn_heavy/cn_slow_hash_hard_intel.cpp:71:47: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
xout1 = _mm_aeskeygenassist_si128(xout0, 0x00);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp:67:55: note: ‘_mm_aeskeygenassist_si128’ declared here, later in the translation unit
__m128i xout1 = _mm_aeskeygenassist_si128(xout2, rcon);
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In instantiation of ‘void cn_heavy::cn_slow_hash<MEMORY, ITER, VERSION>::hardware_hash(const void*, size_t, void*) [with long unsigned int MEMORY = 2097152ul; long unsigned int ITER = 524288ul; long unsigned int VERSION = 0ul; size_t = long unsigned int]’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:401:16: required from here
../cn_heavy/cn_slow_hash_hard_intel.cpp:350:53: error: ‘_mm_aesenc_si128’ was not declared in this scope
cx = _mm_aesenc_si128(cx, _mm_set_epi64x(ah0, al0));
^
../cn_heavy/cn_slow_hash_hard_intel.cpp: In instantiation of ‘void cn_heavy::cn_slow_hash<MEMORY, ITER, VERSION>::hardware_hash(const void*, size_t, void*) [with long unsigned int MEMORY = 4194304ul; long unsigned int ITER = 262144ul; long unsigned int VERSION = 1ul; size_t = long unsigned int]’:
../cn_heavy/cn_slow_hash_hard_intel.cpp:402:16: required from here
../cn_heavy/cn_slow_hash_hard_intel.cpp:350:53: error: ‘_mm_aesenc_si128’ was not declared in this scope
make: *** [Release/obj.target/multihashing/cn_heavy/cn_slow_hash_hard_intel.o] Error 1
../cn_heavy/cn_slow_hash_hard_intel.cpp:71:47: error: ‘_mm_aeskeygenassist_si128’ was not declared in this scope, a
make: Leaving directory `/home/kozlowski_daniel/cryptonote-sumokoin-pool/node_modules/multi-hashing/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/kozlowski_daniel/.nvm/versions/node/v9.10.1/lib/node_modules/npm/n
ode_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.4.0-116-generic
gyp ERR! command "/home/kozlowski_daniel/.nvm/versions/node/v9.10.1/bin/node" "/home/kozlowski_daniel/.nvm/versions
/node/v9.10.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/kozlowski_daniel/cryptonote-sumokoin-pool/node_modules/multi-hashing
gyp ERR! node -v v9.10.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! multi-hashing@0.0.9 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the multi-hashing@0.0.9 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kozlowski_daniel/.npm/_logs/2018-04-04T07_07_59_706Z-debug.log
@Mauro-Sbicego this one seems to work https://github.com/clintar/node-multi-hashing/
this fails as well
npm install multi-hashing
@dankoz51 But clintar's doesn't support CN-heavy
@Mauro-Sbicego yes i need this one to work. I just meant that the other one compiles fine on my machine, as well as the google server. I have not tried snippas yet.
@dankoz51 Are you on Ubuntu 16.04 or 14.04?
@dankoz51 If you're on Ubuntu 14.04,could you please try on 16.04 because I'm currently not at home and everybody who got it working so far was on 16.04 (only 2 persons so far)
It seems to work in 16, am using 14.
@dankoz51 Have you tried it in 16.04?? Would be nice if I could get it working
@Mauro-Sbicego yes it seem to work in 16.04, maybe a gcc version issue?
I'll try it
I'm so relieved! Got it working with Ubuntu 16.04.
I've tried to update my sumokoin mining pool (to prepare for the fork), but the installation of this module fails. I'm using NPM 2.15.11. I've deleted node_modules correctly. I've tried with fancoder's and sumoproject's pool. Problems with both. That's my output: