ValveSoftware / steam-runtime

A runtime environment for Steam applications
Other
1.17k stars 86 forks source link

third-party games are not forced to link gcc runtime libraries statically #645

Open sylware opened 5 months ago

sylware commented 5 months ago

Some game devs using the steam runtime build containers are getting libgcc/c++ ABI issues because the build scripts for game builds are missing the following critical options:

-static-libgcc -static-libstdc++

Thoses will zap libgcc/c++ ABI issues for good. Additionnaly, while we are at it, it may be a good idead to add -ftls-model=global-dynamic that to spare for the system interface shared libs those precious ELF static TLS slots.