Glibc 2.41 breaks loading fmodstudio libraries in standalone Linux builds

Thanks for bringing this to our attention.

With the release of glibc 2.41, many old software packages are failing to load. The changes from glibc were to plug a security hole with dynamic libraries that mark themselves as requiring an executable stack. FMOD libraries from 2.02.00 and newer correctly mark themselves as not requiring an executable stack and should be immune from this issue.

For version of FMOD from 2.01.xx and older, they are marked as needing an executable stack. Thankfully the code has never required this functionality, and it was enabled implicitly by our compiler. This means it’s safe to use execstack -c fmod.so and execstack -c fmodstudio.so to clear the executable stack flag from our binaries.

Anyone experiencing this issue going forward, whether that is game developers using FMOD or players unable to play their games that use FMOD, we recommend using execstack -c on the FMOD libraries to resolve this issue.

All currently maintained versions of FMOD should work fine out-of-the-box, if anyone experiences otherwise, please let us know.

1 Like