Date: Tue, 22 May 2012 13:27:25 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-stable@freebsd.org Subject: Re: BuildingFreeBSDWithClang (was: Re: (no subject)) Message-ID: <op.wepjfzxs8527sy@ronaldradial.versatec.local> In-Reply-To: <619131337684699@web24h.yandex.ru> References: <619131337684699@web24h.yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 May 2012 13:04:59 +0200, S.N.Grigoriev <serguey-grigoriev@yandex.ru> wrote: > 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. http://wiki.freebsd.org/BuildingFreeBSDWithClang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wepjfzxs8527sy>