http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56750

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu.org,
                   |                            |bonzini at gnu dot org,
                   |                            |ian at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, if you can link dynamically, you should, if say libstdc++ contains some
security bug and gdb isn't built in the combined tree with gcc, then I'd say it
is highly undesirable to link it statically.
It is not a big deal when some programs built by gcc are linked statically
against libstdc++, if there is a security bug in there, one will have to
rebuild gcc anyway.
So, perhaps don't add -static-libstdc++ -static-libgcc if not building gcc
(gcc/ subdirectory missing, or whatever other check is appropriate)?

Reply via email to