Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22202

Different import list of symbols for Debug and Release build

$
0
0

I can successfully build the same C++ code using GCC-8 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 release version of 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?


Viewing all articles
Browse latest Browse all 22202

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>