From owner-freebsd-current@FreeBSD.ORG Mon Feb 13 16:56:12 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 97EBD106566B for ; Mon, 13 Feb 2012 16:56:12 +0000 (UTC) (envelope-from jkh@turbofuzz.com) Received: from mail.crittercasa.com (mail.crittercasa.com [208.87.221.231]) by mx1.freebsd.org (Postfix) with ESMTP id 74ECF8FC1C for ; Mon, 13 Feb 2012 16:56:12 +0000 (UTC) Received: from [10.20.30.11] (unknown [69.12.250.131]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.crittercasa.com (Postfix) with ESMTPS id 82AED16487C; Mon, 13 Feb 2012 08:56:11 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1257) From: "Jordan K. Hubbard" In-Reply-To: <4F391725.5020008@FreeBSD.org> Date: Mon, 13 Feb 2012 08:56:10 -0800 Message-Id: References: <96E91DBD-9E30-46EE-9294-BF7BE750AEF9@turbofuzz.com> <4F391725.5020008@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1257) X-Mailman-Approved-At: Mon, 13 Feb 2012 17:01:35 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 16:56:12 -0000 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=3Dgnu99 -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=3Dgn 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