On Mon, Feb 11, 2019 at 02:31:50PM +0100, Thomas Klausner wrote:
> On Mon, Feb 11, 2019 at 12:43:16PM +0000, m...@netbsd.org wrote:
> > On Mon, Feb 11, 2019 at 01:30:38PM +0100, Thomas Klausner wrote:
> > > Hi!
> > > 
> > > Since upgrading to a snapshot (8.99.34/amd64) with gcc7,
> > > audio/musicpd's mpd binary (built on 8.99.30 with gcc6) does not start
> > > any longer. It fails with:
> > > 
> > > mpd: Undefined PLT symbol 
> > > "_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE" (symnum = 
> > > 107)
> > > 
> > >  Thomas
> > 
> > I have this symbol, though:
> > > nm /usr/lib/libstdc++.so |grep -i rethrow
> > 0000000000076ca1 T 
> > _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE
> > 
> 
> I see this as well:
> 
> # nm /usr/lib/libstdc++.so |grep -i 
> _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE
> 0000000000076ca1 T _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE
> 
> Not sure why mpd is unhappy.

nm output looks different for mpd:

# nm /usr/pkg/bin/mpd | grep 
_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE
                 U 
_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE@@CXXABI_1.3.3

perhaps the CXXABI suffix is the issue?
 Thomas

Reply via email to