madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 664 forks source link

Issues during build #991

Closed GlenAllan888 closed 2 years ago

GlenAllan888 commented 2 years ago

When Madmax first enabled k33-34 plotting I had no issues with it, now it just crashes my machine once it hits phase 2. this is with the MM version or the one in the Chia plotter.

Errors I get during build: clang: warning: argument unused during compilation: '-fmax-errors=1' [-Wunused-command-line-argument] That one happens a bunch.

chia-plotter/lib/libbech32/libbech32/bech32.cpp:171:22: warning: higher order bits are zeroes after implicit conversion [-Wimplicit-int-conversion] (-((top >> 4) & 1u) & 0x2a1462b3UL)); Happens less, but still a lot.

Others: chia-plotter/lib/libbech32/libbech32/bech32.cpp:124:17: warning: unused function 'mapToCharset' [-Wunused-function] std::string mapToCharset(std::vector<unsigned char> &data) {

chia-plotter/build/_deps/relic-src/src/fp/relic_fp_inv.c:463:15: warning: shift count >= width of type [-Wshift-count-overflow] d0 = delta >> (RLC_DIG - 1);

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(blake2b-compress-avx2.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(blake2b-compress-sse41.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(blake2b-compress-ssse3.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(argon2-fill-block-avx2.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(argon2-fill-block-ssse3.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(chacha20_dolbeau-avx2.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(chacha20_dolbeau-ssse3.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(salsa20_xmm6int-avx2.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libsodium.a(salsa20_xmm6int-sse2.c.o) has no symbols

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../lib/librelic_s.a(relic_dv_mem.c.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../lib/librelic_s.a(relic_dv_mem.c.o) has no symbols

And then It finishes and I can plot k23s no problem, but 33 & 34 crash the machine.

GlenAllan888 commented 2 years ago

Did 18 hours of memory tests and found no errors there either.

madMAx43v3r commented 2 years ago

Is it possible you running out of RAM?

GlenAllan888 commented 2 years ago

No, not even close. I've got 256GB of ECC RAM and I'm only running 1 plot at a time with MM.

GlenAllan888 commented 2 years ago

Turns out it was an issue of air intake being blocked and the machine overheating. So whatever the build errors are they seem to be irrelevant. All appears to be working now.