From owner-freebsd-stable@FreeBSD.ORG Tue May 22 11:06:16 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 4C69D106564A for ; Tue, 22 May 2012 11:06:16 +0000 (UTC) (envelope-from serguey-grigoriev@yandex.ru) Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [84.201.187.147]) by mx1.freebsd.org (Postfix) with ESMTP id AFC0B8FC28 for ; Tue, 22 May 2012 11:06:15 +0000 (UTC) Received: from web24h.yandex.ru (web24h.yandex.ru [84.201.187.158]) by forward2h.mail.yandex.net (Yandex) with ESMTP id AFC95701818 for ; Tue, 22 May 2012 15:04:59 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1337684699; bh=rmsCryShg8F/CG5OK8bcbIqNI9u1V4CI63nofmQS3dI=; h=From:To:MIME-Version:Message-Id:Date:Content-Transfer-Encoding: Content-Type; b=fBqP8XRTUR65LqtQYaRd+b064MTC56nAKsv7WH2OTvuigV5fCT8siRnxTgbHiCBL7 KDrBRnfGf1CWBtxCHREN/Bg8lqG1IP9RAUY6GPoIE5VDCdISh+Wsy0c5qvDK35LB65 KSDHJzJpknjQqSgrcwAudJGkHdElnouEAgK/S9yQ= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web24h.yandex.ru (Yandex) with ESMTP id 7A35E3218001; Tue, 22 May 2012 15:04:59 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1337684699; bh=rmsCryShg8F/CG5OK8bcbIqNI9u1V4CI63nofmQS3dI=; h=From:To:MIME-Version:Message-Id:Date:Content-Transfer-Encoding: Content-Type; b=fBqP8XRTUR65LqtQYaRd+b064MTC56nAKsv7WH2OTvuigV5fCT8siRnxTgbHiCBL7 KDrBRnfGf1CWBtxCHREN/Bg8lqG1IP9RAUY6GPoIE5VDCdISh+Wsy0c5qvDK35LB65 KSDHJzJpknjQqSgrcwAudJGkHdElnouEAgK/S9yQ= Received: from [188.134.22.116] ([188.134.22.116]) by web24h.yandex.ru with HTTP; Tue, 22 May 2012 15:04:59 +0400 From: S.N.Grigoriev To: FreeBSD Stable MIME-Version: 1.0 Message-Id: <619131337684699@web24h.yandex.ru> Date: Tue, 22 May 2012 15:04:59 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: (no subject) 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, 22 May 2012 11:06:16 -0000 Hi list, I tried to build world and kernel with CLang on my 9-stable amd64 system. The following errors occured: mv -f term.h.new term.h cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/curses.tail >> curses.h.new mv -f curses.h.new curses.h cc -o make_keys -O2 -pipe -I. -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/make_keys.c cc -o make_hash -O2 -pipe -I. -I/usr/obj/lib32/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=gnu99 -Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -DMAIN_PROGRAM /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/comp_hash.c 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-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-string-plus-int" cc1: error: unrecognized command line option "-Wno-tautological-compare" cc1: error: unrecognized command line option "-Wno-parentheses-equality" *** Error code 1 *** Error code 1 2 errors *** Error code 2 1 error *** Error code 2 1 error The only statement in my /etc/src.conf is `WITH_CLANG_IS_CC=yes'. Should I use additional configuration options to successfully build the system with CLang? Thanks, Serguey.