joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
September 07, 2016, 11:35:20 AM |
|
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?
?
|
|
|
|
2dm
Newbie
Offline
Activity: 5
Merit: 0
|
|
September 07, 2016, 11:37:44 AM |
|
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. ./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.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
September 07, 2016, 11:45:21 AM |
|
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. ./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. minerd is not cpuminer-opt. The correct command is cpuminer. You must have an old copy of minerd in your directory.
|
|
|
|
2dm
Newbie
Offline
Activity: 5
Merit: 0
|
|
September 07, 2016, 01:41:50 PM |
|
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. ./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. 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
Activity: 28
Merit: 0
|
|
September 07, 2016, 01:59:40 PM |
|
Centos 7 Error 3.4.6 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? 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
Activity: 1470
Merit: 1114
|
|
September 07, 2016, 03:38:44 PM Last edit: September 07, 2016, 05:52:54 PM by joblo |
|
Centos 7 Error 3.4.6 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? 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
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
September 07, 2016, 03:40:25 PM |
|
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. ./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. 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.
|
|
|
|
2dm
Newbie
Offline
Activity: 5
Merit: 0
|
|
September 07, 2016, 04:26:43 PM |
|
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. ./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. 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.gitcd cpuminer ./autogen.sh ./configure CFLAGS="-O3" make What am I doing wrong?
|
|
|
|
gegstore
Member
Offline
Activity: 78
Merit: 10
|
|
September 07, 2016, 05:06:08 PM |
|
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
Activity: 1470
Merit: 1114
|
|
September 07, 2016, 05:32:04 PM |
|
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.
|
|
|
|
gegstore
Member
Offline
Activity: 78
Merit: 10
|
|
September 07, 2016, 05:48:03 PM |
|
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
Activity: 28
Merit: 0
|
|
September 07, 2016, 06:01:20 PM |
|
Centos 7 Error 3.4.6 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? 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.htmlCompile "./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
|
|
|
|
gegstore
Member
Offline
Activity: 78
Merit: 10
|
|
September 07, 2016, 06:58:44 PM |
|
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
Activity: 1470
Merit: 1114
|
|
September 07, 2016, 07:12:06 PM |
|
Centos 7 Error 3.4.6 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? 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.htmlCompile "./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 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.
|
|
|
|
ljglug
|
|
September 08, 2016, 11:34:53 AM |
|
Is there a version of VRM that can be mined?
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
September 08, 2016, 02:19:51 PM |
|
Is there a version of VRM that can be mined?
Not that I am aware of.
|
|
|
|
jkminkov
|
|
September 10, 2016, 11:58:23 AM |
|
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
Activity: 1470
Merit: 1114
|
|
September 10, 2016, 02:41:42 PM |
|
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".
|
|
|
|
th3.r00t
|
|
September 10, 2016, 03:51:08 PM |
|
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: ********** 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: urban@mystique:~$ ~/cpu-detect/cpu-detect Vendor: AuthenticAMD Brand: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ CPU features: MMX SSE SSE2 SSE3
|
|
|
|
|