Downloading default network .bin
curl -sOL https://github.com/liamt19/lizard-nets/releases/download//.bin
clang++ -std=c++20 -g -O3 -DNDEBUG -DEVALFILE=\".bin\" -funroll-loops -flto -fuse-ld=lld -static -march=native -DAVX256 -DAVX128 -DUSE_PEXT -Wl,/STACK:12582912 -o Horsie-7BCF037D.exe src/nnue/accumulator.cpp src/bitboard.cpp src/cuckoo.cpp src/Horsie.cpp src/movegen.cpp src/position.cpp src/precomputed.cpp src/search.cpp src/threadpool.cpp src/tt.cpp src/uci.cpp src/wdl.cpp src/zobrist.cpp src/util/dbg_hit.cpp src/nnue/nn.cpp src/datagen/selfplay.cpp src/3rdparty/zstd/zstddeclib.c
clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
ld.lld: error: undefined symbol: pthread_mutex_destroy
>>> referenced by libstdc++.a(eh_alloc.o):(.text$__tcf_0)
>>> referenced by libstdc++.a(locale.o):(.text$__tcf_0)
>>> referenced by libstdc++.a(locale_init.o):(.text$__tcf_0)
>>> referenced 1 more times

ld.lld: error: undefined symbol: pthread_mutex_lock
>>> referenced by libstdc++.a(eh_alloc.o):(.text$_ZN12_GLOBAL__N_14pool4freeEPv.constprop.0)
>>> referenced by libstdc++.a(eh_alloc.o):(.text$_ZN12_GLOBAL__N_14pool8allocateEy.constprop.0)
>>> referenced by libstdc++.a(guard.o):(.text$__cxa_guard_acquire)
>>> referenced 7 more times

ld.lld: error: undefined symbol: pthread_mutex_unlock
>>> referenced by libstdc++.a(eh_alloc.o):(.text$_ZN12_GLOBAL__N_14pool4freeEPv.constprop.0)
>>> referenced by libstdc++.a(eh_alloc.o):(.text$_ZN12_GLOBAL__N_14pool8allocateEy.constprop.0)
>>> referenced by libstdc++.a(guard.o):(.text.unlikely.__cxa_guard_acquire)
>>> referenced 12 more times

ld.lld: error: undefined symbol: pthread_mutex_init
>>> referenced by libstdc++.a(eh_alloc.o):(.text.startup._GLOBAL__sub_I__ZN9__gnu_cxx9__freeresEv)
>>> referenced by libstdc++.a(locale.o):(.text$_ZNSt6locale5_Impl16_M_install_cacheEPKNS_5facetEy)
>>> referenced by libstdc++.a(locale_init.o):(.text$_ZN12_GLOBAL__N_116get_locale_mutexEv)
>>> referenced 2 more times

ld.lld: error: undefined symbol: pthread_once
>>> referenced by libstdc++.a(guard.o):(.text$__cxa_guard_acquire)
>>> referenced by libstdc++.a(guard.o):(.text$__cxa_guard_acquire)
>>> referenced by libstdc++.a(guard.o):(.text$__cxa_guard_acquire)
>>> referenced 12 more times

ld.lld: error: undefined symbol: pthread_cond_wait
>>> referenced by libstdc++.a(guard.o):(.text$__cxa_guard_acquire)
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE)

ld.lld: error: undefined symbol: pthread_cond_broadcast
>>> referenced by libstdc++.a(guard.o):(.text$__cxa_guard_abort)
>>> referenced by libstdc++.a(guard.o):(.text$__cxa_guard_release)
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZNSt12_GLOBAL__N_18notifier3runEPv)
>>> referenced 1 more times

ld.lld: error: undefined symbol: clock_gettime
>>> referenced by libstdc++.a(chrono.o):(.text$_ZNSt6chrono3_V212system_clock3nowEv)
>>> referenced by libstdc++.a(chrono.o):(.text$_ZNSt6chrono3_V212steady_clock3nowEv)

ld.lld: error: undefined symbol: pthread_key_delete
>>> referenced by libstdc++.a(condition_variable.o):(.text$__tcf_0)

ld.lld: error: undefined symbol: pthread_key_create
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZNSt12_GLOBAL__N_18key_initEv)
>>> referenced by R:/winlibs_staging_ucrt64/gcc-14.2.0/build_mingw/x86_64-w64-mingw32/libgcc/./gthr-default.h:721
>>>               libgcc_eh.a(emutls.o):(emutls_init)

ld.lld: error: undefined symbol: pthread_getspecific
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZNSt12_GLOBAL__N_13runEv)
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZSt16__at_thread_exitPSt20__at_thread_exit_elt)
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZSt25notify_all_at_thread_exitRSt18condition_variableSt11unique_lockISt5mutexE)
>>> referenced 1 more times

ld.lld: error: undefined symbol: pthread_setspecific
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZNSt12_GLOBAL__N_13runEv)
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZSt16__at_thread_exitPSt20__at_thread_exit_elt)
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZSt25notify_all_at_thread_exitRSt18condition_variableSt11unique_lockISt5mutexE)
>>> referenced 2 more times

ld.lld: error: undefined symbol: pthread_cond_destroy
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZNSt18condition_variableD2Ev)

ld.lld: error: undefined symbol: pthread_cond_signal
>>> referenced by libstdc++.a(condition_variable.o):(.text$_ZNSt18condition_variable10notify_oneEv)

ld.lld: error: undefined symbol: pthread_join
>>> referenced by libstdc++.a(thread.o):(.text$_ZNSt6thread4joinEv)

ld.lld: error: undefined symbol: pthread_detach
>>> referenced by libstdc++.a(thread.o):(.text$_ZNSt6thread6detachEv)

ld.lld: error: undefined symbol: pthread_create
>>> referenced by libstdc++.a(thread.o):(.text$_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE)
>>> referenced by libstdc++.a(thread.o):(.text$_ZNSt6thread15_M_start_threadESt10shared_ptrINS_10_Impl_baseEEPFvvE)

ld.lld: error: undefined symbol: pthread_num_processors_np
>>> referenced by libstdc++.a(thread.o):(.text$_ZNSt6thread20hardware_concurrencyEv)

ld.lld: error: undefined symbol: nanosleep
>>> referenced by libstdc++.a(thread.o):(.text$_ZNSt11this_thread11__sleep_forENSt6chrono8durationIxSt5ratioILx1ELx1EEEENS1_IxS2_ILx1ELx1000000000EEEE)
>>> referenced by src/uci.cpp
>>>               C:/Users/AnikP/AppData/Local/Temp/uci-e8bf70.o
>>> referenced by src/datagen/selfplay.cpp
>>>               C:/Users/AnikP/AppData/Local/Temp/selfplay-8162da.o
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Horsie-7BCF037D] Error 1