public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Extra import symbol in debug build
@ 2023-02-16 15:23 i.nixman
  2023-02-16 15:29 ` Jonathan Wakely
  0 siblings, 1 reply; 14+ messages in thread
From: i.nixman @ 2023-02-16 15:23 UTC (permalink / raw)
  To: Gcc Help

hello,


I can successfully build the same C++ code using GCC-8.3.1 for Debug (-g 
-O0) and Release (-g -O2) build.
I can successfully debug the Release-executable on a remote host, but I 
can't debug the Debug-executable on a remote host, because the 
Debug-executable imports an extra symbol 
_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv from libstdc++ which doesn't 
exist.

but I don't want to debug libstdc++, so I think I shouldn't install 
additional debug version of libstdc++.

it looks like a bug, or am I wrong?

another my question is, what should I do to get rid of that extra symbol 
in Debug build?




best!

ps
I can't update GCC nor libstdc++.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-02-17 15:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 15:23 Extra import symbol in debug build i.nixman
2023-02-16 15:29 ` Jonathan Wakely
2023-02-16 18:39   ` i.nixman
2023-02-16 20:08     ` Jonathan Wakely
2023-02-17  8:51       ` i.nixman
2023-02-17 10:23         ` Xi Ruoyao
2023-02-17 11:31           ` i.nixman
2023-02-17 11:26         ` Jonathan Wakely
2023-02-17 11:32           ` i.nixman
2023-02-17 12:06             ` Jonathan Wakely
2023-02-17 14:59               ` i.nixman
2023-02-17 15:18                 ` i.nixman
2023-02-17 15:30                 ` Jonathan Wakely
2023-02-17 15:35                   ` i.nixman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).