Re: Extra import symbol in debug build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Feb 2023 at 15:25, i.nixman--- via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> 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.

It should exist, it has been there since GCC 5.


>
> 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++.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux