mkdir obj
clang++ -std=c++20 -c -o obj/accumulator.o source/accumulator.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/benchmark.o source/benchmark.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/bitboard.o source/bitboard.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/board.o source/board.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/datagen.o source/datagen.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/evaluate.o source/evaluate.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/main.o source/main.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/movegen.o source/movegen.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/nnue.o source/nnue.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/perft.o source/perft.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/search.o source/search.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/tt.o source/tt.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/uci.o source/uci.cpp -O3 -march=native -flto -static
clang++ -std=c++20 -c -o obj/utils.o source/utils.cpp -O3 -march=native -flto -static
source/nnue.cpp:51:9: warning: Using AVX2 NNUE inference [-W#pragma-messages]
   51 | #pragma message("Using AVX2 NNUE inference")
      |         ^
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: clang++ -std=c++20 -c -o obj/main.o source/main.cpp -O3 -march=native -flto -static
1.	C:/msys64/mingw64/include/c++/15.1.0/chrono:2783:27: current parser token ';'
2.	C:/msys64/mingw64/include/c++/15.1.0/chrono:63:1: parsing namespace 'std'
3.	C:/msys64/mingw64/include/c++/15.1.0/chrono:80:3: parsing namespace 'std::chrono'
4.	C:/msys64/mingw64/include/c++/15.1.0/chrono:2741:5: parsing struct/union/class body 'std::chrono::tzdb_list'
5.	C:/msys64/mingw64/include/c++/15.1.0/chrono:2756:7: parsing struct/union/class body 'std::chrono::tzdb_list::const_iterator'
6.	C:/msys64/mingw64/include/c++/15.1.0/bits/shared_ptr.h:175:11: instantiating class definition 'std::shared_ptr<std::chrono::tzdb_list::_Node>'
Exception Code: 0xC0000005
1 warning generated.
 #0 0x00007ffb10f4aa54 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1a8aa54)
 #1 0x00007ffb10f4b6bc (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1a8b6bc)
 #2 0x00007ffb10f46352 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1a86352)
 #3 0x00007ffb10fb8ea3 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1af8ea3)
 #4 0x00007ffb10f0bbbd (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1a4bbbd)
 #5 0x00007ffb101b2cfe (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcf2cfe)
 #6 0x00007ffb101b21dd (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcf21dd)
 #7 0x00007ffb10180637 (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcc0637)
 #8 0x00007ffb10191ccb (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcd1ccb)
 #9 0x00007ffb10180b85 (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcc0b85)
#10 0x00007ffb101803b2 (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcc03b2)
#11 0x00007ffb0fa23615 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x563615)
#12 0x00007ffb101b2529 (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcf2529)
#13 0x00007ffb101b21dd (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcf21dd)
#14 0x00007ffb10180637 (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcc0637)
#15 0x00007ffb10191ccb (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcd1ccb)
#16 0x00007ffb10180b85 (C:\msys64\mingw64\bin\libclang-cpp.dll+0xcc0b85)
#17 0x00007ffb10f50c84 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1a90c84)
#18 0x00007ffb10de68fc (C:\msys64\mingw64\bin\libclang-cpp.dll+0x19268fc)
#19 0x00007ffb10de7078 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1927078)
#20 0x00007ffb10ded965 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x192d965)
#21 0x00007ffb10de60b1 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x19260b1)
#22 0x00007ffb10ed6e1d (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1a16e1d)
#23 0x00007ffb1104b8d2 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1b8b8d2)
#24 0x00007ffb0fc19512 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x759512)
#25 0x00007ffb10dc42c1 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x19042c1)
#26 0x00007ffb10fe3981 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1b23981)
#27 0x00007ffb10f913f6 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1ad13f6)
#28 0x00007ffb10f13e2c (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1a53e2c)
#29 0x00007ffb10eb74e9 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x19f74e9)
#30 0x00007ffb10ea1cfa (C:\msys64\mingw64\bin\libclang-cpp.dll+0x19e1cfa)
#31 0x00007ffb10f9416a (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1ad416a)
#32 0x00007ffb11284d8f (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1dc4d8f)
#33 0x00007ffb112b1b01 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1df1b01)
#34 0x00007ffb11272865 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1db2865)
#35 0x00007ffb11211717 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d51717)
#36 0x00007ffb1125fbab (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d9fbab)
#37 0x00007ffb11283e44 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1dc3e44)
#38 0x00007ffb112b1b01 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1df1b01)
#39 0x00007ffb11272865 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1db2865)
#40 0x00007ffb11211717 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d51717)
#41 0x00007ffb1125fbab (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d9fbab)
#42 0x00007ffb11286468 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1dc6468)
#43 0x00007ffb112a53d0 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1de53d0)
#44 0x00007ffb11249ef2 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d89ef2)
#45 0x00007ffb11212e5b (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d52e5b)
#46 0x00007ffb111eeb00 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d2eb00)
#47 0x00007ffb111f3ead (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d33ead)
#48 0x00007ffb112496ff (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d896ff)
#49 0x00007ffb11212e5b (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d52e5b)
#50 0x00007ffb111eeb00 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d2eb00)
#51 0x00007ffb111f3ead (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d33ead)
#52 0x00007ffb112496ff (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d896ff)
#53 0x00007ffb111ff057 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1d3f057)
#54 0x00007ffb118afc0e (C:\msys64\mingw64\bin\libclang-cpp.dll+0x23efc0e)
#55 0x00007ffb103ec3ef (C:\msys64\mingw64\bin\libclang-cpp.dll+0xf2c3ef)
#56 0x00007ffb10580064 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x10c0064)
#57 0x00007ffb10e0499e (C:\msys64\mingw64\bin\libclang-cpp.dll+0x194499e)
#58 0x00007ff6b93ee6b3 (C:\msys64\mingw64\bin\clang++.exe+0xe6b3)
#59 0x00007ff6b93eea37 (C:\msys64\mingw64\bin\clang++.exe+0xea37)
#60 0x00007ffb0fc1a33d (C:\msys64\mingw64\bin\libclang-cpp.dll+0x75a33d)
#61 0x00007ffafea66056 (C:\msys64\mingw64\bin\libLLVM-20.dll+0x2326056)
#62 0x00007ffb11d0db52 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x284db52)
#63 0x00007ffb11d4f0c4 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x288f0c4)
#64 0x00007ffb11d4eb8c (C:\msys64\mingw64\bin\libclang-cpp.dll+0x288eb8c)
#65 0x00007ffb1134f999 (C:\msys64\mingw64\bin\libclang-cpp.dll+0x1e8f999)
#66 0x00007ff6b93ea78c (C:\msys64\mingw64\bin\clang++.exe+0xa78c)
#67 0x00007ff6b93f3f6f (C:\msys64\mingw64\bin\clang++.exe+0x13f6f)
#68 0x00007ff6b93e1319 (C:\msys64\mingw64\bin\clang++.exe+0x1319)
#69 0x00007ff6b93e1426 (C:\msys64\mingw64\bin\clang++.exe+0x1426)
#70 0x00007ffb8cc6e8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
#71 0x00007ffb8dcdc5dc (C:\WINDOWS\SYSTEM32\ntdll.dll+0x9c5dc)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 20.1.3
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/msys64/mingw64/bin
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:/Users/rektd/AppData/Local/Temp/main-9e06e2.cpp
clang++: note: diagnostic msg: C:/Users/rektd/AppData/Local/Temp/main-9e06e2.sh
clang++: note: diagnostic msg: 

********************
make: *** [Makefile:33: obj/main.o] Error 1
make: *** Waiting for unfinished jobs....