From owner-svn-ports-head@freebsd.org Thu Jan 26 20:46:05 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 93042CC3D6B; Thu, 26 Jan 2017 20:46:05 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C3C9883; Thu, 26 Jan 2017 20:46:05 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: by mail-oi0-x242.google.com with SMTP id w144so19235688oiw.1; Thu, 26 Jan 2017 12:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=AjISUeK2+CwvBQN4TaRTt2/RZgyFxZNHJ4kFVum8LrE=; b=VeV+d4tSejuhdcFgmW+fAyf9WzSCu7juyhAPtuLH28yvRWxuRxAgSGN7KEIr2GXOu3 LP+dxaOBN77yKd4zZzmOO6A9lQWI3j4vpJEps/yOB9aOP8o4+AZLdHLuAHPhHhw+vt7w 0fv2gzVzmLYRyBNRtmYY9z/2f9vk0DOlduNztYou8frDQ2Tss8snepbzBiNW1ThSWztp QgphOvMoykiNXguLd4u3S01GLQLzbXNs3HLpwwty0472KieMU/M1QrVi+dTan40IojlA LzUdjN2nRE3saDHgH/F2EYblYYiq7owe6qvLDT7j/TLee4ky6rWr88VqpuwFokjS9fax hltQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=AjISUeK2+CwvBQN4TaRTt2/RZgyFxZNHJ4kFVum8LrE=; b=TyWlxDs9Eir/cF8E3dNZanImRjSy0cz1WCMmiaxLqFc2RsncjP5NpX23/GQv/GGSHu 6EzwpNyQ+wvc4ky/3XHivY/n6t2jp0v2FOK3ISKnKrBw4/jP3fdgTCXaj7oiyYDA6Bsa AjLXik1kDKJNi5iyMrKH9cxkVJXmXmCn5UqKNglfeZy+z5sDSv1j4ffBZ2BiCZkxrsc3 isIv3Rf2c042T+l+4FPy6Ho+aWG36GdLWB8q2HA/Aes7RoDLUWW2YurOsTa+/4hK6rpC li0jnMnvPWDGZpfNCnBRjGMkFtebl+7Iu1mDpv1zd7ong9UttIyHTBCA6B0xIurezAog WpsQ== X-Gm-Message-State: AIkVDXI1Vo25nZNi1vDXPw+Ie1qCsUui9z7bzZQF82l0nwS7xg6Yo9NuDE++jRWraAgVmzZTsw+bY4uLMTdvxQ== X-Received: by 10.202.226.20 with SMTP id z20mr3166110oig.36.1485463564417; Thu, 26 Jan 2017 12:46:04 -0800 (PST) MIME-Version: 1.0 Sender: thomas.e.zander@googlemail.com Received: by 10.202.53.136 with HTTP; Thu, 26 Jan 2017 12:46:03 -0800 (PST) In-Reply-To: <20170126172512.14FC64E32@freefall.freebsd.org> References: <20170126172512.14FC64E32@freefall.freebsd.org> From: Thomas Zander Date: Thu, 26 Jan 2017 21:46:03 +0100 X-Google-Sender-Auth: pNng6Sp5iNxCc3Da_OSQ-QzCsNA Message-ID: Subject: Re: svn commit: r431620 - head/audio/musicpd To: Jan Beich , gerald@pfeifer.com Cc: "ports-committers@FreeBSD.org" , svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset=UTF-8 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 20:46:05 -0000 On 26 January 2017 at 18:25, Jan Beich wrote: > 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? The issue with gcc-4.9 is this section in src/command/CommandError.cxx: ... #if defined(__GLIBCXX__) && __GLIBCXX__ < 20151204 } catch (const std::exception &e) { #else } catch (...) { #endif try { #if defined(__GLIBCXX__) && __GLIBCXX__ < 20151204 /* workaround for g++ 4.x: no overload for rethrow_exception(exception_ptr) */ std::rethrow_if_nested(e); #else std::rethrow_if_nested(ep); #endif ... For gcc-4.9, patching this would be required, because obviously testing for the glibc version doesn't give you the gcc version on FreeBSD. With clang 3.6 on 10.x several additional compilation errors occur. > Whatever it was now the runtime is broken instead. USE_GCC is unsafe to > use with C++ projects that have dependencies linked against libc++. Sadly yes, there is an open PR for that: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216371 I plan to look into it on the weekend. Until then, if you happen to have patches ... :-) Riggs