From owner-freebsd-current@FreeBSD.ORG Sat Mar 10 09:39:21 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B13381065674 for ; Sat, 10 Mar 2012 09:39:21 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm2.ukr.net (fsm2.ukr.net [195.214.192.121]) by mx1.freebsd.org (Postfix) with ESMTP id 375D78FC14 for ; Sat, 10 Mar 2012 09:39:20 +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=FhMk1wxVCyKCh8KC/7QnYJNH62p5Ne34ThmFq+gHuPE=; b=WPb9ezSJa097AQTSMxRmxpL7CvG+ahOQsj4OK9yZ56MlhLr5WZpqdryh9Ky5OhE91tHWzbyn2wZoxBmTmJ9It/ykdokr0OGXdKvMgDNg+IGFvbENfkmHnZ2RVWpu3PkNJEJlfGneo1MRnbNj24JXqb8px/RITl0x0urSUnskU7A=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm2.ukr.net with esmtpsa ID 1S6Ilb-000800-2g ; Sat, 10 Mar 2012 11:39:11 +0200 Date: Sat, 10 Mar 2012 11:39:10 +0200 From: Ivan Klymenko To: "O. Hartmann" Message-ID: <20120310113910.3f097c13@nonamehost.> In-Reply-To: <4F5A991F.4080502@mail.zedat.fu-berlin.de> References: <4F5A991F.4080502@mail.zedat.fu-berlin.de> 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: 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 09:39:21 -0000 =D0=92 Sat, 10 Mar 2012 00:58:23 +0100 "O. Hartmann" =D0=BF=D0=B8=D1=88=D0=B5= =D1=82: > I might have missed the point but since a week now I can't build > FreeBSD 10.0 CURRENT/amd64 with CLANG anymore. >=20 > Amongst other problems I was told that the code this momnet is > incapable to build properly with CLANG, but then several fixes where > merged. >=20 > Building world ends up everytime at the below shown stage. What's > wrong? If I missed something - please enlighten me. I have a similar problem, but with a different result. I noticed this only with the svn revision r232253 FreeBSD 10.0-CURRENT #0 r232717M 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 .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 .endif .endif # Don't die on warnings NO_WERROR=3D WERROR=3D # Don't forget this when using Jails! NO_FSCHG=3D .if ${CC:T} =3D=3D "clang" CFLAGS+=3D -Qunused-arguments -fcolor-diagnostics .endif ... ... /usr/local/libexec/ccache/world/clang -fpic -DPIC -O2 -mmmx -msse -msse2 -= msse3 -mssse3 -pipe -march=3Dnocona -I/usr/src/lib/libc/include -I/usr/src/= lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS -D__DBINTERFACE_PRI= VATE -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 -DMALLOC_PR= ODUCTION -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/li= bc/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-parenth= eses-equality -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-em= pty-body -c /usr/src/lib/libc/gen/getmntinfo.c -o getmntinfo.So distcc[60773] ERROR: compile /usr/.ccache/tmp/getgrent.tmp.nonamehost.60734= .i on localhost failed clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' In file included from /usr/src/lib/libc/gen/getgrent.c:1: In file included from /usr/src/lib/libc/gen/getgrent.c:39: 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 n= ame 'rpcblist' extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *); ^ 1 error generated. *** [getgrent.o] Error code 1 clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' distcc[60803] ERROR: compile /usr/.ccache/tmp/getgrent.tmp.nonamehost.60756= .i on localhost failed clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' In file included from /usr/src/lib/libc/gen/getgrent.c:1: In file included from /usr/src/lib/libc/gen/getgrent.c:39: 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 n= ame 'rpcblist' extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *); ^ 1 error generated. *** [getgrent.So] Error code 1 clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/i= nclude' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../include' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/a= md64' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/gdtoa' clang: warning: argument unused during compilation: '-I /usr/obj/usr/src/li= b/libc' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= esolv' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/.= ./../contrib/tzcode/stdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/s= tdtime' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/l= ocale' clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/r= pc' 2 errors *** [lib/libc__L] Error code 2 1 error *** [libraries] Error code 2 1 error *** [_libraries] Error code 2 1 error *** [buildworld] Error code 2 Stop in /usr/src.