Closed lucafavatella closed 6 years ago
It may be for not up-to-date hence buggy compiler on Travis maybe? Relevant lines from Travis log:
Runtime kernel version: 4.9.6-040906-generic
Description: Ubuntu 14.04.5 LTS
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
docker version
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: c6d412e
Built: Mon Mar 27 16:58:30 2017
OS/Arch: linux/amd64
clang version 3.9.0 (tags/RELEASE_390/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
This ticket is specific to mean30 - not lean30 that seems more stable.
By default, mean miner runs needs a CPU that supports AVX2 instructions to run on, and a lot of slightly older processors don't support that instruction set. Building in that environment without the -mavx2 flag, as well as -DXBITS=0 and -DNSIPHASH=1 should allow it to run.
Building in that environment without the -mavx2 flag, as well as -DXBITS=0 and -DNSIPHASH=1 should get allow it to run.
XBITS has nothing to do with it though, and should not be changed.
regards, -John
I agree in theory, but I've found I needed to include the XBITS flag as well or it wouldn't compile. Try without first.
I agree in theory, but I've found I needed to include the XBITS flag as well or it wouldn't compile. Try without first.
XBITS=0 is needed for cuckoo16. cuckoo30 needs a much larger value like the default 7.
-John
Ah, of course, sorry.
Outcome distilled in PR #33 (merged).
As per 6c78cec CI, that runs on virtualized Linux environment operated by Travis, fails:
This may be symptom of mean30 relying on undefined C/C++ behaviour, or similar other real issue.