mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 13:00:41 +02:00
static-pie is crashing early due to an issue with pthread symbols being exposed as weak. For some reason the weak symbols never get resolved and jump to zero or ELF base. When linking static-pie, force search for the pthread symbols using an undefined glob. With this, static-pie works as long as you link with a new enough version of lld (version 13.0)