From owner-freebsd-stable@FreeBSD.ORG Wed Jun 13 05:38:16 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4443D106564A; Wed, 13 Jun 2012 05:38:16 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [84.201.186.23]) by mx1.freebsd.org (Postfix) with ESMTP id DD4DF8FC12; Wed, 13 Jun 2012 05:38:15 +0000 (UTC) Received: from web23h.yandex.ru (web23h.yandex.ru [84.201.187.157]) by forward5h.mail.yandex.net (Yandex) with ESMTP id C64FDD00559; Wed, 13 Jun 2012 09:36:48 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1339565808; bh=GupE85HPuf5Rq1Sj2LQ8hyFxeRpgQqqM5iGLnDrXR4w=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=XfoZRQ94dfqkA/F1t3CGmJPThn0BofMAG4C52sKIRDki4CQz308XMHVRa7zZW8QTF SW1FA8PdtEE013Bkk+Cm7lsXUFea83FAuqc2qpv1KsI3qULHy9agjFv6zV9VlDN/o2 Y3kj+ErsDTQuOesMovy0Lx60sZQgaMUJkQra33os= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web23h.yandex.ru (Yandex) with ESMTP id 81BF83D3880B; Wed, 13 Jun 2012 09:36:48 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1339565808; bh=GupE85HPuf5Rq1Sj2LQ8hyFxeRpgQqqM5iGLnDrXR4w=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=XfoZRQ94dfqkA/F1t3CGmJPThn0BofMAG4C52sKIRDki4CQz308XMHVRa7zZW8QTF SW1FA8PdtEE013Bkk+Cm7lsXUFea83FAuqc2qpv1KsI3qULHy9agjFv6zV9VlDN/o2 Y3kj+ErsDTQuOesMovy0Lx60sZQgaMUJkQra33os= Received: from office-gw.skytel.spb.ru (office-gw.skytel.spb.ru [193.110.239.168]) by web23h.yandex.ru with HTTP; Wed, 13 Jun 2012 09:36:48 +0400 From: S.N.Grigoriev To: Dimitry Andric In-Reply-To: <4FD7AFA8.8030807@FreeBSD.org> References: <201206121325.q5CDPNnt078479@freefall.freebsd.org> <33681339512137@web15h.yandex.ru> <4FD7AFA8.8030807@FreeBSD.org> MIME-Version: 1.0 Message-Id: <1567991339565808@web23h.yandex.ru> Date: Wed, 13 Jun 2012 09:36:48 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: FreeBSD Stable Subject: Re: CLang and WERROR X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2012 05:38:16 -0000 13.06.2012, 01:07, "Dimitry Andric" : > On 2012-06-12 16:42, S.N.Grigoriev wrote: > >> šI've found out that CLang requires again NO_WERROR= and WERROR= statements in /etc/src.conf to build kernel from fresh sources. Older sources (at least up to June 4) did not require that. The following error occures: >> >> šclang -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99 š-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign š-o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll >> šclang: error: argument unused during compilation: '-nostdinc' > > ... > > Ah, thanks for noticing. šI had forgotten to merge one additional change > that was needed. > > Please update your stable/9 to r236975, which should fix this. It works fine for me. Thanks, Dimitry! Regards, Serguey.