protonscr

GCC 5 potential issues

steamopen reviewed
ValveSoftware/steam-for-linux#3825 · opened 2015-04-29 by mdeguzis · updated 2015-10-06 · 4 comments · github
Mmdeguzis 2015-04-29 github

Please see this SteamOS community post as reference.

This sounds like it has the poential to be a big mess for Steam and all the Linux games because of the closed-source nature of Steam and all it's games because it will rely on the Valve and other game developers to decide if and/or when to recompile their games for GCC 5 distros that enable the new C++11 ABI and compile their stack with it. What about games that get abandoned by developers on Steam, which can never hoped to be recompiled to work on a newer distro? :(

Technically speaking, Valve only supports Ubuntu 12.04, 12.10, and SteamOS (Debian 7 Wheezy) with Steam but virtually nobody use those outdated distributions anylonger and the Steam Runtime version of libstdc++ tends to conflict with newer distributions, requiring it to be removed from the runtime.

Ssylware 2015-05-01 github

The libstdc++ soname number will be bumped up probably. Then that would fix c++ ABI breakage conflicts till the steam runtime and game updates their c++.
But that will not solve the breakage due to internal gcc libs like libgcc.

A proper fix is static linking of libstdc++/libgcc and co in valve apps and games (it's 2 options on gcc command line...)

Ccjwijtmans 2015-05-14 github

what? There is C++11 ABI way before GCC 5. I dont get the issue.

Oorigintopleft 2015-10-03 github

@cjwijtmans It wasn't default in GCC < 5.

Also, so much has changed in GCC 5.x that I'd consider the fact that the soname number hasn't been bumped to be a bug in GCC. Even if most distros are still on 4.x, I strongly recommend Valve take steps to ensure Steam works with 5.x now, before it becomes the standard and breaks every binary package that ever existed for Linux.

Ssylware 2015-10-06 github

c++ is insane and a pain: nothing new here.
Valve should let the games package their c++ runtime (static
linking... to avoid conflict) if they use it.

On 10/4/15, lavacano201014 [email protected] wrote:

@cjwijtmans It wasn't default in GCC < 5.

Also, so much has changed in GCC 5.x that I'd consider the fact that the
soname number hasn't been bumped to be a bug in
GCC
. Even if most distros are still
on 4.x, I strongly recommend Valve take steps to ensure Steam works with 5.x
now, before it becomes the standard and breaks every binary package that
ever existed for Linux.


Reply to this email directly or view it on GitHub:
https://github.com/ValveSoftware/steam-for-linux/issues/3825#issuecomment-145287413