Re: Extra import symbol in debug build

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

 



On 2023-02-17 14:59, i.nixman--- via Gcc-help wrote:
On 2023-02-17 12:06, Jonathan Wakely wrote:


That suggests either you built it wrong, or that library is from an older
GCC, not the one you're compiling with.

thank you Jonathan!

will check this now.


I have one more question.

just now I rebuild the executable using `-static-libstdc++`, and I can
confirm I can see that option in the linker cmdline, but the
executable still depends on libstdc++.so.
how can this be?

and yes, now it looks like WEAK symbol:

3515: 0000000000d80940 8 FUNC WEAK DEFAULT 13 _ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv 200740: 0000000000d80940 8 FUNC WEAK DEFAULT 13 _ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv




[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