From owner-freebsd-current@FreeBSD.ORG Mon Feb 13 17:10:05 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 011FE106566B; Mon, 13 Feb 2012 17:10:04 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 63AC48FC15; Mon, 13 Feb 2012 17:10:04 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id D1E5440003; Mon, 13 Feb 2012 18:10:01 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id C700440004; Mon, 13 Feb 2012 18:10:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 2D4E140003; Mon, 13 Feb 2012 18:10:00 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id BFCB2119C1B; Mon, 13 Feb 2012 18:09:59 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id ZzF5kpXMHh5B; Mon, 13 Feb 2012 18:09:54 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 68B8C119C17; Mon, 13 Feb 2012 18:09:54 +0100 (CET) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 2CE4612B20D; Mon, 13 Feb 2012 18:09:54 +0100 (CET) Message-ID: <4F3943D6.4020407@daemonic.se> Date: Mon, 13 Feb 2012 18:09:42 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: "Jordan K. Hubbard" References: <96E91DBD-9E30-46EE-9294-BF7BE750AEF9@turbofuzz.com> <4F391725.5020008@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Mon, 13 Feb 2012 17:24:27 +0000 Cc: Dimitry Andric , current@freebsd.org Subject: Re: Does anyone regularly build HEAD with clang? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2012 17:10:05 -0000 On 2012-02-13 17:56, Jordan K. Hubbard wrote: > > On Feb 13, 2012, at 5:59 AM, Dimitry Andric wrote: > >> I build it very regularly, and there are several buildbots that also >> build it continously (though they currently don't spam the mailing >> lists). For me, and the buildbots, head builds just fine with clang, >> though. What was the exact error you got during buildworld? > > For that one, the error was: > > clang -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body -c /usr/src/lib/libc/rpc/clnt_bcast.c -o clnt_bcast.o > In file included from /usr/src/lib/libc/rpc/clnt_bcast.c:61: > In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76: > /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown type name > 'rpcblist' > extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *); > ^ > > Though having made my small patch, I've now moved on to: > > ./contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv - > D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime - > I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DD > ES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gn > u99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-e > quality -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body -c > /usr/src/lib/libc/rpc/clnt_bcast.c -o clnt_bcast.o > /usr/src/lib/libc/rpc/clnt_bcast.c:273:28: error: variable has incomplete type ' > struct r_rpcb_rmtcallargs' > struct r_rpcb_rmtcallargs barg; /* Remote arguments */ > ^ > > During stage 4.2: building libraries. > >> What are your CC, CXX and CPP settings in make.conf? And can you please >> post the file: > > My make.conf is pretty bleeding edge, tailored to seeing how far along FreeBSD is to making the full transition away from gcc and other GPL'd bits. I'll attach it. > >> /usr/obj/usr/src/tmp/usr/include/rpc/rpcb_prot.h > > Also attached. > > > Thanks for the prompt reply! > > - Jordan The ML ate the attachments. Either attach them as text/plain or post them online somewhere. Regards! -- Niclas