Current-Users archive

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

Re: i386 current upgrade and binary compatibility

On Thursday 27 March 2008, Mark Davies wrote:
> On Friday 28 March 2008 03:47:54 Juan RP wrote:
> No, with the gcc upgrade in current a little while back an ABI change
> happened in libstdc++ so currently its those things that _use_ libstdc++
> need to be rebuilt.
> Moving forward we need to either identify what the actual ABI change was
> and reverse it or bump the version number of the library.

OK. I have a new libstdc++ built with -g and all my old binaries.  What can I 
do to help track this down?

Here's a backtrace example from artsd segfaulting:

Program received signal SIGSEGV, Segmentation fault.
0xbb606906 in std::ostream::flush (this=0xbb676620)
    at /usr/src/gnu/dist/gcc4/libstdc++-v3/include/bits/basic_ios.h:308
308           { return _M_streambuf; }
Current language:  auto; currently c++

#0  0xbb606906 in std::ostream::flush (this=0xbb676620)
    at /usr/src/gnu/dist/gcc4/libstdc++-v3/include/bits/basic_ios.h:308
#1  0xbb623b56 in sentry (this=0xbfbfdbeb, __in=@0xbfbfdc58, __noskip=false)
    at /usr/src/gnu/dist/gcc4/libstdc++-v3/include/bits/istream.tcc:58
#2  0xbb642da5 in std::operator>><char, std::char_traits<char>, 
std::allocator<char> > (__in=@0xbfbfdc58, __str=@0xbfbfdee0)
    at /usr/src/gnu/dist/gcc4/libstdc++-v3/src/
#3  0xbb91fe60 in Arts::MCOPConfig::readListEntry ()
   from /usr/pkg/lib/
#4  0xbb917649 in readPath () from /usr/pkg/lib/
#5  0xbb9177c5 in Arts::MCOPUtils::traderPath () 
from /usr/pkg/lib/
#6  0xbb922676 in Arts::TraderHelper::load () from /usr/pkg/lib/
#7  0xbb922730 in Arts::TraderHelper::TraderHelper ()
   from /usr/pkg/lib/
#8  0xbb922778 in Arts::TraderHelper::the () from /usr/pkg/lib/
#9  0xbb9239c8 in Arts::TraderQuery_impl::query ()
   from /usr/pkg/lib/
#10 0x08062d9b in Arts::SimpleSoundServer_impl::SimpleSoundServer_impl ()
#11 0x0805b416 in Arts::SoundServerV2_impl::SoundServerV2_impl ()
#12 0x0805d7b3 in SoundServerV2_impl_Factory::createInstance ()
#13 0xbb90f87d in Arts::ObjectManager::create () 
from /usr/pkg/lib/
#14 0xbbbb8ebc in Arts::SoundServerV2_base::_create ()

If I replace with a backup from before my upgrade, I do not 
see the errors.   I also note that none of the source files in 
src/gnu/dist/gcc4/libstdc++-v3 has changed.


Home | Main Index | Thread Index | Old Index