From owner-svn-ports-head@freebsd.org Thu Jan 26 17:25:18 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBCEECC3E06; Thu, 26 Jan 2017 17:25:18 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96687364; Thu, 26 Jan 2017 17:25:18 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 14FC64E32; Thu, 26 Jan 2017 17:25:12 +0000 (UTC) To: gerald@pfeifer.com, riggs@FreeBSD.org Subject: Re: svn commit: r431620 - head/audio/musicpd Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org In-Reply-To: Message-Id: <20170126172512.14FC64E32@freefall.freebsd.org> Date: Thu, 26 Jan 2017 17:25:12 +0000 (UTC) From: jbeich@freebsd.org (Jan Beich) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2017 17:25:18 -0000 Gerald Pfeifer 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)