From owner-freebsd-toolchain@freebsd.org Mon Jul 3 02:54:09 2017 Return-Path: Delivered-To: freebsd-toolchain@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 005459DC1D0 for ; Mon, 3 Jul 2017 02:54:09 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-15.reflexion.net [208.70.210.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9D9F27EB72 for ; Mon, 3 Jul 2017 02:54:07 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 6088 invoked from network); 3 Jul 2017 02:55:32 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 3 Jul 2017 02:55:32 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Sun, 02 Jul 2017 22:54:01 -0400 (EDT) Received: (qmail 31557 invoked from network); 3 Jul 2017 02:54:01 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Jul 2017 02:54:01 -0000 Received: from [192.168.1.114] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 6ADB8EC8171; Sun, 2 Jul 2017 19:54:00 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: It looks like USE_GCC=any is broken and leads to system-clang use Date: Sun, 2 Jul 2017 19:53:59 -0700 References: <6FD738D6-F163-4BC5-8E6E-A9B9F35595CD@dsl-only.net> <82A991B0-FD8B-457F-8483-D61AE5E6D6F6@pfeifer.com> To: Gerald Pfeifer , FreeBSD Ports , FreeBSD Toolchain In-Reply-To: Message-Id: <8F50FB7C-498C-453E-AE5A-EADC60758730@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jul 2017 02:54:09 -0000 [It looks like USE_GCC=3Dany is broken and leads to system-clang use.] On 2017-Jun-29, at 5:58 PM, Gerald Pfeifer = wrote: > Am 29. Juni 2017 18:55:59 GMT+08:00 schrieb Mark Millard = : >> I'm not currently set up to run more than head on >> any of amd64, powerpc64, powerpc, aarch64, or armv6/7 >> (which are all I target). And I'm in the middle of >> attempting a fairly large jump to head -r320458 on >> those. >=20 > Oh, then I had misunderstood your previous mail. No worries, I'll = gently proceed then. >=20 > I expect to update gcc5 in the next 24 hours. >=20 >> [In my normal/head environment I'm switching to lang/gcc7-devel >> for gcc (from lang/gcc6 ) but I'm odd that way.] >=20 > The compiler should be fine, it's a number of ports that are not (even = blocking the move from GCC 5 to 6 as default). As part of testing that an environment seemed stable, an environment based on head -r320570 and ports -r444872 with gcc being lang/gcc7-devel that is installed on amd64, I tried: script ~/ports_typescripts/phoronix-try-00-typescript portmaster -DK = benchmarks/phoronix-test-suite in part because it has: USE_GCC=3D any and I'm using: DEFAULT_VERSIONS+=3Dperl5=3D5.24 gcc=3D7 in /etc/make.conf and the gcc that I have installed is lang/gcc7-devel. This should also have been a test of the adjusted-header removal that has been applied to lang/gcc7-devel (but not a old environment's build used under a modern system environment). But the result was a surprise: the log file shows all the build as using cc and in my context cc is: # cc --version FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on = LLVM 4.0.0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin Configure repeatedly shows: checking for gcc... cc . . . checking whether we are using the GNU C compiler... yes In fact "phoronix-test-suite diagnostics" reports: COMPILER =3D Clang 4.0.0 (SVN 297347) + LLVM 4.0.0 So clang is being treated as an example of gcc as far as I can tell. =3D=3D=3D Mark Millard markmi at dsl-only.net