Date: Mon, 13 Feb 2012 14:59:01 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: "Jordan K. Hubbard" <jkh@turbofuzz.com> Cc: current@freebsd.org Subject: Re: Does anyone regularly build HEAD with clang? Message-ID: <4F391725.5020008@FreeBSD.org> In-Reply-To: <96E91DBD-9E30-46EE-9294-BF7BE750AEF9@turbofuzz.com> References: <96E91DBD-9E30-46EE-9294-BF7BE750AEF9@turbofuzz.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F391725.5020008>