From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 11 19:30:13 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DABB7602; Tue, 11 Nov 2014 19:30:13 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F4C9CC; Tue, 11 Nov 2014 19:30:12 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id sABJUR5W015809; Tue, 11 Nov 2014 11:30:27 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: Dimitry Andric In-Reply-To: <788FBCF1-92E4-4A47-9A13-CC3B604501E5@FreeBSD.org> References: <20141111032231.GA3751@troutmask.apl.washington.edu> <8a1fd922bfe9a1c28726e82230c2cced@ultimatedns.net> <, > <057607CB-91DF-4C0D-AB26-330D157755F3@gmail.com> <7854f93b2c7110c1deb38790449e5977@ultimatedns.net>, <788FBCF1-92E4-4A47-9A13-CC3B604501E5@FreeBSD.org> From: "Chris H" Subject: Re: Unable to build world w/o clang on 11 Date: Tue, 11 Nov 2014 11:30:27 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit Cc: FreeBSD toolchain , FreeBSD CURRENT , Garrett Cooper X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2014 19:30:14 -0000 On Tue, 11 Nov 2014 20:21:48 +0100 Dimitry Andric wrote > On 11 Nov 2014, at 20:04, Chris H wrote: > ... > > But sadly. blowing away ports, src, and obj. Then checking out > > src r274382, and performing a buildworld. Although I got further. > > it bombed at: > > > > ===> usr.sbin/hyperv (all) > > ===> usr.sbin/hyperv/tools (all) > > cc -O2 -pipe > > -I/usr/src/usr.sbin/hyperv/tools/../../../sys/dev/hyperv/utiliti > > es -std=gnu99 -fstack-protector -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 -Wchar-subscripts -Winline -Wnested-externs > > -Wredundant-decls -Wold > > -style-definition -Wno-pointer-sign -c > > /usr/src/usr.sbin/hyperv/tools/../../.. > > /contrib/hyperv/tools/hv_kvp_daemon.c > > cc1: warnings being treated as errors > > > > /usr/src/usr.sbin/hyperv/tools/../../../contrib/hyperv/tools/hv_kvp_daemon.c: > > In > > function 'kvp_get_ip_info': > > > > /usr/src/usr.sbin/hyperv/tools/../../../contrib/hyperv/tools/hv_kvp_daemon.c: > > 814 : warning: 'ip_buffer' may be used uninitialized in this function > > Yep, this is another false positive from gcc. I've mailed a proposed > workaround to Xin Li, but for now, if you compile world and kernel with > gcc, use NO_WERROR= and WERROR= in your make.conf. Especially the > kernel still needs a bunch of fixes to make it work with gcc again. > > It's a pity the gcc tinderboxes have been taken offline. Maybe this can > be added to the FreeBSD Jenkins instance now? Thank you *very* much, Dimitry. For the informative reply. Yes. I agree, adding a task for Jenkins seems like a *very* good idea. Well, it looks like a real gamble not going with defaults, for now. I guess attempts using gcc as base compiler is off the table, for now. This must really hit some of the other ARCHS pretty hard. I can't imagine trying to develop under these circumstances. Here's hoping for improvements in this area soon! Thanks again, Dimitry. --Chris > > -Dimitry