From owner-freebsd-current@FreeBSD.ORG Mon Feb 13 13:59:02 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 C41E4106567A for ; Mon, 13 Feb 2012 13:59:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 84A558FC15 for ; Mon, 13 Feb 2012 13:59:02 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:4cc6:9949:a9e5:2d4f] (unknown [IPv6:2001:7b8:3a7:0:4cc6:9949:a9e5:2d4f]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 625D45C59; Mon, 13 Feb 2012 14:59:01 +0100 (CET) Message-ID: <4F391725.5020008@FreeBSD.org> Date: Mon, 13 Feb 2012 14:59:01 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120202 Thunderbird/11.0 MIME-Version: 1.0 To: "Jordan K. Hubbard" References: <96E91DBD-9E30-46EE-9294-BF7BE750AEF9@turbofuzz.com> In-Reply-To: <96E91DBD-9E30-46EE-9294-BF7BE750AEF9@turbofuzz.com> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 13:59:02 -0000 On 2012-02-13 06:42, Jordan K. Hubbard wrote: > I've noticed that it's been broken for about a week as a result of: > > --- /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h.orig 2012-02-12 22:42:29.000000000 -0800 > +++ /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h 2012-02-12 22:41:27.000000000 -0800 > @@ -66,7 +66,7 @@ > const struct netconfig *, const struct netbuf *); > extern bool_t rpcb_unset(const rpcprog_t, const rpcvers_t, > const struct netconfig *); > -extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *); > +extern struct rpcblist *rpcb_getmaps(const struct netconfig *, const char *); > extern enum clnt_stat rpcb_rmtcall(const struct netconfig *, > const char *, const rpcprog_t, > const rpcvers_t, const rpcproc_t, > > Easy fix (I don't have a commit bit anymore or I'd just check it in), but it makes me wonder if anyone is building with clang on a regular basis or they'd have caught this one quickly. 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? In any case, it is likely your problem is caused by my recent fixes to rpcgen, which make it use the C preprocessor built during buildworld, instead of always using /usr/bin/cpp. What are your CC, CXX and CPP settings in make.conf? And can you please post the file: /usr/obj/usr/src/tmp/usr/include/rpc/rpcb_prot.h which should have been generated by rpcgen during build. It is probably missing the line: typedef struct rp__list rpcblist;