I took another look at the Tt.cpp and memory.cpp files. I didn't notice before that there was a freeAligned routine at the bottom of memory.cpp. In Tt.cpp, in line 14, only ::free(memory) was being called. I replaced it with ::freeAligned(memory) and now everything is working. I made both g++ and clang++ compiles and both are working fine.
taychoe wrote: ↑Sun Oct 12, 2025 5:54 pm
I took another look at the Tt.cpp and memory.cpp files. I didn't notice before that there was a freeAligned routine at the bottom of memory.cpp. In Tt.cpp, in line 14, only ::free(memory) was being called. I replaced it with ::freeAligned(memory) and now everything is working. I made both g++ and clang++ compiles and both are working fine.
Serious bug. Thank you very much. A good example to not use own functions in global namespace.
I hope this release fixes all platform compatibility issues.
I added code that should improve performance on ARM64 platform (+25% NPS or more). But cannot test it myself.
I hope this release fixes all platform compatibility issues.
I added code that should improve performance on ARM64 platform (+25% NPS or more). But cannot test it myself.
Hi Aleks,
I'm still unsuccessful with compiling. This is what I get running the makefile:
clang++: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
C:/msys64/mingw64/bin/ld: C:/msys64/mingw64/bin/../lib/LLVMgold.dll: error loading plugin:
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:124: build/petrel] Error 1
I hope this release fixes all platform compatibility issues.
I added code that should improve performance on ARM64 platform (+25% NPS or more). But cannot test it myself.
Hi Aleks,
I'm still unsuccessful with compiling. This is what I get running the makefile:
clang++: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
C:/msys64/mingw64/bin/ld: C:/msys64/mingw64/bin/../lib/LLVMgold.dll: error loading plugin:
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:124: build/petrel] Error 1
Compiles fine for me using msys2 clang+ but I needed to comment out this linker switch in makefile (put # in front of switch) so >
Jim Ablett wrote: ↑Mon Oct 13, 2025 6:49 pmCompiles fine for me using msys2 clang+ but I needed to comment out this linker switch in makefile (put # in front of switch) so >
I have built with my project's Makefile with latest MINGW64 with g++ but it is known to make inferior performance comparing to clang++.
My Windows clang++ does not find <algorithm> and probably every other C++20 header so I did not succeed to build with it. -Wl,--no-as-needed was neccesary 15 years ago for g++. Did not change this line from these times as it never create any warnings.
And I have forgotten how I hated Windows for a programmer.