From nobody@FreeBSD.org  Sun Jan 29 14:37:00 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F1799106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Jan 2012 14:36:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D4DB18FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Jan 2012 14:36:59 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0TEaxS8055240
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 29 Jan 2012 14:36:59 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q0TEax34055239;
	Sun, 29 Jan 2012 14:36:59 GMT
	(envelope-from nobody)
Message-Id: <201201291436.q0TEax34055239@red.freebsd.org>
Date: Sun, 29 Jan 2012 14:36:59 GMT
From: Alexander Panyushkin <vsityz@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: word don`t build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164602
>Category:       amd64
>Synopsis:       world doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 29 14:40:12 UTC 2012
>Closed-Date:    Mon Apr 23 03:18:38 UTC 2012
>Last-Modified:  Mon Apr 23 03:18:38 UTC 2012
>Originator:     Alexander Panyushkin
>Release:        FreeBSD 9.0-STABLE
>Organization:
Home
>Environment:
FreeBSD 9.0-STABLE #0: Sat Jan 28 14:03:03 EET 2012     root@local:/usr/obj/usr/src/sys/Kernel  amd64
>Description:
After update src files, world don`t build.


#######################################################
/etc/make.conf:

CPUTYPE?=nocona
KERNCONF=Kernel
MAKE_JOBS_NUMBER=2
BATCH_DELETE_OLD_FILES=yes
# ---===== default build settings for base system =====---
.if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*}
CFLAGS+= -D_FORTIFY_SOURCE=2
.if !defined(CPP) || ${CPP} == "cpp"
CPP=clang-cpp
.endif
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
.endif
#
NO_FSCHG=
NO_WERROR=
WERROR=
#
MAKE_SHELL?=sh
#
# optimizations
WITH_SSE=       yes
WITH_3DNOW=     yes
WITH_MMX=       yes
WITH_THREADS=   yes
WITHOUT_PROFILE=yes
WITHOUT_DEBUG=  yes
WITH_SYSTEM_ICU=yes
PRINTERDEVICE=  ps
#######################################################

/etc/src.conf:

WITHOUT_AMD=YES
WITHOUT_ATM=YES
WITHOUT_AUDIT=YES
WITHOUT_AUTHPF=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_BSNMP=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_I4B=YES
WITHOUT_IDEA=YES
WITHOUT_INET6=YES
WITHOUT_INET6_SUPPORT=YES
WITHOUT_IPFILTER=YES
WITHOUT_IPFW=YES
WITHOUT_IPX=YES
WITHOUT_KERBEROS=YES
WITHOUT_LPR=yes
WITHOUT_NCP=yes
WITHOUT_NETGRAPH=YES
WITHOUT_NIS=YES
WITHOUT_PPP=yes
WITHOUT_PROFILE=YES
WITHOUT_RCMDS=YES
WITHOUT_RCS=YES
WITHOUT_WIRELESS=YES
WITHOUT_WPA_SUPPLICANT_EAPOL=YES
#######################################################

time make buildworld

clang++ -O2 -pipe -D_FORTIFY_SOURCE=2 -I/usr/src/usr.bin/clang/clang-tblgen/../../../contrib/llvm/include -I/usr/src/usr.bin/clang/clang-tblgen/../../../contrib/llvm/tools/clang/include -I/usr/src/usr.bin/clang/clang-tblgen/../../../contrib/llvm/tools/clang/utils/TableGen -I. -I/usr/src/usr.bin/clang/clang-tblgen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_HOSTTRIPLE=\"x86_64-unknown-freebsd9.0\" -I/usr/obj/usr/src/tmp/legacy/usr/include  -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o clang-tblgen ClangASTNodesEmitter.o ClangAttrEmitter.o ClangDiagnosticsEmitter.o ClangSACheckersEmitter.o NeonEmitter.o OptParserEmitter.o TableGen.o /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/clang-tblgen/../../../lib/clang/libllvmtablegen/libllvmtablegen.a /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/clang-tblgen/../../../lib/clang/libllvmsupport/libllvmsupport.a -legacy
sh /usr/src/tools/install.sh -s -o root -g wheel -m 555   clang-tblgen /usr/obj/usr/src/tmp/legacy/usr/bin
===> gnu/usr.bin/gperf (obj,depend,all,install)
/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/gperf created for /usr/src/gnu/usr.bin/gperf
===> gnu/usr.bin/gperf/doc (obj)
/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/gperf/doc created for /usr/src/gnu/usr.bin/gperf/doc
make: don't know how to make iterator.cc. Stop
*** Error code 2

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
make buildworld  90.86s user 7.70s system 97% cpu 1:40.87 total
>How-To-Repeat:
update src 
cd /usr/src && make buildworld
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Sun Jan 29 23:43:28 UTC 2012 
State-Changed-Why:  
Hi, 

Could you please try to determine which of the options on your src.conf and 
make.conf are responsible for this breakage? 

It would probably be best to comment everything outr from your make.conf 
and then test the build.  If that still fails, try commenting out lines 
from your src.conf until you figure out which option (or set of options) 
are breakign the build for you. 

I'm afraid that with so many "non-standard" settings in both your make.conf 
and src.conf, you're going to have to try to establish the cause of this 
issue yourself - it is unlikely that anybody else has used the same options 
(and indeed, I've not seen anybody complain about similar breakage, either). 

Thanks, 

Gavin 



Responsible-Changed-From-To: freebsd-amd64->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sun Jan 29 23:43:28 UTC 2012 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164602 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Apr 23 03:18:01 UTC 2012 
State-Changed-Why:  
feedback timeout (nearly 3 months).  Please let us know if this is still 
a problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164602 
>Unformatted:
