Re: std::abs(long)

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

 



On Thu, 2025-03-27 at 06:28 -0400, Tom Kacvinsky via Gcc-help wrote:
> Hi,
> 
> I have a shared library that was built without linking to libstd++.so.6.
> The mangled named
> is _Z3St3absl.  But I can't it resolved in the libraries I link against.
> Where does this symbol originate?
> 
> Thanks,
> 
> Tom


On Linux/ELF systems, C++ mangling is defined by ABI and API conventions

You could use the -C or --demangle option to /usr/bin/nm 

Programmatically you might use (as I do in RefPerSys software below)
abi::__cxa_demangle documented in
https://gcc.gnu.org/onlinedocs/libstdc++/manual/ext_demangling.html

Regards
-- 
Basile STARYNKEVITCH                            <basile@xxxxxxxxxxxxxxxxx>
8 rue de la Faïencerie                       http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                         https://github.com/bstarynk
France                                https://github.com/RefPerSys/RefPerSys




[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