Navistar
-
Posts
4 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Navistar
-
-
4 hours ago, Navistar said:
managed to compile with LDFLAGS="- latomic" flag, but all versions: armv7, armv7+optimize=yes, general-32, general-32+optimize=yes
have approximately the same performance Nodes / second: 15447, but in another article projects, I saw that on Raspberry Pi Z you can pull out such performance: Nodes / second: 40348
do not tell me what needs to be done for this?I tried to build Stockfish 10 version and get Nodes/second: 36216 on Raspberry Pi OS Lite 2021, and Nodes/second: 39308 on Raspberry Pi OS Lite 2018..
why 13 and 14 versions give such slow performance? this is normal?
-
On 7/6/2021 at 10:06 AM, Navistar said:
Good day!
I'm trying to compile stockfish 14 for RaspberryPi Zero, I managed to create an artifact using ARCH=armv7 and the binary file works, but for ARCH=general-32 I can't build with compilation error:
- I created a 4GB swap file
- I removed lines in Makefile with '--m $ (bits)'In one of the projects I read that the general-32 stockfish binary works faster on RPiZ. Can you please tell me where to dig next?
Compilation error:
$ make clean && make build ARCH=general-32 optimize=yes
Default net: nn-3475407dc199.nnue
Already available.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "ru_RU.UTF-8",
LC_MONETARY = "ru_RU.UTF-8",
LC_ADDRESS = "ru_RU.UTF-8",
LC_TELEPHONE = "ru_RU.UTF-8",
LC_NAME = "ru_RU.UTF-8",
LC_MEASUREMENT = "ru_RU.UTF-8",
LC_IDENTIFICATION = "ru_RU.UTF-8",
LC_NUMERIC = "ru_RU.UTF-8",
LC_PAPER = "ru_RU.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").Config:
debug: 'no'
sanitize: 'none'
optimize: 'yes'
arch: 'any'
bits: '32'
kernel: 'Linux'
os: 'GNU/Linux'
prefetch: 'yes'
popcnt: 'no'
pext: 'no'
sse: 'no'
mmx: 'no'
sse2: 'no'
ssse3: 'no'
sse41: 'no'
avx2: 'no'
avx512: 'no'
vnni256: 'no'
vnni512: 'no'
neon: 'no'Flags:
CXX: g++
CXXFLAGS: -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto
LDFLAGS: -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -flto=jobserverTesting config sanity. If this fails, try 'make help' ...
make ARCH=general-32 COMP=gcc all
make[1]: Entering directory '/home/pi/Stockfish-sf_14/src'
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o benchmark.o benchmark.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o bitbase.o bitbase.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o bitboard.o bitboard.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o endgame.o endgame.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o evaluate.o evaluate.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o main.o main.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o material.o material.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o misc.o misc.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o movegen.o movegen.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o movepick.o movepick.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o pawns.o pawns.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o position.o position.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o psqt.o psqt.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o search.o search.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o thread.o thread.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o timeman.o timeman.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o tt.o tt.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o uci.o uci.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o ucioption.o ucioption.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o tune.o tune.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o tbprobe.o syzygy/tbprobe.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o evaluate_nnue.o nnue/evaluate_nnue.cpp
nnue/evaluate_nnue.cpp: In function ‘Stockfish::Value Stockfish::Eval::NNUE::evaluate(const Stockfish::Position&, bool)’:
nnue/evaluate_nnue.cpp:156:80: warning: requested alignment 64 is larger than 8 [-Wattributes]
TransformedFeatureType transformedFeatures[FeatureTransformer::BufferSize];
^
nnue/evaluate_nnue.cpp:157:55: warning: requested alignment 64 is larger than 8 [-Wattributes]
alignas(alignment) char buffer[Network::BufferSize];
^
nnue/evaluate_nnue.cpp: In function ‘Stockfish::Eval::NNUE::NnueEvalTrace Stockfish::Eval::NNUE::trace_evaluate(const Stockfish::Position&)’:
nnue/evaluate_nnue.cpp:205:80: warning: requested alignment 64 is larger than 8 [-Wattributes]
TransformedFeatureType transformedFeatures[FeatureTransformer::BufferSize];
^
nnue/evaluate_nnue.cpp:206:55: warning: requested alignment 64 is larger than 8 [-Wattributes]
alignas(alignment) char buffer[Network::BufferSize];
^
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o half_ka_v2.o nnue/features/half_ka_v2.cpp
g++ -o stockfish benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o material.o misc.o movegen.o movepick.o pawns.o position.o psqt.o search.o thread.o timeman.o tt.o uci.o ucioption.o tune.o tbprobe.o evaluate_nnue.o half_ka_v2.o -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -flto=jobserver
/usr/bin/ld: /tmp/ccJrt67Q.ltrans0.ltrans.o: in function `Stockfish::Value Stockfish::(anonymous namespace)::search<(Stockfish::(anonymous namespace)::NodeType)1>(Stockfish::Position&, Stockfish::Search::Stack*, Stockfish::Value, Stockfish::Value, int, bool) [clone .constprop.36]':
<artificial>:(.text+0x868c): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x8ee8): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x99a8): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x9b2c): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans0.ltrans.o: in function `Stockfish::ThreadPool::start_thinking(Stockfish::Position&, std::unique_ptr<std::deque<Stockfish::StateInfo, std::allocator<Stockfish::StateInfo> >, std::default_delete<std::deque<Stockfish::StateInfo, std::allocator<Stockfish::StateInfo> > > >&, Stockfish::Search::LimitsType const&, bool) [clone .constprop.51]':
<artificial>:(.text+0xa1ec): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xa204): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xa218): undefined reference to `__atomic_store_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans4.ltrans.o: in function `Stockfish::dbg_print()':
<artificial>:(.text+0x4014): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x4028): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x405c): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x4094): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x40cc): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans4.ltrans.o:<artificial>:(.text+0x40e0): more undefined references to `__atomic_load_8' follow
/usr/bin/ld: /tmp/ccJrt67Q.ltrans1.ltrans.o: in function `Stockfish::Value Stockfish::(anonymous namespace)::search<(Stockfish::(anonymous namespace)::NodeType)2>(Stockfish::Position&, Stockfish::Search::Stack*, Stockfish::Value, Stockfish::Value, int, bool) [clone .constprop.33]':
<artificial>:(.text+0x10afc): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: <artificial>:(.text+0x10ba4): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x111f8): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o: in function `Stockfish::UCI::loop(int, char**)':
<artificial>:(.text+0x4a28): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o: in function `Stockfish::MainThread::check_time() [clone .part.82]':
<artificial>:(.text+0x61e8): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x62f4): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o:<artificial>:(.text+0x6f98): more undefined references to `__atomic_load_8' follow
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o: in function `Stockfish::Value Stockfish::(anonymous namespace)::search<(Stockfish::(anonymous namespace)::NodeType)0>(Stockfish::Position&, Stockfish::Search::Stack*, Stockfish::Value, Stockfish::Value, int, bool) [clone .lto_priv.273]':
<artificial>:(.text+0x8c78): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::UCI::pv[abi:cxx11](Stockfish::Position const&, int, Stockfish::Value, Stockfish::Value)':
<artificial>:(.text+0x434): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x4e0): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x52c): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::Position::do_move(Stockfish::Move, Stockfish::StateInfo&, bool)':
<artificial>:(.text+0x3ce0): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::Thread::search()':
<artificial>:(.text+0xd1e4): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xd444): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xe61c): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xe640): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xe724): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xe8ec): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::MainThread::search()':
<artificial>:(.text+0xef90): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xf35c): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xf398): undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:871: stockfish] Error 1
make[1]: Leaving directory '/home/pi/Stockfish-sf_14/src'
make: *** [Makefile:741: build] Error 2managed to compile with LDFLAGS="- latomic" flag, but all versions: armv7, armv7+optimize=yes, general-32, general-32+optimize=yes
have approximately the same performance Nodes / second: 15447, but in another article projects, I saw that on Raspberry Pi Z you can pull out such performance: Nodes / second: 40348
do not tell me what needs to be done for this? -
Good day!
I'm trying to compile stockfish 14 for RaspberryPi Zero, I managed to create an artifact using ARCH=armv7 and the binary file works, but for ARCH=general-32 I can't build with compilation error:
- I created a 4GB swap file
- I removed lines in Makefile with '--m $ (bits)'In one of the projects I read that the general-32 stockfish binary works faster on RPiZ. Can you please tell me where to dig next?
Compilation error:
Spoiler$ make clean && make build ARCH=general-32 optimize=yes
Default net: nn-3475407dc199.nnue
Already available.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "ru_RU.UTF-8",
LC_MONETARY = "ru_RU.UTF-8",
LC_ADDRESS = "ru_RU.UTF-8",
LC_TELEPHONE = "ru_RU.UTF-8",
LC_NAME = "ru_RU.UTF-8",
LC_MEASUREMENT = "ru_RU.UTF-8",
LC_IDENTIFICATION = "ru_RU.UTF-8",
LC_NUMERIC = "ru_RU.UTF-8",
LC_PAPER = "ru_RU.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").Config:
debug: 'no'
sanitize: 'none'
optimize: 'yes'
arch: 'any'
bits: '32'
kernel: 'Linux'
os: 'GNU/Linux'
prefetch: 'yes'
popcnt: 'no'
pext: 'no'
sse: 'no'
mmx: 'no'
sse2: 'no'
ssse3: 'no'
sse41: 'no'
avx2: 'no'
avx512: 'no'
vnni256: 'no'
vnni512: 'no'
neon: 'no'Flags:
CXX: g++
CXXFLAGS: -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto
LDFLAGS: -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -flto=jobserverTesting config sanity. If this fails, try 'make help' ...
make ARCH=general-32 COMP=gcc all
make[1]: Entering directory '/home/pi/Stockfish-sf_14/src'
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o benchmark.o benchmark.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o bitbase.o bitbase.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o bitboard.o bitboard.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o endgame.o endgame.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o evaluate.o evaluate.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o main.o main.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o material.o material.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o misc.o misc.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o movegen.o movegen.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o movepick.o movepick.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o pawns.o pawns.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o position.o position.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o psqt.o psqt.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o search.o search.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o thread.o thread.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o timeman.o timeman.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o tt.o tt.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o uci.o uci.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o ucioption.o ucioption.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o tune.o tune.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o tbprobe.o syzygy/tbprobe.cpp
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o evaluate_nnue.o nnue/evaluate_nnue.cpp
nnue/evaluate_nnue.cpp: In function ‘Stockfish::Value Stockfish::Eval::NNUE::evaluate(const Stockfish::Position&, bool)’:
nnue/evaluate_nnue.cpp:156:80: warning: requested alignment 64 is larger than 8 [-Wattributes]
TransformedFeatureType transformedFeatures[FeatureTransformer::BufferSize];
^
nnue/evaluate_nnue.cpp:157:55: warning: requested alignment 64 is larger than 8 [-Wattributes]
alignas(alignment) char buffer[Network::BufferSize];
^
nnue/evaluate_nnue.cpp: In function ‘Stockfish::Eval::NNUE::NnueEvalTrace Stockfish::Eval::NNUE::trace_evaluate(const Stockfish::Position&)’:
nnue/evaluate_nnue.cpp:205:80: warning: requested alignment 64 is larger than 8 [-Wattributes]
TransformedFeatureType transformedFeatures[FeatureTransformer::BufferSize];
^
nnue/evaluate_nnue.cpp:206:55: warning: requested alignment 64 is larger than 8 [-Wattributes]
alignas(alignment) char buffer[Network::BufferSize];
^
g++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -c -o half_ka_v2.o nnue/features/half_ka_v2.cpp
g++ -o stockfish benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o material.o misc.o movegen.o movepick.o pawns.o position.o psqt.o search.o thread.o timeman.o tt.o uci.o ucioption.o tune.o tbprobe.o evaluate_nnue.o half_ka_v2.o -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DUSE_PTHREADS -DNDEBUG -O3 -flto -flto=jobserver
/usr/bin/ld: /tmp/ccJrt67Q.ltrans0.ltrans.o: in function `Stockfish::Value Stockfish::(anonymous namespace)::search<(Stockfish::(anonymous namespace)::NodeType)1>(Stockfish::Position&, Stockfish::Search::Stack*, Stockfish::Value, Stockfish::Value, int, bool) [clone .constprop.36]':
<artificial>:(.text+0x868c): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x8ee8): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x99a8): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x9b2c): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans0.ltrans.o: in function `Stockfish::ThreadPool::start_thinking(Stockfish::Position&, std::unique_ptr<std::deque<Stockfish::StateInfo, std::allocator<Stockfish::StateInfo> >, std::default_delete<std::deque<Stockfish::StateInfo, std::allocator<Stockfish::StateInfo> > > >&, Stockfish::Search::LimitsType const&, bool) [clone .constprop.51]':
<artificial>:(.text+0xa1ec): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xa204): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xa218): undefined reference to `__atomic_store_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans4.ltrans.o: in function `Stockfish::dbg_print()':
<artificial>:(.text+0x4014): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x4028): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x405c): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x4094): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x40cc): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans4.ltrans.o:<artificial>:(.text+0x40e0): more undefined references to `__atomic_load_8' follow
/usr/bin/ld: /tmp/ccJrt67Q.ltrans1.ltrans.o: in function `Stockfish::Value Stockfish::(anonymous namespace)::search<(Stockfish::(anonymous namespace)::NodeType)2>(Stockfish::Position&, Stockfish::Search::Stack*, Stockfish::Value, Stockfish::Value, int, bool) [clone .constprop.33]':
<artificial>:(.text+0x10afc): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: <artificial>:(.text+0x10ba4): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x111f8): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o: in function `Stockfish::UCI::loop(int, char**)':
<artificial>:(.text+0x4a28): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o: in function `Stockfish::MainThread::check_time() [clone .part.82]':
<artificial>:(.text+0x61e8): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x62f4): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o:<artificial>:(.text+0x6f98): more undefined references to `__atomic_load_8' follow
/usr/bin/ld: /tmp/ccJrt67Q.ltrans2.ltrans.o: in function `Stockfish::Value Stockfish::(anonymous namespace)::search<(Stockfish::(anonymous namespace)::NodeType)0>(Stockfish::Position&, Stockfish::Search::Stack*, Stockfish::Value, Stockfish::Value, int, bool) [clone .lto_priv.273]':
<artificial>:(.text+0x8c78): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::UCI::pv[abi:cxx11](Stockfish::Position const&, int, Stockfish::Value, Stockfish::Value)':
<artificial>:(.text+0x434): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x4e0): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0x52c): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::Position::do_move(Stockfish::Move, Stockfish::StateInfo&, bool)':
<artificial>:(.text+0x3ce0): undefined reference to `__atomic_fetch_add_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::Thread::search()':
<artificial>:(.text+0xd1e4): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xd444): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xe61c): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xe640): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xe724): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xe8ec): undefined reference to `__atomic_load_8'
/usr/bin/ld: /tmp/ccJrt67Q.ltrans3.ltrans.o: in function `Stockfish::MainThread::search()':
<artificial>:(.text+0xef90): undefined reference to `__atomic_load_8'
/usr/bin/ld: <artificial>:(.text+0xf35c): undefined reference to `__atomic_store_8'
/usr/bin/ld: <artificial>:(.text+0xf398): undefined reference to `__atomic_load_8'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:871: stockfish] Error 1
make[1]: Leaving directory '/home/pi/Stockfish-sf_14/src'
make: *** [Makefile:741: build] Error 2
[Info] How to compile the actual 64Bit version of stockfish chess engine
in Off-topic
Posted
built-in option, just using `./stockfish bench`
the results for v10 looked here: https://github.com/slashbyte/ChessComputer/wiki/Software-Overview#stockfish-benchmark
builded v14 with `mbe8` did not become faster =)