{"action":"created","issue":{"url":"https://api.github.com/repos/ValveSoftware/steam-runtime/issues/13","labels_url":"https://api.github.com/repos/ValveSoftware/steam-runtime/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ValveSoftware/steam-runtime/issues/13/comments","events_url":"https://api.github.com/repos/ValveSoftware/steam-runtime/issues/13/events","html_url":"https://github.com/ValveSoftware/steam-runtime/issues/13","id":32287559,"number":13,"title":"Problem with libstdc++.so.6 bundled with steam-runtime 2014-04-15","user":{"login":"jsa1983","id":5741306,"avatar_url":"https://avatars.githubusercontent.com/u/5741306?v=3","gravatar_id":"","url":"https://api.github.com/users/jsa1983","html_url":"https://github.com/jsa1983","followers_url":"https://api.github.com/users/jsa1983/followers","following_url":"https://api.github.com/users/jsa1983/following{/other_user}","gists_url":"https://api.github.com/users/jsa1983/gists{/gist_id}","starred_url":"https://api.github.com/users/jsa1983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsa1983/subscriptions","organizations_url":"https://api.github.com/users/jsa1983/orgs","repos_url":"https://api.github.com/users/jsa1983/repos","events_url":"https://api.github.com/users/jsa1983/events{/privacy}","received_events_url":"https://api.github.com/users/jsa1983/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":57,"created_at":"2014-04-26T11:47:18Z","updated_at":"2015-10-28T10:16:12Z","closed_at":"2014-09-24T05:37:44Z","body":"After a graphics drivers and llvm update (mesa git 2014.04.26, compiled with llvm 3.5; llvm 3.5 svn 207303) I have experienced the following problem:\r\n\r\nlibGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))\r\nlibGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: unable to load driver: radeonsi_dri.so\r\nlibGL error: driver pointer missing\r\nlibGL error: failed to load driver: radeonsi\r\nlibGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))\r\nlibGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: unable to load driver: swrast_dri.so\r\nlibGL error: failed to load driver: swrast\r\nExecCommandLine: \"/home/jose/.local/share/Steam/ubuntu12_32/steam\"\r\nSystem startup time: 8,15 seconds\r\nlibGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))\r\nlibGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: unable to load driver: radeonsi_dri.so\r\nlibGL error: driver pointer missing\r\nlibGL error: failed to load driver: radeonsi\r\nlibGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))\r\nlibGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)\r\nlibGL error: unable to load driver: swrast_dri.so\r\nlibGL error: failed to load driver: swrast\r\nRunning Steam on ubuntu 14.04 64-bit\r\n\r\nHowever the command strings /home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 | grep GLIB did show version 3.4.18.\r\n\r\nRemoving the libstdc++.so.6 libstdc++.so.6.0.16 files solved the issue and now steam starts with direct GPU acceleration."},"comment":{"url":"https://api.github.com/repos/ValveSoftware/steam-runtime/issues/comments/151791242","html_url":"https://github.com/ValveSoftware/steam-runtime/issues/13#issuecomment-151791242","issue_url":"https://api.github.com/repos/ValveSoftware/steam-runtime/issues/13","id":151791242,"user":{"login":"sylware","id":229668,"avatar_url":"https://avatars.githubusercontent.com/u/229668?v=3","gravatar_id":"","url":"https://api.github.com/users/sylware","html_url":"https://github.com/sylware","followers_url":"https://api.github.com/users/sylware/followers","following_url":"https://api.github.com/users/sylware/following{/other_user}","gists_url":"https://api.github.com/users/sylware/gists{/gist_id}","starred_url":"https://api.github.com/users/sylware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylware/subscriptions","organizations_url":"https://api.github.com/users/sylware/orgs","repos_url":"https://api.github.com/users/sylware/repos","events_url":"https://api.github.com/users/sylware/events{/privacy}","received_events_url":"https://api.github.com/users/sylware/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T10:16:12Z","updated_at":"2015-10-28T10:16:12Z","body":"On Wed, Oct 28, 2015 at 02:59:24AM -0700, Michael Murphy wrote:\n> @etonbears The issue is actually very simple to solve, and much of what you\n> state is a problem isn't actually a problem at all. All we need is for Steam\n> to not try to force mesa to use their copy of GCC libs. Games can use\n> whatever version of GCC libs they want, but never should an application force\n> your graphics driver to use a different lib than the system lib. I suspect\n> that closed source drivers get around this because they are compiled\n> statically, and hence Steam cannot interfere with it's built-in libraries.\n\nValve must modify its runtime: static libgcc and static libstdc++, namely only\n*.a, no *.so for those. Basic ELF support and that's it (care not to depend on\ncrazy complex ELF sections).\n\nOn Wed, Oct 28, 2015 at 02:59:24AM -0700, Michael Murphy wrote:\n> GCC itself isn't even much of a problem because these libraries are very much\n> forward compatible. The only time you need to worry about an ABI bump is\n> between major releases, like from GCC 3 to GCC 4, or GCC4 to GCC5. Valve\n> could even just provide GCC libs as soon as they are released just to keep\n> open source graphics drivers happy.\n\nc++ ABI is hell on earth... nothing new here. gcc 4.7 is the last \"clean\" gcc, the\nothers are to be avoided, or bootstraped with gcc4.7 since it's the last gcc\nC-compilable.\n"}}