From owner-freebsd-toolchain@FreeBSD.ORG Sun May 20 17:45:53 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6A231065675 for ; Sun, 20 May 2012 17:45:53 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F51E8FC17 for ; Sun, 20 May 2012 17:45:53 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 2CD9D40014 for ; Sun, 20 May 2012 19:45:48 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 2221440040; Sun, 20 May 2012 19:45:48 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id CC39440014; Sun, 20 May 2012 19:45:46 +0200 (CEST) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3VwVs61ypsz8ggx; Sun, 20 May 2012 19:45:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id mX4v-gUD1Jaj; Sun, 20 May 2012 19:45:44 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3VwVs41BBTz8ggv; Sun, 20 May 2012 19:45:44 +0200 (CEST) Received: from tifa.daemonic.se (tifa.daemonic.se [10.32.0.6]) by mail.daemonic.se (Postfix) with ESMTPSA id 3VwVs40cH1z9Ctq; Sun, 20 May 2012 19:45:44 +0200 (CEST) Received: from tifa.daemonic.se (localhost [IPv6:::1]) by tifa.daemonic.se (Postfix) with ESMTP id 9983F22AC3; Sun, 20 May 2012 19:45:43 +0200 (CEST) Message-ID: <4FB92DC7.1010408@daemonic.se> Date: Sun, 20 May 2012 19:45:43 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Bruce Cran References: <4FB92B18.7050003@cran.org.uk> In-Reply-To: <4FB92B18.7050003@cran.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-toolchain Subject: Re: WITH_CLANG_IS_CC and unrecognized command line options X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2012 17:45:53 -0000 On 05/20/12 19:34, Bruce Cran wrote: > I've done a fresh install of FreeBSD 9.0, upgraded to 10-CURRENT and > have just tried doing a rebuild with CLANG_IS_CC=yes in src.conf. > However there's an error building ncurses: > > cc: unrecognized option '-Qunused-arguments' > cc: unrecognized option '-Qunused-arguments' > cc1: error: unrecognized command line option "-Wno-empty-body" > cc1: error: unrecognized command line option "-Wno-string-plus-int" > cc1: error: unrecognized command line option "-Wno-tautological-compare" > cc1: error: unrecognized command line option "-Wno-parentheses-equality" > cc1: error: unrecognized command line option "-Wno-empty-body" > cc1: error: unrecognized command line option "-Wno-string-plus-int" > cc1: error: unrecognized command line option "-Wno-tautological-compare" > cc1: error: unrecognized command line option "-Wno-parentheses-equality" > *** [make_hash] Error code 1 > *** [make_keys] Error code 1 > > Is there some configuration I've missed? > With the risk of stating the obvious. Are you sure cc is clang in this context. The line "cc: unrecognized option '-Qunused-arguments'" is quite suspicious. Regards! -- Niclas Zeising