Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 17:25:12 +0000 (UTC)
From:      jbeich@freebsd.org (Jan Beich)
To:        gerald@pfeifer.com, riggs@FreeBSD.org
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r431620 - head/audio/musicpd
Message-ID:  <20170126172512.14FC64E32@freefall.freebsd.org>
In-Reply-To: <alpine.LSU.2.20.1701251740510.2449@anthias.pfeifer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerald Pfeifer <gerald@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170126172512.14FC64E32>