From owner-freebsd-ports-bugs@freebsd.org Mon Jul 30 21:14:16 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C95291061423 for ; Mon, 30 Jul 2018 21:14:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 669C184EB2 for ; Mon, 30 Jul 2018 21:14:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 280D21061422; Mon, 30 Jul 2018 21:14:16 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1683E1061421 for ; Mon, 30 Jul 2018 21:14:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC62C84EA3 for ; Mon, 30 Jul 2018 21:14:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0683726A3C for ; Mon, 30 Jul 2018 21:14:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6ULEE84069206 for ; Mon, 30 Jul 2018 21:14:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6ULEEEO069199 for ports-bugs@FreeBSD.org; Mon, 30 Jul 2018 21:14:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 229626] Mk/Uses/compiler.mk has spurious complaints for some ports on gcc-based archs Date: Mon, 30 Jul 2018 21:14:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 21:14:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229626 --- Comment #5 from dewayne@heuristicsystems.com.au --- (In reply to Mark Linimon from comment #4) I've had similar problems with compilers.mk as I use gcc8 for some ports (in addition to those earmarked with USE_GCC), clang 6.0.1 and binutils 2.30 with/without ccache. I got to the point of modifying my make.conf to respon= d to various parameters. So I'm interested in your outcome(s). I'm intending to= use lto to benefit from control flow integrity, which is the reason for the workarounds :) In your patch, Mark, you might consider using absolute paths for the base clang, to avoid any ambiguity (unless you manipulate PATH) in=20 +CPP=3D clang-cpp +CC=3D clang +CXX=3D clang++ Also can I suggest that you change your make.conf to something like REALLY_WANT_CLANG_LIST=3D sysutils/osquery .for P in ${REALLY_WANT_CLANG_LIST} .if (!empty(.CURDIR:M/usr/ports/$P) || !empty(.CURDIR:M/var/ports/usr/ports/$P/*) REALLY_REALLY_WANT_CLANG=3D 40 .endif .endfor rather than change the $category/$port/Makefile(s) - its a little less hass= le when you svn update, and there will be conflicts ;) --=20 You are receiving this mail because: You are on the CC list for the bug.=