From owner-freebsd-stable@FreeBSD.ORG Tue Jun 12 14:42:20 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 534821065672 for ; Tue, 12 Jun 2012 14:42:20 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::2]) by mx1.freebsd.org (Postfix) with ESMTP id BD11F8FC14 for ; Tue, 12 Jun 2012 14:42:19 +0000 (UTC) Received: from web15h.yandex.ru (web15h.yandex.ru [84.201.186.44]) by forward2h.mail.yandex.net (Yandex) with ESMTP id 558A370087F for ; Tue, 12 Jun 2012 18:42:18 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1339512138; bh=sRyZg/dEI98VxTfaYV2gSXD1u15TwTOtZdORz9ENaFk=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=AUlC6WCBZ8yrb3wTXmPZkVLTADaZ6USgAPL2DrzS5FL5BhZcAPV5maZeCy4DkTOhL rK9Z0Cjs+OVcfAga49DfbGbhjyNeBLCIafyiCX3WbO08ywdKiWVGE6aIwoljNhIRjH 30qyYyr4bZtQOafaXOXkdgWTt0I7VUv+uRzqWRtw= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web15h.yandex.ru (Yandex) with ESMTP id 0BBDD5668872; Tue, 12 Jun 2012 18:42:17 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1339512138; bh=sRyZg/dEI98VxTfaYV2gSXD1u15TwTOtZdORz9ENaFk=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=AUlC6WCBZ8yrb3wTXmPZkVLTADaZ6USgAPL2DrzS5FL5BhZcAPV5maZeCy4DkTOhL rK9Z0Cjs+OVcfAga49DfbGbhjyNeBLCIafyiCX3WbO08ywdKiWVGE6aIwoljNhIRjH 30qyYyr4bZtQOafaXOXkdgWTt0I7VUv+uRzqWRtw= Received: from [188.134.22.116] ([188.134.22.116]) by web15h.yandex.ru with HTTP; Tue, 12 Jun 2012 18:42:17 +0400 From: S.N.Grigoriev To: FreeBSD Stable In-Reply-To: <201206121325.q5CDPNnt078479@freefall.freebsd.org> References: <201206121325.q5CDPNnt078479@freefall.freebsd.org> MIME-Version: 1.0 Message-Id: <33681339512137@web15h.yandex.ru> Date: Tue, 12 Jun 2012 18:42:17 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: 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: Tue, 12 Jun 2012 14:42:20 -0000 Hi, list 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' *** [aicasm] Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** [buildkernel] Error code 1 Stop in /usr/src. *** [buildkernel] Error code 1 Stop in /usr/src. Is such a behaviour normal and expected? Thanks, Serguey.