Bitcoin Forum
December 12, 2024, 11:46:14 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444086 times)
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 07, 2016, 11:35:20 AM
 #1201

I also tried with MinGW 64 environment but also fails to find the algo linking.
So something is wrong with the mapping or you have something special in your build environment the other don't have?

?

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
2dm
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
September 07, 2016, 11:37:44 AM
 #1202

Hi,
Ubuntu 16.04+cpuminer-opt v3.4.6
After a standard installation (in accordance with the file README.md) miner does not understand the algorithm yescrupt. Sad
./minerd --algo=yescrypt --url=stratum+tcp://mine.zpool.ca:6233 --user=1C...wWe --pass=x
./minerd: unknown algorithm -- 'yescrypt'
Try `minerd --help' for more information.
Without key "algo =" miner normally works on the scrypt algorithm.
How to solve this problem?
Thanks in advance. Smiley
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 07, 2016, 11:45:21 AM
 #1203

Hi,
Ubuntu 16.04+cpuminer-opt v3.4.6
After a standard installation (in accordance with the file README.md) miner does not understand the algorithm yescrupt. Sad
./minerd --algo=yescrypt --url=stratum+tcp://mine.zpool.ca:6233 --user=1C...wWe --pass=x
./minerd: unknown algorithm -- 'yescrypt'
Try `minerd --help' for more information.
Without key "algo =" miner normally works on the scrypt algorithm.
How to solve this problem?
Thanks in advance. Smiley

minerd is not cpuminer-opt. The correct command is cpuminer. You must have an old copy of minerd in your directory.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
2dm
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
September 07, 2016, 01:41:50 PM
 #1204

Hi,
Ubuntu 16.04+cpuminer-opt v3.4.6
After a standard installation (in accordance with the file README.md) miner does not understand the algorithm yescrupt. Sad
./minerd --algo=yescrypt --url=stratum+tcp://mine.zpool.ca:6233 --user=1C...wWe --pass=x
./minerd: unknown algorithm -- 'yescrypt'
Try `minerd --help' for more information.
Without key "algo =" miner normally works on the scrypt algorithm.
How to solve this problem?
Thanks in advance. Smiley

minerd is not cpuminer-opt. The correct command is cpuminer. You must have an old copy of minerd in your directory.

Thanks for the answer.
Where can I find an executable file named cpuminer?
In which directory?
Voljanin
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
September 07, 2016, 01:59:40 PM
 #1205

Centos 7
Error 3.4.6
Code:
g++ -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include  -g -O2 -MT algo/hodl/cpuminer-hodl.o -MD -MP -MF algo/hodl/.deps/cpuminer-hodl.Tpo -c -o algo/hodl/cpuminer-hodl.o `test -f 'algo/hodl/hodl.cpp' || echo './'`algo/hodl/hodl.cpp
In file included from /usr/include/c++/4.8.2/unordered_map:35:0,
                 from algo/hodl/hodl.cpp:8:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \

From README.md:

Run build.sh to build on Linux or execute the following commands.

./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
make



big thx
GCC 6.2.0 not support?
Code:
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^~~~~~~~~
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
gcc --version
gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 07, 2016, 03:38:44 PM
Last edit: September 07, 2016, 05:52:54 PM by joblo
 #1206

Centos 7
Error 3.4.6
Code:
g++ -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include  -g -O2 -MT algo/hodl/cpuminer-hodl.o -MD -MP -MF algo/hodl/.deps/cpuminer-hodl.Tpo -c -o algo/hodl/cpuminer-hodl.o `test -f 'algo/hodl/hodl.cpp' || echo './'`algo/hodl/hodl.cpp
In file included from /usr/include/c++/4.8.2/unordered_map:35:0,
                 from algo/hodl/hodl.cpp:8:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \

From README.md:

Run build.sh to build on Linux or execute the following commands.

./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
make



big thx
GCC 6.2.0 not support?
Code:
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^~~~~~~~~
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
gcc --version
gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


This appears to be optimization related, other users have reported problems with the link time optimization (-flto) compiler switch.
Try disabling it.

Edit: I did a little reasearch. I found nothing useful from google for the error message. The error is not in miner code. It appears the compiler
was instructed to inline the function but failed. This seems compiler/configuration related rather than code related. I can't do a lot to help
because I don't have a gcc 6.2 compile environment to test in.

I found this, it has a section about lto. I don't know if it's enabled by default but can be disabled by "-fno-lto".

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 07, 2016, 03:40:25 PM
 #1207

Hi,
Ubuntu 16.04+cpuminer-opt v3.4.6
After a standard installation (in accordance with the file README.md) miner does not understand the algorithm yescrupt. Sad
./minerd --algo=yescrypt --url=stratum+tcp://mine.zpool.ca:6233 --user=1C...wWe --pass=x
./minerd: unknown algorithm -- 'yescrypt'
Try `minerd --help' for more information.
Without key "algo =" miner normally works on the scrypt algorithm.
How to solve this problem?
Thanks in advance. Smiley

minerd is not cpuminer-opt. The correct command is cpuminer. You must have an old copy of minerd in your directory.

Thanks for the answer.
Where can I find an executable file named cpuminer?
In which directory?

The same place you compiled it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
2dm
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
September 07, 2016, 04:26:43 PM
 #1208

Hi,
Ubuntu 16.04+cpuminer-opt v3.4.6
After a standard installation (in accordance with the file README.md) miner does not understand the algorithm yescrupt. Sad
./minerd --algo=yescrypt --url=stratum+tcp://mine.zpool.ca:6233 --user=1C...wWe --pass=x
./minerd: unknown algorithm -- 'yescrypt'
Try `minerd --help' for more information.
Without key "algo =" miner normally works on the scrypt algorithm.
How to solve this problem?
Thanks in advance. Smiley

minerd is not cpuminer-opt. The correct command is cpuminer. You must have an old copy of minerd in your directory.

Thanks for the answer.
Where can I find an executable file named cpuminer?
In which directory?

The same place you compiled it.

Unfortunately I do not have such file.
Did I do something wrong.
The following list is done, the:

sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
git clone https://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make

What am I doing wrong?
gegstore
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
September 07, 2016, 05:06:08 PM
 #1209

i have a problem with sse2
with opt 3.3.8 go well
with the new 3.4.6 it crash
cpu is a  AMD Phenom(tm) 9600B Quad-Core Processor

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 07, 2016, 05:25:32 PM
 #1210



Did I do something wrong.
The following list is done, the:

sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
git clone https://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make

What am I doing wrong?

That's not cpuminer-opt, try here https://bitcointalk.org/index.php?topic=1326803.msg13542056#msg13542056

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 07, 2016, 05:32:04 PM
 #1211

i have a problem with sse2
with opt 3.3.8 go well
with the new 3.4.6 it crash
cpu is a  AMD Phenom(tm) 9600B Quad-Core Processor


More info required. OS, compile or prebuit, what compile arch, what error, what algo, try other algos.

If you're using the prebuilt binaries cpuminer-core2.exe should work on your CPU. If it doesn't try to find
out what release it broke in.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
gegstore
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
September 07, 2016, 05:48:03 PM
 #1212

i have a problem with sse2
with opt 3.3.8 go well
with the new 3.4.6 it crash
cpu is a  AMD Phenom(tm) 9600B Quad-Core Processor


More info required. OS, compile or prebuit, what compile arch, what error, what algo, try other algos.

If you're using the prebuilt binaries cpuminer-core2.exe should work on your CPU. If it doesn't try to find
out what release it broke in.

algo cryptonight  (monero)  on win 10 64bit

Voljanin
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
September 07, 2016, 06:01:20 PM
 #1213

Centos 7
Error 3.4.6
Code:
g++ -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include  -g -O2 -MT algo/hodl/cpuminer-hodl.o -MD -MP -MF algo/hodl/.deps/cpuminer-hodl.Tpo -c -o algo/hodl/cpuminer-hodl.o `test -f 'algo/hodl/hodl.cpp' || echo './'`algo/hodl/hodl.cpp
In file included from /usr/include/c++/4.8.2/unordered_map:35:0,
                 from algo/hodl/hodl.cpp:8:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \

From README.md:

Run build.sh to build on Linux or execute the following commands.

./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
make



big thx
GCC 6.2.0 not support?
Code:
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^~~~~~~~~
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
gcc --version
gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


This appears to be optimization related, other users have reported problems with the link time optimization (-flto) compiler switch.
Try disabling it.

Edit: I did a little reasearch. I found nothing useful from google for the error message. The error is not in miner code. It appears the compiler
was instructed to inline the function but failed. This seems compiler/configuration related rather than code related. I can't do a lot to help
because I don't have a gcc 6.2 compile environment to test in.

I found this, it has a section about lto. I don't know if it's enabled by default but can be disabled by "-fno-lto".

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html


Compile "./configure CFLAGS="-O3 -march=native" --with-curl --with-crypto" ......no error.

Start ./cpuminer
./cpuminer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./cpuminer)
./cpuminer: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./cpuminer)
./cpuminer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./cpuminer)
-----------------------------------------
Sorry for bad english Smiley
gegstore
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
September 07, 2016, 06:58:44 PM
 #1214

i have a problem with sse2
with opt 3.3.8 go well
with the new 3.4.6 it crash
cpu is a  AMD Phenom(tm) 9600B Quad-Core Processor


More info required. OS, compile or prebuit, what compile arch, what error, what algo, try other algos.

If you're using the prebuilt binaries cpuminer-core2.exe should work on your CPU. If it doesn't try to find
out what release it broke in.

algo cryptonight  (monero)  on win 10 64bit
prebuilt binaries cpuminer-core2.exe


joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 07, 2016, 07:12:06 PM
 #1215

Centos 7
Error 3.4.6
Code:
g++ -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Iyes/include  -g -O2 -MT algo/hodl/cpuminer-hodl.o -MD -MP -MF algo/hodl/.deps/cpuminer-hodl.Tpo -c -o algo/hodl/cpuminer-hodl.o `test -f 'algo/hodl/hodl.cpp' || echo './'`algo/hodl/hodl.cpp
In file included from /usr/include/c++/4.8.2/unordered_map:35:0,
                 from algo/hodl/hodl.cpp:8:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \

From README.md:

Run build.sh to build on Linux or execute the following commands.

./autogen.sh
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
make



big thx
GCC 6.2.0 not support?
Code:
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:132:5: note: in expansion of macro ‘TRANSFORM’
     TRANSFORM(s2, mul2ipt, t1, t2);\
     ^~~~~~~~~
algo/echo/aes_ni/hash.c:342:4: note: in expansion of macro ‘ECHO_SUB_AND_MIX’
    ECHO_SUB_AND_MIX(_state2, 3, 3, _state, 0, 3, 0, 1, 2);
    ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/local/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline ‘_mm_shuffle_epi8’: target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro ‘TRANSFORM’
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
gcc --version
gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


This appears to be optimization related, other users have reported problems with the link time optimization (-flto) compiler switch.
Try disabling it.

Edit: I did a little reasearch. I found nothing useful from google for the error message. The error is not in miner code. It appears the compiler
was instructed to inline the function but failed. This seems compiler/configuration related rather than code related. I can't do a lot to help
because I don't have a gcc 6.2 compile environment to test in.

I found this, it has a section about lto. I don't know if it's enabled by default but can be disabled by "-fno-lto".

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html


Compile "./configure CFLAGS="-O3 -march=native" --with-curl --with-crypto" ......no error.

Start ./cpuminer
./cpuminer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./cpuminer)
./cpuminer: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./cpuminer)
./cpuminer: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./cpuminer)
-----------------------------------------
Sorry for bad english Smiley


It needs CXXFLAGS="$CFLAGS -std=gnu++11". Try using the default options in build.sh and troubleshoot from there.
Tell me about anything you do differently.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ljglug
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
September 08, 2016, 11:34:53 AM
 #1216

Is there a version of VRM that can be mined?

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 08, 2016, 02:19:51 PM
 #1217

Is there a version of VRM that can be mined?

Not that I am aware of.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
jkminkov
Hero Member
*****
Offline Offline

Activity: 698
Merit: 500


View Profile
September 10, 2016, 11:58:23 AM
 #1218

myr-gr algo is all rejects on zpool for windows build, only sse2 works, i7 cpu.

.:31211457:. 100 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
September 10, 2016, 02:41:42 PM
 #1219

myr-gr algo is all rejects on zpool for windows build, only sse2 works, i7 cpu.

It looks like the AES version of myr-gr is broken and has been for a while, probably since I implemented it.
I recall being disappointed in the performance gain, of lack of, with AES since it forms a major
part of myr-gr. The only thing I can think of is that I mistakenly ran the SSE code when I thought I was testing
the AES code. That would explain both the performance disappointment and the failure to detect that AES
was broken.

Next release will disable AES for myr-gr. In the meantime use the SSE2 Windows binary or compile specifically
for SSE2 with "-march=core2".

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
th3.r00t
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile WWW
September 10, 2016, 03:51:08 PM
 #1220

I think I've found a somekind a bug in CPU detection.

I've found some old PC with AMD Athlon 64 X2 6000+
After some fails to compile with -march=native, -march=k8-sse3 and -march=nocona I finally had a successful compile with -march=core2.

Starting the binary reports the cpu like this:
Code:
         **********  cpuminer-opt 3.4.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU: c@
CPU features: SSE2
SW built on Sep 10 2016 with GCC 4.8.4
SW features: SSE2
Algo features: SSE2 AES AVX AVX2
Start mining with SSE2

cpu-detect reports correct CPU string:
Code:
urban@mystique:~$ ~/cpu-detect/cpu-detect
Vendor: AuthenticAMD
Brand: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
CPU features:
 MMX SSE SSE2 SSE3

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
Pages: « 1 ... 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 [61] 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!