https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123480

--- Comment #33 from Icenowy Zheng <uwu at icenowy dot me> ---
(In reply to Theodore.Papadopoulo from comment #30)
> What you do not seem to understand is that in your zlib case you do not
> leverage any C++ code since it is a C library, so the linker remove the use
> of libstc++. In your iostream case, this is not possible, so your problem.

I don't mean zlib uses C++, I mean no symbols are leaked from zlib to the
executable, but many symbols are leaked from libstdc++ to the executable.

I showed the whole dynamic symbol table in the zlib case, because it's short
enough, and nothing from zlib is there;
I only ran a grep | wc -l in the libstdc++ case because, you see, it's very
long.

Should I attach the whole dynamic symbol table of the libstdc++ case?

Reply via email to