Bitcoin Forum
March 23, 2019, 06:02:04 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 419088 times)
philipma1957
Legendary
*
Offline Offline

Activity: 2408
Merit: 1604


Avalon 841 rocks


View Profile
December 10, 2017, 07:35:27 PM
 #2961

This is the home of cpuminer-opt, The optimized CPU miner.

cpuminer-opt now supports over 50 algorithms with more than 20 optimized to use
AES_NI, AVX, AVX2 and SHA on capable CPUs.

Download

Source and Windows binaries can now be downloaded from git,

https://github.com/JayDDee/cpuminer-opt/releases

New in v3.7.5

New algo keccakc for Creative coin with 4way optimizations

Rewrote some AVX/AVX2 code for more consistent implementation and some
optimizing.

Enhanced capabilities check to support 4way, mor eprecise reporting of
features (not all algos use SSE2), and better error messages when using
an incompatible pre-built version (Windows users).

Introducing 4-way AVX2 optimization giving up to 4x performance inprovement
on many compute bound algos. Currently supported algos include: tribus, nist5,
skein, skein2, blake & keccak, keccakc.

Legacy version 3.5.9.1 May provide better performance on some algos with older CPUs that
don't have AES NI. The legacy version is required to mine hodl with a non-AES CPU. Most users should
use it the master version.

git clone https://github.com/JayDDee/cpuminer-opt -b legacy

Source and Windows binaries can be downloaded from git.

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.5.9.1


Security warning

Miner programs are often flagged as malware by antivirus programs. This is
a false positive, they are flagged simply because they are miners. The source
code is open for anyone to inspect. If you don't trust the software, don't use
it.

The cryptographic code has been taken from trusted sources but has been
modified for speed at the expense of accepted security practices. This
code should not be imported into applications where secure cryptography is
required.

Errata:

AMD CPUs older than Piledriver, including Athlon x2 and Phenom II x4, are not
supported by cpuminer-opt due to an incompatible implementation of SSE2 on
these CPUs. Some algos may crash the miner with an invalid instruction.
Users are recommended to use an unoptimized miner such as cpuminer-multi.

Solo mining of cryptonight does not work.

Bench stats collection enabled (-p stats) when mining timetravel causes miner to exit after
50 share submissions.

cpuminer-opt does not work mining Decred algo at Nicehash and produces only
"invalid extranonce2 size" rejects.

Benchmark testing does not work for x11evo.

Requirements:

1. A x86_64 architecture CPU with a minimum of SSE2 support. This includes Intel
Core2 and newer and AMD equivalents. In order to take advantage of AES_NI
optimizations a CPU with AES_NI is required. This includes Intel Westbridge
and newer and AMD equivalents. Further optimizations are available on some algos
for CPUs with AVX and AVX2, Sandybridge and Haswell respectively.

Older CPUs are supported by cpuminer-multi by TPruvot but at reduced performance.

2. 64 bit Linux OS. Ubuntu and Fedora based distributions, including Mint and Centos are known
to work and have all dependencies in their repositories. Others may work but may require
more effort.

64 bit Windows OS is supported using the pre-compiled binaries package or may be compiled
with mingw_w64 and msys.



so nicehash has crashed  and burned   I wonder

where are people mining  with this software now.

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
1553320924
Hero Member
*
Offline Offline

Posts: 1553320924

View Profile Personal Message (Offline)

Ignore
1553320924
Reply with quote  #2

1553320924
Report to moderator
1553320924
Hero Member
*
Offline Offline

Posts: 1553320924

View Profile Personal Message (Offline)

Ignore
1553320924
Reply with quote  #2

1553320924
Report to moderator
1553320924
Hero Member
*
Offline Offline

Posts: 1553320924

View Profile Personal Message (Offline)

Ignore
1553320924
Reply with quote  #2

1553320924
Report to moderator
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1553320924
Hero Member
*
Offline Offline

Posts: 1553320924

View Profile Personal Message (Offline)

Ignore
1553320924
Reply with quote  #2

1553320924
Report to moderator
1553320924
Hero Member
*
Offline Offline

Posts: 1553320924

View Profile Personal Message (Offline)

Ignore
1553320924
Reply with quote  #2

1553320924
Report to moderator
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
December 10, 2017, 08:43:27 PM
 #2962

Which mode is best to choose on yescryptr16 for 6950x and for 6700k ?


I haven't explored yescrypt modes in detail but I don't think it matters on most CPUs.
The important one is for SSE4 and AVX which should be selected automatically when
compiled natively on a capable CPU.

Mode settting is not intended for users.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
fynxgloire
Full Member
***
Offline Offline

Activity: 294
Merit: 100


View Profile
December 11, 2017, 12:33:30 AM
 #2963

Hi I just downloaded and running the new release. cpuminer-sse42.exe
Weird thing I am getting less than 1/2 the hashrates that I used to connecting to the same supr nova pool

Now only getting 200 ish kH/s, before it was 500.

Should I just run the old one?
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
December 11, 2017, 02:58:17 AM
 #2964

Hi I just downloaded and running the new release. cpuminer-sse42.exe
Weird thing I am getting less than 1/2 the hashrates that I used to connecting to the same supr nova pool

Now only getting 200 ish kH/s, before it was 500.

Should I just run the old one?

What algo & CPU?

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
freeapp
Member
**
Offline Offline

Activity: 131
Merit: 10


View Profile WWW
December 11, 2017, 10:28:40 AM
 #2965

Hi,
i have downloaded from github. compiled it. and get this:

         **********  cpuminer-opt 3.7.5  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Xeon(R) CPU E5-2623 v4 @ 2.60GHz.
SW built on Dec 11 2017 with GCC 5.4.0.
CPU features: SSE2 AES AVX AVX2.
SW features: SSE2 AES AVX AVX2 4WAY.
Algo features:.
Start mining with no optimizations.

why does it start without Algo features?

i run it with: ./cpuminer -a scrypt:1048576


thanks in advance.

best regards,
freeapp
lncm
Member
**
Offline Offline

Activity: 294
Merit: 11


View Profile
December 11, 2017, 11:54:29 AM
 #2966

So, no solutions at all for OS X?
tutulfo
Full Member
***
Offline Offline

Activity: 322
Merit: 105


View Profile
December 11, 2017, 12:08:48 PM
 #2967

So, no solutions at all for OS X?

I´m testing and have one problem, API not working for some algos/miner combinations, for example Tribus/sse2 or X17/4ways

Megaminer - Multi pool / Multi Algo launcher https://bitcointalk.org/index.php?topic=2059039.0
BTC: 1AVMHnFgc6SW33cwqrDyy2Fug9CsS8u6TM -------   LTC:  LVwuYbAvbMDVapheQBA7o2qQ2mKTEXVDbX
BCH: 1N7wsg4JmWJLP6BuHUP5rwsAXnQjTWPBjr --------  ETH: 0x9b7A01Bf5bD29c66d228d372B5bD1C43cDb78AcC
lncm
Member
**
Offline Offline

Activity: 294
Merit: 11


View Profile
December 11, 2017, 12:18:06 PM
 #2968

I need scrypt for mining Verium.

Does it work? Could you share the binary?

Thanks.
fynxgloire
Full Member
***
Offline Offline

Activity: 294
Merit: 100


View Profile
December 11, 2017, 01:35:31 PM
 #2969

Hi I just downloaded and running the new release. cpuminer-sse42.exe
Weird thing I am getting less than 1/2 the hashrates that I used to connecting to the same supr nova pool

Now only getting 200 ish kH/s, before it was 500.

Should I just run the old one?

What algo & CPU?

Hi,
I am running on a i7-6700 on this script: (lyra2z)
Bin\cpuminer-opt-3.7.5-windows\cpuminer-sse42.exe -a lyra2z -o stratum+tcp://xzc.suprnova.cc:1596


Regards
J0HN3F1V3
Full Member
***
Offline Offline

Activity: 233
Merit: 100


View Profile
December 11, 2017, 01:46:15 PM
 #2970

Interesting project,
Does it support the argon2d algorithm used by Credits?
If so it would be interesting to test it against the wallet miner to see if it performs better.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
December 11, 2017, 02:56:43 PM
 #2971

So, no solutions at all for OS X?

Clearly you haven't read the requirements.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
December 11, 2017, 03:00:54 PM
 #2972

Interesting project,
Does it support the argon2d algorithm used by Credits?
If so it would be interesting to test it against the wallet miner to see if it performs better.


Not at this time. Wolf0 has optimized this algo, you should use his miner. It isn't likely I could improve
on his work. I may add the algo later.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
December 11, 2017, 03:12:21 PM
 #2973

Hi I just downloaded and running the new release. cpuminer-sse42.exe
Weird thing I am getting less than 1/2 the hashrates that I used to connecting to the same supr nova pool

Now only getting 200 ish kH/s, before it was 500.

Should I just run the old one?

What algo & CPU?

Hi,
I am running on a i7-6700 on this script: (lyra2z)
Bin\cpuminer-opt-3.7.5-windows\cpuminer-sse42.exe -a lyra2z -o stratum+tcp://xzc.suprnova.cc:1596


Regards

My 6700K gives the same speed using sse42 with v3.7.5 & v3.7.4 BUT your CPU supports AVX2 so you
should be using that build.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
lncm
Member
**
Offline Offline

Activity: 294
Merit: 11


View Profile
December 11, 2017, 03:44:47 PM
 #2974

So, no solutions at all for OS X?

Clearly you haven't read the requirements.

Yes I have, that's why I am asking. I´ve compiled it in Linux and also running windows binary on another computer. I already know it works beautifully in Linux and Windows.

Being OS X a 64 bit *NIX OS, it should be possible to compile from source, or not?
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
December 11, 2017, 04:14:30 PM
 #2975

So, no solutions at all for OS X?

Clearly you haven't read the requirements.

Yes I have, that's why I am asking. I´ve compiled it in Linux and also running windows binary on another computer. I already know it works beautifully in Linux and Windows.

Being OS X a 64 bit *NIX OS, it should be possible to compile from source, or not?


I'm not aware of anyone who has successfully done it or has even tried. I've never owned or used a MAC
so it's outside my comfort zone.

If you or anyone else has the skills and can get it to compile and run on OSX I will gladly try to support it,
as was done recently with FreeBSD.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 11, 2017, 10:57:47 PM
 #2976

I'm trying to compile on CentOS (2.6.32-431.el6.x86_64). I install the following dependancies without error:
Development Tools
curl-devel
openssl-devel
gmp-devel

When I build, this is the output, can anyone tell me what is wrong?

Code:
make: *** No rule to make target `distclean'.  Stop.
clean
configure.ac:17: installing `./compile'
configure.ac:4: installing `./config.guess'
configure.ac:4: installing `./config.sub'
configure.ac:9: installing `./install-sh'
configure.ac:9: installing `./missing'
compat/jansson/Makefile.am: installing `./depcomp'
Makefile.am:139: whitespace following trailing backslash
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... gcc3
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking whether le16dec is declared... no
checking whether le16enc is declared... no
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... no
configure: WARNING: The assembler does not support the AVX2 instruction set.
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking whether __uint128_t is supported... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/usr/local/src/cpuminer-opt'
Making all in compat
make[2]: Entering directory `/usr/local/src/cpuminer-opt/compat'
Making all in jansson
make[3]: Entering directory `/usr/local/src/cpuminer-opt/compat/jansson'
depbase=`echo dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT dump.o -MD -MP -MF $depbase.Tpo -c -o dump.o dump.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo hashtable.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT hashtable.o -MD -MP -MF $depbase.Tpo -c -o hashtable.o hashtable.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo load.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT load.o -MD -MP -MF $depbase.Tpo -c -o load.o load.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo memory.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT memory.o -MD -MP -MF $depbase.Tpo -c -o memory.o memory.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pack_unpack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT pack_unpack.o -MD -MP -MF $depbase.Tpo -c -o pack_unpack.o pack_unpack.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strbuffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT strbuffer.o -MD -MP -MF $depbase.Tpo -c -o strbuffer.o strbuffer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strconv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT strconv.o -MD -MP -MF $depbase.Tpo -c -o strconv.o strconv.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo utf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT utf.o -MD -MP -MF $depbase.Tpo -c -o utf.o utf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo value.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT value.o -MD -MP -MF $depbase.Tpo -c -o value.o value.c &&\
mv -f $depbase.Tpo $depbase.Po
rm -f libjansson.a
ar cru libjansson.a dump.o error.o hashtable.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory `/usr/local/src/cpuminer-opt/compat/jansson'
make[3]: Entering directory `/usr/local/src/cpuminer-opt/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/cpuminer-opt/compat'
make[2]: Leaving directory `/usr/local/src/cpuminer-opt/compat'
make[2]: Entering directory `/usr/local/src/cpuminer-opt'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-cpu-miner.o -MD -MP -MF .deps/cpuminer-cpu-miner.Tpo -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-util.o -MD -MP -MF .deps/cpuminer-util.Tpo -c -o cpuminer-util.o `test -f 'util.c' || echo './'`util.c
g++ -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include  -g -O2 -MT cpuminer-uint256.o -MD -MP -MF .deps/cpuminer-uint256.Tpo -c -o cpuminer-uint256.o `test -f 'uint256.cpp' || echo './'`uint256.cpp
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-api.o -MD -MP -MF .deps/cpuminer-api.Tpo -c -o cpuminer-api.o `test -f 'api.c' || echo './'`api.c
util.c: In function ???????applog????????:
util.c:107: warning: implicit declaration of function ???????syslog????????
mv -f .deps/cpuminer-uint256.Tpo .deps/cpuminer-uint256.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-sysinfos.o -MD -MP -MF .deps/cpuminer-sysinfos.Tpo -c -o cpuminer-sysinfos.o `test -f 'sysinfos.c' || echo './'`sysinfos.c
mv -f .deps/cpuminer-api.Tpo .deps/cpuminer-api.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-algo-gate-api.o -MD -MP -MF .deps/cpuminer-algo-gate-api.Tpo -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c
algo-gate-api.c: In function ???????register_algo_gate????????:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:159: warning: implicit declaration of function ???????register_argon2_algo????????
algo-gate-api.c:160: warning: implicit declaration of function ???????register_axiom_algo????????
algo-gate-api.c:161: warning: implicit declaration of function ???????register_bastion_algo????????
algo-gate-api.c:162: warning: implicit declaration of function ???????register_blake_algo????????
algo-gate-api.c:163: warning: implicit declaration of function ???????register_blakecoin_algo????????
algo-gate-api.c:165: warning: implicit declaration of function ???????register_blake2s_algo????????
algo-gate-api.c:166: warning: implicit declaration of function ???????register_c11_algo????????
algo-gate-api.c:167: warning: implicit declaration of function ???????register_cryptolight_algo????????
algo-gate-api.c:168: warning: implicit declaration of function ???????register_cryptonight_algo????????
algo-gate-api.c:169: warning: implicit declaration of function ???????register_decred_algo????????
algo-gate-api.c:170: warning: implicit declaration of function ???????register_deep_algo????????
algo-gate-api.c:171: warning: implicit declaration of function ???????register_dmd_gr_algo????????
algo-gate-api.c:172: warning: implicit declaration of function ???????register_drop_algo????????
algo-gate-api.c:173: warning: implicit declaration of function ???????register_fresh_algo????????
algo-gate-api.c:174: warning: implicit declaration of function ???????register_groestl_algo????????
algo-gate-api.c:175: warning: implicit declaration of function ???????register_heavy_algo????????
algo-gate-api.c:176: warning: implicit declaration of function ???????register_hmq1725_algo????????
algo-gate-api.c:177: warning: implicit declaration of function ???????register_hodl_algo????????
algo-gate-api.c:178: warning: implicit declaration of function ???????register_jha_algo????????
algo-gate-api.c:179: warning: implicit declaration of function ???????register_keccak_algo????????
algo-gate-api.c:180: warning: implicit declaration of function ???????register_keccakc_algo????????
algo-gate-api.c:181: warning: implicit declaration of function ???????register_lbry_algo????????
algo-gate-api.c:182: warning: implicit declaration of function ???????register_luffa_algo????????
algo-gate-api.c:183: warning: implicit declaration of function ???????register_lyra2re_algo????????
algo-gate-api.c:184: warning: implicit declaration of function ???????register_lyra2rev2_algo????????
algo-gate-api.c:185: warning: implicit declaration of function ???????register_lyra2z_algo????????
algo-gate-api.c:186: warning: implicit declaration of function ???????register_lyra2z330_algo????????
algo-gate-api.c:187: warning: implicit declaration of function ???????register_m7m_algo????????
algo-gate-api.c:188: warning: implicit declaration of function ???????register_myriad_algo????????
algo-gate-api.c:189: warning: implicit declaration of function ???????register_neoscrypt_algo????????
algo-gate-api.c:190: warning: implicit declaration of function ???????register_nist5_algo????????
algo-gate-api.c:191: warning: implicit declaration of function ???????register_pentablake_algo????????
algo-gate-api.c:192: warning: implicit declaration of function ???????register_phi1612_algo????????
algo-gate-api.c:193: warning: implicit declaration of function ???????register_pluck_algo????????
algo-gate-api.c:194: warning: implicit declaration of function ???????register_polytimos_algo????????
algo-gate-api.c:195: warning: implicit declaration of function ???????register_quark_algo????????
algo-gate-api.c:196: warning: implicit declaration of function ???????register_qubit_algo????????
algo-gate-api.c:197: warning: implicit declaration of function ???????register_scrypt_algo????????
algo-gate-api.c:198: warning: implicit declaration of function ???????register_scryptjane_algo????????
algo-gate-api.c:199: warning: implicit declaration of function ???????register_sha256d_algo????????
algo-gate-api.c:200: warning: implicit declaration of function ???????register_sha256t_algo????????
algo-gate-api.c:201: warning: implicit declaration of function ???????register_shavite_algo????????
algo-gate-api.c:202: warning: implicit declaration of function ???????register_skein_algo????????
algo-gate-api.c:203: warning: implicit declaration of function ???????register_skein2_algo????????
algo-gate-api.c:204: warning: implicit declaration of function ???????register_skunk_algo????????
algo-gate-api.c:205: warning: implicit declaration of function ???????register_timetravel_algo????????
algo-gate-api.c:206: warning: implicit declaration of function ???????register_timetravel10_algo????????
algo-gate-api.c:207: warning: implicit declaration of function ???????register_tribus_algo????????
algo-gate-api.c:208: warning: implicit declaration of function ???????register_vanilla_algo????????
algo-gate-api.c:209: warning: implicit declaration of function ???????register_veltor_algo????????
algo-gate-api.c:210: warning: implicit declaration of function ???????register_whirlpool_algo????????
algo-gate-api.c:211: warning: implicit declaration of function ???????register_whirlpoolx_algo????????
algo-gate-api.c:212: warning: implicit declaration of function ???????register_x11_algo????????
algo-gate-api.c:213: warning: implicit declaration of function ???????register_x11evo_algo????????
algo-gate-api.c:214: warning: implicit declaration of function ???????register_sib_algo????????
algo-gate-api.c:215: warning: implicit declaration of function ???????register_x13_algo????????
algo-gate-api.c:216: warning: implicit declaration of function ???????register_x13sm3_algo????????
algo-gate-api.c:217: warning: implicit declaration of function ???????register_x14_algo????????
algo-gate-api.c:218: warning: implicit declaration of function ???????register_x15_algo????????
algo-gate-api.c:219: warning: implicit declaration of function ???????register_x17_algo????????
algo-gate-api.c:220: warning: implicit declaration of function ???????register_xevan_algo????????
algo-gate-api.c:221: warning: implicit declaration of function ???????register_yescrypt_algo????????
algo-gate-api.c:222: warning: implicit declaration of function ???????register_yescryptr16_algo????????
algo-gate-api.c:223: warning: implicit declaration of function ???????register_zr5_algo????????
algo-gate-api.c:226: error: #pragma GCC diagnostic not allowed inside functions
make[2]: *** [cpuminer-algo-gate-api.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po
mv -f .deps/cpuminer-util.Tpo .deps/cpuminer-util.Po
mv -f .deps/cpuminer-cpu-miner.Tpo .deps/cpuminer-cpu-miner.Po
make[2]: Leaving directory `/usr/local/src/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cpuminer-opt'
make: *** [all] Error 2
strip: 'cpuminer': No such file

joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
December 11, 2017, 11:22:25 PM
 #2977

Code:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions

Old compiler, edit the file to move those lines (and the third one further below) so they are not
inside the function.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
scryptr
Legendary
*
Offline Offline

Activity: 1583
Merit: 1006



View Profile WWW
December 11, 2017, 11:36:45 PM
 #2978

NEOSCRYPT OPTIMIZATION--

NeoScrypt has become more profitable recently.  I notice that when I launch Neoscrypt algorithm with CPUminer-OPT that it is only optimized with SSE2.  Are there any plans to improve the code with more recent (AVX and later) optimizations?       --scryptr

TIPS:  BTC - 1Fs4uZ6a9ABYBTaHGUfqcwCQmeBRxkKRQT    DASH - XrK81tW31SLsVvZ2WX9VhTjpT6GXJPLdbQ
          ETH - 0x8a42dfAE53612E98daf8614bFA402f3DcD0546Fa    LTC - MKUHfUmRrJUQvELxzajhVaLE5uTPxU2bRK
          SCRYPTR'S NOTEBOOK: https://bitcointalk.org/index.php?topic=5035515.msg46035530#msg46035530  MERIT is appreciated, also.  Thanks!
runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 11, 2017, 11:49:51 PM
 #2979

Code:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions

Old compiler, edit the file to move those lines (and the third one further below) so they are not
inside the function.

Sorry I'm a novice. Which file - and which three lines - and move them where?

Many thanks
runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 12, 2017, 12:59:17 AM
 #2980

Code:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions

Old compiler, edit the file to move those lines (and the third one further below) so they are not
inside the function.

Sorry I'm a novice. Which file - and which three lines - and move them where?

Many thanks

Ok I see 'algo-gate-api.c' is a file and the numbers are line numbers. So what do I do to fix this section?

Code:
// Ignore warnings for not yet defined register fucntions
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wimplicit-function-declaration"

     case ALGO_ARGON2:       register_argon2_algo      ( gate ); break;
     case ALGO_AXIOM:        register_axiom_algo       ( gate ); break;
     case ALGO_BASTION:      register_bastion_algo     ( gate ); break;
     case ALGO_BLAKE:        register_blake_algo       ( gate ); break;
     case ALGO_BLAKECOIN:    register_blakecoin_algo   ( gate ); break;
//     case ALGO_BLAKE2B:      register_blake2b_algo    ( gate ); break;
     case ALGO_BLAKE2S:      register_blake2s_algo     ( gate ); break;
     case ALGO_C11:          register_c11_algo         ( gate ); break;
     case ALGO_CRYPTOLIGHT:  register_cryptolight_algo ( gate ); break;
     case ALGO_CRYPTONIGHT:  register_cryptonight_algo ( gate ); break;
     case ALGO_DECRED:       register_decred_algo      ( gate ); break;
     case ALGO_DEEP:         register_deep_algo        ( gate ); break;
     case ALGO_DMD_GR:       register_dmd_gr_algo      ( gate ); break;
     case ALGO_DROP:         register_drop_algo        ( gate ); break;
     case ALGO_FRESH:        register_fresh_algo       ( gate ); break;
     case ALGO_GROESTL:      register_groestl_algo     ( gate ); break;
     case ALGO_HEAVY:        register_heavy_algo       ( gate ); break;
     case ALGO_HMQ1725:      register_hmq1725_algo     ( gate ); break;
     case ALGO_HODL:         register_hodl_algo        ( gate ); break;
     case ALGO_JHA:          register_jha_algo         ( gate ); break;
     case ALGO_KECCAK:       register_keccak_algo      ( gate ); break;
     case ALGO_KECCAKC:      register_keccakc_algo     ( gate ); break;
     case ALGO_LBRY:         register_lbry_algo        ( gate ); break;
     case ALGO_LUFFA:        register_luffa_algo       ( gate ); break;
     case ALGO_LYRA2RE:      register_lyra2re_algo     ( gate ); break;
     case ALGO_LYRA2REV2:    register_lyra2rev2_algo   ( gate ); break;
     case ALGO_LYRA2Z:       register_lyra2z_algo      ( gate ); break;
     case ALGO_LYRA2Z330:    register_lyra2z330_algo   ( gate ); break;
     case ALGO_M7M:          register_m7m_algo         ( gate ); break;
     case ALGO_MYR_GR:       register_myriad_algo      ( gate ); break;
     case ALGO_NEOSCRYPT:    register_neoscrypt_algo   ( gate ); break;
     case ALGO_NIST5:        register_nist5_algo       ( gate ); break;
     case ALGO_PENTABLAKE:   register_pentablake_algo  ( gate ); break;
     case ALGO_PHI1612:      register_phi1612_algo     ( gate ); break;
     case ALGO_PLUCK:        register_pluck_algo       ( gate ); break;
     case ALGO_POLYTIMOS:    register_polytimos_algo   ( gate ); break;
     case ALGO_QUARK:        register_quark_algo       ( gate ); break;
     case ALGO_QUBIT:        register_qubit_algo       ( gate ); break;
     case ALGO_SCRYPT:       register_scrypt_algo      ( gate ); break;
     case ALGO_SCRYPTJANE:   register_scryptjane_algo  ( gate ); break;
     case ALGO_SHA256D:      register_sha256d_algo     ( gate ); break;
     case ALGO_SHA256T:      register_sha256t_algo     ( gate ); break;
     case ALGO_SHAVITE3:     register_shavite_algo     ( gate ); break;
     case ALGO_SKEIN:        register_skein_algo       ( gate ); break;
     case ALGO_SKEIN2:       register_skein2_algo      ( gate ); break;
     case ALGO_SKUNK:        register_skunk_algo       ( gate ); break;
     case ALGO_TIMETRAVEL:   register_timetravel_algo  ( gate ); break;
     case ALGO_TIMETRAVEL10: register_timetravel10_algo( gate ); break;
     case ALGO_TRIBUS:       register_tribus_algo      ( gate ); break;
     case ALGO_VANILLA:      register_vanilla_algo     ( gate ); break;
     case ALGO_VELTOR:       register_veltor_algo      ( gate ); break;
     case ALGO_WHIRLPOOL:    register_whirlpool_algo   ( gate ); break;
     case ALGO_WHIRLPOOLX:   register_whirlpoolx_algo  ( gate ); break;
     case ALGO_X11:          register_x11_algo         ( gate ); break;
     case ALGO_X11EVO:       register_x11evo_algo      ( gate ); break;
     case ALGO_X11GOST:      register_sib_algo         ( gate ); break;
     case ALGO_X13:          register_x13_algo         ( gate ); break;
     case ALGO_X13SM3:       register_x13sm3_algo      ( gate ); break;
     case ALGO_X14:          register_x14_algo         ( gate ); break;
     case ALGO_X15:          register_x15_algo         ( gate ); break;
     case ALGO_X17:          register_x17_algo         ( gate ); break;
     case ALGO_XEVAN:        register_xevan_algo       ( gate ); break;
     case ALGO_YESCRYPT:     register_yescrypt_algo    ( gate ); break;
     case ALGO_YESCRYPTR16:  register_yescryptr16_algo ( gate ); break;
     case ALGO_ZR5:          register_zr5_algo         ( gate ); break;

// restore warnings
#pragma GCC diagnostic pop
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149] 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 »
  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!