make BUILD_DIR=build/native ARCH_FLAGS="-march=native" \ Minke-3AC5D5B1 make[1]: Entering directory '/tmp/tmpjg96q8du/Minke/Minke-tmp' mkdir -p build/native g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/attacks.cpp -o build/native/attacks.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/history.cpp -o build/native/history.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/init.cpp -o build/native/init.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/main.cpp -o build/native/main.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/move.cpp -o build/native/move.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/movegen.cpp -o build/native/movegen.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/movepicker.cpp -o build/native/movepicker.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/nnue.cpp -o build/native/nnue.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/position.cpp -o build/native/position.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/pv_list.cpp -o build/native/pv_list.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/search.cpp -o build/native/search.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/time_manager.cpp -o build/native/time_manager.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/tt.cpp -o build/native/tt.o -MMD -MP g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -c src/uci.cpp -o build/native/uci.o -MMD -MP src/history.cpp: In member function ‘void History::reset()’: src/history.cpp:33:16: warning: ‘void* memset(void*, int, size_t)’ writing to an object of non-trivial type ‘class Move’; use assignment instead [-Wclass-memaccess] 33 | std::memset(m_counter_moves, MOVE_NONE.internal(), sizeof(m_counter_moves)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/history.h:11, from src/history.cpp:8: src/move.h:35:7: note: ‘class Move’ declared here 35 | class Move { | ^~~~ g++ -O3 -funroll-loops -DNDEBUG -DEVALFILE=\"src/minke.bin\" -std=c++20 -Wall -march=native -flto -fuse-ld=lld -pthread -o Minke-3AC5D5B1 build/native/attacks.o build/native/history.o build/native/init.o build/native/main.o build/native/move.o build/native/movegen.o build/native/movepicker.o build/native/nnue.o build/native/position.o build/native/pv_list.o build/native/search.o build/native/time_manager.o build/native/tt.o build/native/uci.o collect2: fatal error: cannot find ‘ld’ compilation terminated. make[1]: *** [makefile:73: Minke-3AC5D5B1] Error 1 make[1]: Leaving directory '/tmp/tmpjg96q8du/Minke/Minke-tmp' make: *** [makefile:53: native] Error 2