From owner-freebsd-current@FreeBSD.ORG Sat Mar 10 13:37:37 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CD04106566B for ; Sat, 10 Mar 2012 13:37:37 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id 4EA338FC08 for ; Sat, 10 Mar 2012 13:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=kb2N0I3Mul/AfAcGLLvGHK+6EdygA5eUPWFj3ew0GUI=; b=QYOMEImjMXRUkfGpUfVskFXHByRhM5ZI6L3NM8WC8kS0zFfAgYKBE1c+pkXAo2JCiptru3dRk+IHcNkHBRdcRFo6XUFrePYo0ggkp3dcMOPhXPeFCrWOCw5m0rkTYgXVEHwBgbAKmRwj9h9E6I2Pp1oa0dyDdjd6ksZWZ2DD74k=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm1.ukr.net with esmtpsa ID 1S6MUD-0009bn-ML ; Sat, 10 Mar 2012 15:37:29 +0200 Date: Sat, 10 Mar 2012 15:37:28 +0200 From: Ivan Klymenko To: Dimitry Andric Message-ID: <20120310153728.4f9d81d8@nonamehost.> In-Reply-To: <4F5B55C5.5010802@FreeBSD.org> References: <4F5A991F.4080502@mail.zedat.fu-berlin.de> <20120310113910.3f097c13@nonamehost.> <4F5B55C5.5010802@FreeBSD.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "O. Hartmann" , Current FreeBSD Subject: Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken 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: Sat, 10 Mar 2012 13:37:37 -0000 =D0=92 Sat, 10 Mar 2012 14:23:17 +0100 Dimitry Andric =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 2012-03-10 10:39, Ivan Klymenko wrote: > ... > > I have a similar problem, but with a different result. > >=20 > > I noticed this only with the svn revision r232253 > >=20 > > FreeBSD 10.0-CURRENT #0 r232717M > >=20 > > make.conf: > > ... > > #For ccache > > .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) > > && !defined(NOCCACHE) > > CC:=3D${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1} > > CXX:=3D${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1} .endif > >=20 > > .if empty(.CURDIR:M/usr/ports/*) > > .if !defined(CC) || ${CC} =3D=3D "cc" > > CC=3D/usr/local/libexec/ccache/clang > > .endif > > .if !defined(CXX) || ${CXX} =3D=3D "c++" > > CXX=3D/usr/local/libexec/ccache/clang++ > > .endif > > .if !defined(CPP) || ${CPP} =3D=3D "cpp" > > CPP=3D/usr/local/libexec/ccache/clang -E >=20 > There is your problem. Don't use "clang -E", use "clang-cpp". > Unfortunately, due to compatibility reasons with gcc, "clang -E" > behaves differently than invoking it as "clang-cpp". Thank you! >=20 >=20 > ... > > 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 *); ^ >=20 > And this is the result of it.