Re: gcc7 problem: mpd doesn't start
On Mon, Feb 11, 2019 at 02:31:50PM +0100, Thomas Klausner wrote: > On Mon, Feb 11, 2019 at 12:43:16PM +, 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 > > 00076ca1 T > > _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE > > > > I see this as well: > > # nm /usr/lib/libstdc++.so |grep -i > _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE > 00076ca1 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
Re: gcc7 problem: mpd doesn't start
On Mon, Feb 11, 2019 at 12:43:16PM +, 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 > 00076ca1 T _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE > I see this as well: # nm /usr/lib/libstdc++.so |grep -i _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE 00076ca1 T _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE Not sure why mpd is unhappy. Thomas
Re: gcc7 problem: mpd doesn't start
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 00076ca1 T _ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE
Re: gcc7 problem: mpd doesn't start
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 Probably related: dnl Determine whether std::exception_ptr symbols should be exported with dnl the symbol versions from GCC 4.6.0 or GCC 7.1.0, depending on which dnl release first added support for std::exception_ptr. Originally it was dnl only supported for targets with always-lock-free atomics for int, but dnl since GCC 7.1 it is supported for all targets. dnl
gcc7 problem: mpd doesn't start
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