Re: strange segfaults / valgrind errors / invalid free on string ::_Rep::_S_empty_rep_storage

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

 



On Wednesday 01 of August 2012 19:57:25 Jonathan Wakely wrote:
> On 1 August 2012 14:59, PaweÅ Sikora wrote:
> > i have no idea why the string implementation tries to destroy static _S_empty_rep_storage area?
> 
> This usually implies some objects were compiled by GCC configured with
> --enable-fully-dynamic-string and some objects were compiled by a
> different GCC configured without that option.  That option changes the
> ABI, so you can't mix objects with an without it.
> 
> Could that be the cause?

i suppose what is wrong. in one library (libsce_mi.so) i'm using .lds linker script
to export only dedicated api:

{
        global:
                *SceMi*;
        local:
                *;
};

it probably prohibits binding of weak _S_ libstdc++'s symbols and causes my problem.
without this .lds hacking everything works fine.

BR,
Paweł.




[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