Aryan1508 / Bit-Genie

UCI chess engine in C++
GNU General Public License v3.0
23 stars 3 forks source link

Fix pthread link issues causing segfault with static builds #197

Closed Aryan1508 closed 3 years ago

Aryan1508 commented 3 years ago

make release which uses the -static flag produces builds which segfault on any stop or quit command.

Occurs due to issues with linking pthread, no error in code. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58909 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52590

Updated makefile and used a workaround for proper linking