Bitcoin Forum
June 26, 2017, 04:08:11 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 »  All
  Print  
Author Topic: [ANN] cpuminer-multi v1.3.1 (Linux + Windows VStudio/MinGW64) GPL Open Source  (Read 183660 times)
Singman33
Full Member
***
Offline Offline

Activity: 143


View Profile
July 30, 2015, 06:52:15 PM
 #41

All my commits are automatically tested here : https://travis-ci.org/tpruvot/cpuminer-multi
This is the proof your problem is somewhere between your chair and the keyboard
Nice insult !
BTW, that miner was building nice before a "make clean; git pull; sh ./autogen.sh; ./configure --with-curl --with-crypto; make". So ?
1498493291
Hero Member
*
Offline Offline

Posts: 1498493291

View Profile Personal Message (Offline)

Ignore
1498493291
Reply with quote  #2

1498493291
Report to moderator
1498493291
Hero Member
*
Offline Offline

Posts: 1498493291

View Profile Personal Message (Offline)

Ignore
1498493291
Reply with quote  #2

1498493291
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1498493291
Hero Member
*
Offline Offline

Posts: 1498493291

View Profile Personal Message (Offline)

Ignore
1498493291
Reply with quote  #2

1498493291
Report to moderator
1498493291
Hero Member
*
Offline Offline

Posts: 1498493291

View Profile Personal Message (Offline)

Ignore
1498493291
Reply with quote  #2

1498493291
Report to moderator
Epsylon3
Legendary
*
Offline Offline

Activity: 1008


ccminer/cpuminer developer


View Profile WWW
July 30, 2015, 06:56:58 PM
 #42

delete your folder and reclone... or just use build.sh

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Singman33
Full Member
***
Offline Offline

Activity: 143


View Profile
July 30, 2015, 07:06:25 PM
 #43

Already tried. Different error of course :
Code:
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -ftree-loop-if-convert-stores -DUSE_ASM -pg  -Iyes/include -Iyes/include -Lyes/lib -Lyes/lib  -Lyes/lib -Lyes/lib  -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer-axiom.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   -lcurl -lz -lssl -lcrypto compat/jansson/libjansson.a -lpthread
/tmp/cc3qX1RA.ltrans1.ltrans.o: dans la fonction « submit_upstream_work »:
<artificial>:(.text+0x4cc): référence indéfinie vers « json_object »
<artificial>:(.text+0x4db): référence indéfinie vers « json_string »
<artificial>:(.text+0x4eb): référence indéfinie vers « json_object_set_new »
<artificial>:(.text+0x4f5): référence indéfinie vers « json_dumps »
<artificial>:(.text+0x51c): référence indéfinie vers « json_delete »
<artificial>:(.text+0x5bf): référence indéfinie vers « json_object_get »
<artificial>:(.text+0x5d9): référence indéfinie vers « json_string_value »
Played with the -fuse-linker-plugin flag to see if that change something but no.
Ubuntu 15.04, GCC 4.9.2

Look like a broken flag, I'm tracking it (compiling and linking with only "-O2" work).

Ok, found the guilty : "-flto". Without it, everything compile fine. I've tried to remove "-pg" but "-flto" keep breaking link.
PeaMine
Hero Member
*****
Offline Offline

Activity: 655


View Profile
July 31, 2015, 02:16:08 AM
 #44

The --cpu-priority 0 command doesn't seem to be working.
Still sets it to normal

On Linux, I'm compiling and getting:



mv -f asm/.deps/cpuminer-aesb-x64.Tpo asm/.deps/cpuminer-aesb-x64.Po
gcc -std=gnu99 -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2    -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-api.o cpuminer-sysinfos.o sha3/cpuminer-sph_keccak.o sha3/cpuminer-sph_hefty1.o sha3/cpuminer-sph_groestl.o sha3/cpuminer-sph_skein.o sha3/cpuminer-sph_bmw.o sha3/cpuminer-sph_jh.o sha3/cpuminer-sph_shavite.o sha3/cpuminer-sph_blake.o sha3/cpuminer-mod_blakecoin.o sha3/cpuminer-sph_luffa.o sha3/cpuminer-sph_cubehash.o sha3/cpuminer-sph_simd.o sha3/cpuminer-sph_echo.o sha3/cpuminer-sph_hamsi.o sha3/cpuminer-sph_fugue.o sha3/cpuminer-sph_sha2.o sha3/cpuminer-sph_sha2big.o sha3/cpuminer-sph_shabal.o sha3/cpuminer-sph_whirlpool.o crypto/cpuminer-blake2s.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o lyra2/cpuminer-Lyra2.o lyra2/cpuminer-Sponge.o algo/cpuminer-animecoin.o algo/cpuminer-axiom.o algo/cpuminer-blake.o algo/cpuminer-blakecoin.o algo/cpuminer-blake2.o algo/cpuminer-bmw256.o algo/cpuminer-c11.o algo/cpuminer-cryptonight.o algo/cpuminer-drop.o algo/cpuminer-fresh.o algo/cpuminer-groestl.o algo/cpuminer-heavy.o algo/cpuminer-ink.o algo/cpuminer-luffa.o algo/cpuminer-lyra2re.o algo/cpuminer-myr-groestl.o algo/cpuminer-keccak.o algo/cpuminer-pentablake.o algo/cpuminer-quark.o algo/cpuminer-neoscrypt.o algo/cpuminer-nist5.o algo/cpuminer-pluck.o algo/cpuminer-qubit.o algo/cpuminer-scrypt.o algo/cpuminer-sha2.o algo/cpuminer-skein.o algo/cpuminer-skein2.o algo/cpuminer-s3.o algo/cpuminer-x11.o algo/cpuminer-x13.o algo/cpuminer-x14.o algo/cpuminer-x15.o algo/cpuminer-zr5.o asm/cpuminer-neoscrypt_asm.o  asm/cpuminer-sha2-x64.o asm/cpuminer-scrypt-x64.o asm/cpuminer-aesb-x64.o   compat/jansson/libjansson.a -lpthread
cpuminer-cpu-miner.o: In function `longpoll_thread':
/root/cpuminer-multi/cpu-miner.c:2107: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:2221: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `stratum_gen_work':
/root/cpuminer-multi/cpu-miner.c:1508: undefined reference to `SHA256'
cpuminer-cpu-miner.o: In function `workio_thread':
/root/cpuminer-multi/cpu-miner.c:1368: undefined reference to `curl_easy_init'
/root/cpuminer-multi/cpu-miner.c:1406: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `show_version_and_exit':
/root/cpuminer-multi/cpu-miner.c:2413: undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `main':
/root/cpuminer-multi/cpu-miner.c:2985: undefined reference to `curl_global_init'
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1058: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1059: undefined reference to `curl_easy_init'
/root/cpuminer-multi/util.c:1083: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1084: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1085: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1086: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:1087: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:1088: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
/root/cpuminer-multi/util.c:1103: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:1106: undefined reference to `curl_easy_cleanup'
/root/cpuminer-multi/util.c:1082: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_disconnect':
/root/cpuminer-multi/util.c:1123: undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:461: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:463: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:464: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:465: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:466: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/root/cpuminer-multi/util.c:467: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
/root/cpuminer-multi/util.c:505: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:506: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:507: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:508: undefined reference to `curl_slist_append'
/root/cpuminer-multi/util.c:512: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:514: undefined reference to `curl_easy_perform'
/root/cpuminer-multi/util.c:605: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:606: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:492: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:478: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:460: undefined reference to `curl_easy_setopt'
/root/cpuminer-multi/util.c:614: undefined reference to `curl_slist_free_all'
/root/cpuminer-multi/util.c:615: undefined reference to `curl_easy_reset'
/root/cpuminer-multi/util.c:518: undefined reference to `curl_easy_getinfo'
cpuminer-api.o: In function `websocket_handshake':
/root/cpuminer-multi/api.c:336: undefined reference to `SHA1_Init'
/root/cpuminer-multi/api.c:337: undefined reference to `SHA1_Update'
/root/cpuminer-multi/api.c:338: undefined reference to `SHA1_Final'
algo/cpuminer-heavy.o: In function `heavyhash':
/root/cpuminer-multi/algo/heavy.c:45: undefined reference to `SHA256_Init'
/root/cpuminer-multi/algo/heavy.c:46: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/heavy.c:47: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/heavy.c:48: undefined reference to `SHA256_Final'
algo/cpuminer-skein.o: In function `skeinhash':
/root/cpuminer-multi/algo/skein.c:21: undefined reference to `SHA256_Init'
/root/cpuminer-multi/algo/skein.c:22: undefined reference to `SHA256_Update'
/root/cpuminer-multi/algo/skein.c:23: undefined reference to `SHA256_Final'
collect2: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/root/cpuminer-multi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-multi'
make: *** [all] Error 2
Singman33
Full Member
***
Offline Offline

Activity: 143


View Profile
July 31, 2015, 07:38:10 AM
 #45

That issue was already addressed, you should do at least
./configure -with-curl --with-crypto
before launching the make (as show in previous page...)
skunk
Sr. Member
****
Offline Offline

Activity: 320


View Profile
August 04, 2015, 12:56:21 PM
 #46

Code:
$ ./cpuminer -a axiom --benchmark
** cpuminer-multi 1.1 by Tanguy Pruvot (tpruvot@github) **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd

[2015-08-04 14:51:48] 8 miner threads started, using 'axiom' algorithm.
[2015-08-04 14:51:58] CPU #3: 6.25 H/s
[2015-08-04 14:51:58] CPU #7: 6.05 H/s
[2015-08-04 14:52:02] CPU #0: 4.41 H/s
[2015-08-04 14:52:03] CPU #4: 4.29 H/s
[2015-08-04 14:52:03] CPU #2: 4.26 H/s
[2015-08-04 14:52:03] CPU #1: 4.26 H/s
[2015-08-04 14:52:03] CPU #3: 6.05 H/s
[2015-08-04 14:52:03] CPU #5: 4.20 H/s
[2015-08-04 14:52:03] CPU #0: 5.33 H/s
[2015-08-04 14:52:03] CPU #6: 4.09 H/s
[2015-08-04 14:52:04] CPU #7: 5.91 H/s
[2015-08-04 14:52:04] Total: 0.04 kH/s
[2015-08-04 14:52:07] CPU #7: 6.11 H/s
[2015-08-04 14:52:07] Total: 0.04 kH/s
[2015-08-04 14:52:08] CPU #2: 4.43 H/s
[2015-08-04 14:52:08] CPU #4: 4.14 H/s
[2015-08-04 14:52:08] CPU #1: 4.21 H/s
[2015-08-04 14:52:08] CPU #7: 6.39 H/s
[2015-08-04 14:52:08] Total: 0.04 kH/s
[2015-08-04 14:52:08] CPU #5: 4.12 H/s
[2015-08-04 14:52:08] CPU #6: 4.40 H/s
[2015-08-04 14:52:08] CPU #3: 6.01 H/s
[2015-08-04 14:52:09] CPU #0: 4.32 H/s
[2015-08-04 14:52:12] CPU #2: 5.09 H/s
[2015-08-04 14:52:12] CPU #1: 5.34 H/s
[2015-08-04 14:52:12] CPU #4: 4.81 H/s
[2015-08-04 14:52:12] CPU #5: 5.24 H/s
[2015-08-04 14:52:12] CPU #6: 5.18 H/s
[2015-08-04 14:52:13] CPU #2: 6.82 H/s
[2015-08-04 14:52:13] CPU #1: 7.42 H/s
[2015-08-04 14:52:13] CPU #0: 4.92 H/s
[2015-08-04 14:52:13] CPU #4: 6.88 H/s
[2015-08-04 14:52:13] CPU #5: 7.49 H/s
[2015-08-04 14:52:13] CPU #3: 6.37 H/s
[2015-08-04 14:52:13] CPU #7: 6.18 H/s
[2015-08-04 14:52:13] Total: 0.05 kH/s
[2015-08-04 14:52:13] CPU #6: 6.55 H/s
[2015-08-04 14:52:16] CPU #0: 5.75 H/s
[2015-08-04 14:52:18] CPU #3: 6.04 H/s
[2015-08-04 14:52:18] CPU #7: 5.84 H/s
[2015-08-04 14:52:18] Total: 0.05 kH/s
[2015-08-04 14:52:18] CPU #2: 5.26 H/s
[2015-08-04 14:52:19] CPU #0: 4.92 H/s
[2015-08-04 14:52:19] CPU #4: 5.20 H/s
[2015-08-04 14:52:19] CPU #6: 5.22 H/s
[2015-08-04 14:52:19] CPU #1: 5.43 H/s
[2015-08-04 14:52:20] CPU #5: 5.33 H/s
[2015-08-04 14:52:22] CPU #0: 5.78 H/s
[2015-08-04 14:52:22] CPU #7: 6.73 H/s
[2015-08-04 14:52:22] Total: 0.04 kH/s
[2015-08-04 14:52:23] CPU #5: 5.26 H/s
[2015-08-04 14:52:23] CPU #0: 4.83 H/s
[2015-08-04 14:52:23] CPU #3: 6.79 H/s
[2015-08-04 14:52:23] CPU #4: 4.95 H/s
[2015-08-04 14:52:23] CPU #1: 5.43 H/s
[2015-08-04 14:52:23] CPU #7: 7.40 H/s
[2015-08-04 14:52:23] Total: 0.05 kH/s
this on a i7-3770 cpu, far less than the +200 h/s of your windows release... Sad

drstas72
Jr. Member
*
Offline Offline

Activity: 47


View Profile WWW
August 05, 2015, 09:19:01 AM
 #47

Build on ubuntu and have error

git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi/
./build.sh

...skip...
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT lyra2/cpuminer-Lyra2.o -MD -MP -MF lyra2/.deps/cpuminer-Lyra2.Tpo -c -o lyra2/cpuminer-Lyra2.o `test -f 'lyra2/Lyra2.c' || echo './'`lyra2/Lyra2.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^
crypto/mshabal.c:47:2: error: unknown type name ‘__m256i’
  __m256i A[12], B[16], C[16];
  ^
crypto/mshabal.c:48:2: error: unknown type name ‘__m256i’
  __m256i one;
  ^
crypto/mshabal.c:51:3: warning: implicit declaration of function ‘_mm256_loadu_si256’ [-Wimplicit-function-declaration]
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
   ^
crypto/mshabal.c:51:30: error: ‘__m256i’ undeclared (first use in this function)
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
                              ^
crypto/mshabal.c:51:30: note: each undeclared identifier is reported only once for each function it appears in
crypto/mshabal.c:51:39: error: expected expression before ‘)’ token
   A[j] = _mm256_loadu_si256((__m256i *)sc->state + j);
                                       ^
crypto/mshabal.c:53:39: error: expected expression before ‘)’ token
   B[j] = _mm256_loadu_si256((__m256i *)sc->state + j + 12);
                                       ^
crypto/mshabal.c:54:39: error: expected expression before ‘)’ token
   C[j] = _mm256_loadu_si256((__m256i *)sc->state + j + 28);
                                       ^
crypto/mshabal.c:56:2: warning: implicit declaration of function ‘_mm256_set1_epi32’ [-Wimplicit-function-declaration]
  one = _mm256_set1_epi32(C32(0xFFFFFFFF));
  ^
crypto/mshabal.c:76:4: warning: implicit declaration of function ‘_mm256_add_epi32’ [-Wimplicit-function-declaration]
    B[j] = _mm256_add_epi32(B[j], M(j));
    ^
crypto/mshabal.c:76:4: warning: implicit declaration of function ‘_mm256_load_si256’ [-Wimplicit-function-declaration]
crypto/mshabal.c:78:3: warning: implicit declaration of function ‘_mm256_xor_si256’ [-Wimplicit-function-declaration]
   A[0] = _mm256_xor_si256(A[0], _mm256_set1_epi32(sc->Wlow));
   ^
crypto/mshabal.c:82:4: warning: implicit declaration of function ‘_mm256_or_si256’ [-Wimplicit-function-declaration]
    B[j] = _mm256_or_si256(_mm256_slli_epi32(B[j], 17),
    ^
crypto/mshabal.c:82:4: warning: implicit declaration of function ‘_mm256_slli_epi32’ [-Wimplicit-function-declaration]
crypto/mshabal.c:83:4: warning: implicit declaration of function ‘_mm256_srli_epi32’ [-Wimplicit-function-declaration]
    _mm256_srli_epi32(B[j], 15));
    ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:87:3: error: ‘tt’ undeclared (first use in this function)
   tt = _mm256_or_si256(_mm256_slli_epi32(xa1, 15), \
   ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: warning: implicit declaration of function ‘_mm256_andnot_si256’ [-Wimplicit-function-declaration]
   __m256i tt; \
           ^
crypto/mshabal.c:102:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:103:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:104:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:105:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:106:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:107:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:108:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:109:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:110:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:111:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:112:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:113:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:114:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:115:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:116:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:117:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:119:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:120:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:121:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:122:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:123:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:124:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:125:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:126:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:127:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:128:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:129:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:130:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:131:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:132:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:133:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:134:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:136:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0x0], B[0xD], B[0x9], B[0x6], C[0x8], M(0x0));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:137:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0x1], B[0xE], B[0xA], B[0x7], C[0x7], M(0x1));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:138:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0x2], B[0xF], B[0xB], B[0x8], C[0x6], M(0x2));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:139:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0x3], B[0x0], B[0xC], B[0x9], C[0x5], M(0x3));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:140:3: note: in expansion of macro ‘PP’
   PP(A[0x0], A[0xB], B[0x4], B[0x1], B[0xD], B[0xA], C[0x4], M(0x4));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:141:3: note: in expansion of macro ‘PP’
   PP(A[0x1], A[0x0], B[0x5], B[0x2], B[0xE], B[0xB], C[0x3], M(0x5));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:142:3: note: in expansion of macro ‘PP’
   PP(A[0x2], A[0x1], B[0x6], B[0x3], B[0xF], B[0xC], C[0x2], M(0x6));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:143:3: note: in expansion of macro ‘PP’
   PP(A[0x3], A[0x2], B[0x7], B[0x4], B[0x0], B[0xD], C[0x1], M(0x7));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:144:3: note: in expansion of macro ‘PP’
   PP(A[0x4], A[0x3], B[0x8], B[0x5], B[0x1], B[0xE], C[0x0], M(0x8));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:145:3: note: in expansion of macro ‘PP’
   PP(A[0x5], A[0x4], B[0x9], B[0x6], B[0x2], B[0xF], C[0xF], M(0x9));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:146:3: note: in expansion of macro ‘PP’
   PP(A[0x6], A[0x5], B[0xA], B[0x7], B[0x3], B[0x0], C[0xE], M(0xA));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:147:3: note: in expansion of macro ‘PP’
   PP(A[0x7], A[0x6], B[0xB], B[0x8], B[0x4], B[0x1], C[0xD], M(0xB));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:148:3: note: in expansion of macro ‘PP’
   PP(A[0x8], A[0x7], B[0xC], B[0x9], B[0x5], B[0x2], C[0xC], M(0xC));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:149:3: note: in expansion of macro ‘PP’
   PP(A[0x9], A[0x8], B[0xD], B[0xA], B[0x6], B[0x3], C[0xB], M(0xD));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:150:3: note: in expansion of macro ‘PP’
   PP(A[0xA], A[0x9], B[0xE], B[0xB], B[0x7], B[0x4], C[0xA], M(0xE));
   ^
crypto/mshabal.c:86:11: error: expected ‘;’ before ‘tt’
   __m256i tt; \
           ^
crypto/mshabal.c:151:3: note: in expansion of macro ‘PP’
   PP(A[0xB], A[0xA], B[0xF], B[0xC], B[0x8], B[0x5], C[0x9], M(0xF));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:192:3: error: ‘tmp’ undeclared (first use in this function)
   tmp = xb; \
   ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:191:11: warning: implicit declaration of function ‘_mm256_sub_epi32’ [-Wimplicit-function-declaration]
   __m256i tmp; \
           ^
crypto/mshabal.c:197:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x0], C[0x0], M(0x0));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:198:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x1], C[0x1], M(0x1));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:199:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x2], C[0x2], M(0x2));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:200:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x3], C[0x3], M(0x3));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:201:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x4], C[0x4], M(0x4));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:202:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x5], C[0x5], M(0x5));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:203:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x6], C[0x6], M(0x6));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:204:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x7], C[0x7], M(0x7));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:205:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x8], C[0x8], M(0x8));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:206:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0x9], C[0x9], M(0x9));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:207:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xA], C[0xA], M(0xA));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:208:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xB], C[0xB], M(0xB));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:209:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xC], C[0xC], M(0xC));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:210:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xD], C[0xD], M(0xD));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:211:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xE], C[0xE], M(0xE));
   ^
crypto/mshabal.c:191:11: error: expected ‘;’ before ‘tmp’
   __m256i tmp; \
           ^
crypto/mshabal.c:212:3: note: in expansion of macro ‘SWAP_AND_SUB’
   SWAP_AND_SUB(B[0xF], C[0xF], M(0xF));
   ^
crypto/mshabal.c:228:3: warning: implicit declaration of function ‘_mm256_storeu_si256’ [-Wimplicit-function-declaration]
   _mm256_storeu_si256((__m256i *)sc->state + j, A[j]);
   ^
crypto/mshabal.c:228:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j, A[j]);
                                 ^
crypto/mshabal.c:230:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j + 12, B[j]);
                                 ^
crypto/mshabal.c:231:33: error: expected expression before ‘)’ token
   _mm256_storeu_si256((__m256i *)sc->state + j + 28, C[j]);
                                 ^
make[2]: *** [crypto/cpuminer-mshabal.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
mv -f lyra2/.deps/cpuminer-Lyra2.Tpo lyra2/.deps/cpuminer-Lyra2.Po
mv -f crypto/.deps/cpuminer-aesb.Tpo crypto/.deps/cpuminer-aesb.Po
mv -f crypto/.deps/cpuminer-c_skein.Tpo crypto/.deps/cpuminer-c_skein.Po
make[2]: Выход из каталога `/home/drstas/cpuminer-multi'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/drstas/cpuminer-multi'
make: *** [all] Ошибка 2
strip: 'cpuminer': Нет такого файла
drstas@ubuntu:~/cpuminer-multi$

SelenTrade Service Portal
https://www.for-biz.com
Epsylon3
Legendary
*
Offline Offline

Activity: 1008


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 11:29:32 AM
 #48

you need an avx2 arch to build that, add -march=native in CFLAGS if you have a 4th gen cpu (require a recent gcc too, was not handled on gcc 4.6)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 47


View Profile WWW
August 05, 2015, 12:00:51 PM
 #49

make clean distclean
./configure CFLAGS="-march=native"
...
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
...
make

And have error again.

drstas@ubuntu:~/cpuminer-multi$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

16 core CPU E5-2650

SelenTrade Service Portal
https://www.for-biz.com
Epsylon3
Legendary
*
Offline Offline

Activity: 1008


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:15:18 PM
 #50

try my arm branch and use ./build.sh directly on it

CFLAGS are set in build.sh

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 47


View Profile WWW
August 05, 2015, 12:20:35 PM
 #51

# Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"


Error.

SelenTrade Service Portal
https://www.for-biz.com
Epsylon3
Legendary
*
Offline Offline

Activity: 1008


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:25:04 PM
 #52

your cpu doesnt support AVX2... only AVX, i fixed the problem yesterday for travis (same answer for the i7-3770)

can compile AVX2 code != can execute, its only an assembler test at configure time

cat /proc/cpuinfo if you want to be sure :p but i'm

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 47


View Profile WWW
August 05, 2015, 12:37:32 PM
 #53

Sory, CPU E5630
E5-2650 in other vm.

How to disable AVX2 feature in configure script?

processor       : 14
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5630  @ 2.53GHz
stepping        : 2
microcode       : 0xc
cpu MHz         : 2533.423
cache size      : 12288 KB
physical id     : 28
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 28
initial apicid  : 28
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes

SelenTrade Service Portal
https://www.for-biz.com
Epsylon3
Legendary
*
Offline Offline

Activity: 1008


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:39:55 PM
 #54

so use the latest git version... axiom branch, else you can try to add -mno-avx2

http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/i386-and-x86-64-Options.html#i386-and-x86-64-Options

Its not in my main branches (linux/windows) until all cases are tested, using avx2 only stuff in C is new (was only made in asm before)

be sure you have the version with #ifdef __AVX2__ in the code

CPU without AVX2 (i5 3570K) :
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt


CPU with AVX2 (i5 4440) :
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
Epsylon3
Legendary
*
Offline Offline

Activity: 1008


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 12:59:41 PM
 #55

nicehash dev has published a (different) fix also for that, its why i work on different (temporary) axiom and arm branches :

https://github.com/nicehash/cpuminer-multi/commit/966e6b1def98a06b040f005d1d360f772896d3ff

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
drstas72
Jr. Member
*
Offline Offline

Activity: 47


View Profile WWW
August 05, 2015, 01:18:04 PM
 #56

rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


SelenTrade Service Portal
https://www.for-biz.com
Epsylon3
Legendary
*
Offline Offline

Activity: 1008


ccminer/cpuminer developer


View Profile WWW
August 05, 2015, 01:19:07 PM
 #57

rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step



dont have tested nicehash work ... its not me ^^ and was just uploaded

__m256i should be ifdefed (avx2)

BTC: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd - My Projects: ccminer - cpuminer-multi - yiimp - Forum threads : ccminer - cpuminer-multi - yiimp
K1773R
Legendary
*
Offline Offline

Activity: 1582


/dev/null


View Profile
August 05, 2015, 08:34:45 PM
 #58

rm -rf cpuminer-multi
git clone https://github.com/nicehash/cpuminer-multi
cd cpuminer-multi
vi build.sh
-----
 Debian 7.7 / Ubuntu 14.04 (gcc 4.7+)
extracflags="$extracflags -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2"

./configure --with-crypto --with-curl CFLAGS="-O2 $extracflags -DUSE_ASM -pg"

make -j 4
-----

./build.sh
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2  -Ofast -flto -fuse-linker-plugin -ftree-loop-if-convert-stores -march=native -mno-avx2 -DUSE_ASM -pg  -Iyes/include -Iyes/include -MT crypto/cpuminer-mshabal.o -MD -MP -MF crypto/.deps/cpuminer-mshabal.Tpo -c -o crypto/cpuminer-mshabal.o `test -f 'crypto/mshabal.c' || echo './'`crypto/mshabal.c
crypto/mshabal.c: In function ‘mshabal8_compress’:
crypto/mshabal.c:44:3: error: unknown type name ‘__m256i’
   __m256i data[16];
   ^

Ups....

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


this is horrible. use git pull!

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
PeaMine
Hero Member
*****
Offline Offline

Activity: 655


View Profile
August 06, 2015, 12:17:20 AM
 #59

What directions for CPU on Ubuntu without AVX support, just SSE4.2?
drstas72
Jr. Member
*
Offline Offline

Activity: 47


View Profile WWW
August 07, 2015, 09:53:17 PM
 #60


...skip...

Change cpuminer-config.h
/* Define to 1 if AVX2 assembly is available. */
//#define USE_AVX2 1
#undef USE_AVX2

make clean && make
Error...

Im not understund.
Please help my step-by-step


this is horrible. use git pull!

I would not ask any questions, if only it were that simple.
Try it for yourself, give advice, not shouts.

SelenTrade Service Portal
https://www.for-biz.com
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!