From owner-freebsd-current@FreeBSD.ORG Tue Jun 28 19:20:02 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C0D71065670; Tue, 28 Jun 2011 19:20:02 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 05DE18FC16; Tue, 28 Jun 2011 19:20:01 +0000 (UTC) Received: by pzk27 with SMTP id 27so477449pzk.13 for ; Tue, 28 Jun 2011 12:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=vlOP6ue5fcpld+fkTAfchDy6JkpUarKeSvAu54IeONg=; b=tIylt2DzcWP80vJztTl9L7kkNDIKJ1L6nZfwLCMbdiaY1LdsDL4LYEJ+xbdmYD3AaS je4MM/GAa7COuGy/fFPPjmYRXlWymuQWYfyw1SPHQq0/g8QvzQMng9ABIqhD5H6ZfxfY /DWtK9mfimsVFmtNvMsPYqgnFidVnKlIzwN/0= Received: by 10.142.150.27 with SMTP id x27mr1688367wfd.72.1309288801459; Tue, 28 Jun 2011 12:20:01 -0700 (PDT) Received: from localhost (tor-exit-router42-readme.formlessnetworking.net [199.48.147.42]) by mx.google.com with ESMTPS id w24sm287993wfd.17.2011.06.28.12.19.57 (version=SSLv3 cipher=OTHER); Tue, 28 Jun 2011 12:19:59 -0700 (PDT) From: Pan Tsu To: Niclas Zeising References: <4E0679AA.20100@shadowsun.net> <4E06863F.7010104@FreeBSD.org> <4E0A2172.7000800@daemonic.se> Date: Tue, 28 Jun 2011 23:19:41 +0400 In-Reply-To: <4E0A2172.7000800@daemonic.se> (Niclas Zeising's message of "Tue, 28 Jun 2011 20:46:10 +0200") Message-ID: <86k4c5epbm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: Gabor PALI , freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: -Qunused-parameter and clang (was Re: GHC Port on 9-CURRENT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 19:20:02 -0000 Niclas Zeising writes: > Sorry for hijacking this thread, and cross posting. > > On 2011-06-26 03:07, Gabor PALI wrote: >> >> >>> With Clang, an error occurs in one of the configure scripts, because >>> Clang warns about unused command-line arguments, and the configure >>> script assumes that to be a compiler error. You can deal with this by >>> adding -Qunused-parameter to CFLAGS. >> >> Thanks for investigating this. >> > > This should probably be made the default, at least for ports when clang > is compiled, since the output generated when not using > -Qunused-parameter confuses configure scripts, and stops at least > FireFox 5 from compiling, that I know of. Do you use ccache? Try without. For example, the combo confuses libtool http://docs.freebsd.org/cgi/mid.cgi?86d3i8b3dc.fsf