svn commit: r431620 - head/audio/musicpd

Jan Beich jbeich at freebsd.org
Thu Jan 26 17:25:18 UTC 2017


Gerald Pfeifer <gerald at pfeifer.com> writes:

> On Mon, 16 Jan 2017, Thomas Zander wrote:
>
>>   Fix build on 10.x
>
>> Modified: head/audio/musicpd/Makefile
>> ==============================================================================
>> +.if ${OSVERSION} < 1100000
>> +USE_GCC=	5+
>> +.endif
>
> What was the failure here?  

Whatever it was now the runtime is broken instead. USE_GCC is unsafe to
use with C++ projects that have dependencies linked against libc++.

  $ pkg install musicpd

  $ musicpd
  terminate called after throwing an instance of 'std::runtime_error'
  Abort trap

  $ ldd /usr/local/bin/musicpd | fgrep c++
          libstdc++.so.6 => /usr/local/lib/gcc5/libstdc++.so.6 (0x29e85000)
          libc++.so.1 => /usr/lib/libc++.so.1 (0x2a42d000)


More information about the svn-ports-all mailing list