From owner-freebsd-current@FreeBSD.ORG Mon Dec 19 22:20:43 2011 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 51A031065676 for ; Mon, 19 Dec 2011 22:20:43 +0000 (UTC) (envelope-from vertexSymphony@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 384F98FC14 for ; Mon, 19 Dec 2011 22:20:43 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:date:from:user-agent:mime-version:to:subject:content-type; b=axcoXb97KTY9PhrfxrKMkKok/Es68rWE3+4K0l5JWFB9UJ6TJI7zcme5DQwT/WVQKzZ3Y+xQuZnT +JwBbs8RTu5QLuo6tm7BJCx66wOI/mx5DbpLM9sHCUUTIuOcrs82 Received: from [192.168.0.100] (213-56-16-190.fibertel.com.ar [190.16.56.213]) by mx.zohomail.com with SMTPS id 1324333242566909.7016519470201; Mon, 19 Dec 2011 14:20:42 -0800 (PST) Message-ID: <4EEFB8B6.8010203@zoho.com> Date: Mon, 19 Dec 2011 19:20:38 -0300 From: Alex Kuster User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111112 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Zoho-Virus-Status: 2 Subject: Failure to compile world 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, 19 Dec 2011 22:20:43 -0000 Hi people! I'm writing here because I'm having issues with compiling world from a > Symphony# uname -a > FreeBSD Symphony 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #2: Fri Dec 16 > 18:52:44 ART 2011 vertex@Symphony:/usr/obj/usr/src/sys/GENERIC i386 Machine with latest source from that date. I'm using this git mirror (Sorry guys, if I don't tolerate SVN, the less I'll tolerate CVS) → https://github.com/freebsd/freebsd-head (I've pulled and got this as last commit → https://github.com/freebsd/freebsd-head/commit/f700576aa6240ea7133ce4812aec810266bcbfe7 ) With this /etc/make.conf (I have to clean it up btw) > Symphony# cat /etc/make.conf > ################# > # Make.conf > > WITHOUT_NOUVEAU= > # added by use.perl 2011-11-10 19:36:38 > PERL_VERSION=5.12.4 > > ############## > # Clang for kernel+world > > .if ${.CURDIR:M/usr/src/*} || ${.CURDIR:M/usr/obj/*} || > ${.CURDIR:M/sys/*} > .if !defined(CC) || ${CC} == "cc" > CC=clang > .endif > .if !defined(CXX) || ${CXX} == "c++" > CXX=clang++ > .endif > .if !defined(CPP) || ${CPP} == "cpp" > CPP=clang-cpp > .endif > > # Don't die on warnings > NO_WERROR= > WERROR= > # Don't forget this when using Jails! > NO_FSCHG= > > > .if defined(WITH_FLAGS) > WITH_LIBCPLUSPLUS=YES > .endif > > > .endif > And /usr/obj was properly rm -rf'ed The problem comes with undefined stuff when I'm compiling libc : > > clang -fpic -DPIC -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS > -D__DBINTERFACE_PRIVATE -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 > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body > -c _fcntl.S -o _fcntl.So > clang -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS > -D__DBINTERFACE_PRIVATE -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 > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body > -c _sigwait.S > clang -fpic -DPIC -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS > -D__DBINTERFACE_PRIVATE -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 > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body > -c _sigwait.S -o _sigwait.So > clang -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS > -D__DBINTERFACE_PRIVATE -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 > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body > -c /usr/src/lib/libc/db/btree/bt_close.c -o bt_close.o > In file included from /usr/src/lib/libc/db/btree/bt_close.c:44: > /usr/src/lib/libc/../../include/stdlib.h:79:1: error: unknown type > name '_Noreturn' > _Noreturn void abort(void); > ^ > /usr/src/lib/libc/../../include/stdlib.h:79:11: error: expected > identifier or '(' > _Noreturn void abort(void); > ^ > /usr/src/lib/libc/../../include/stdlib.h:89:1: error: unknown type > name '_Noreturn' > _Noreturn void exit(int); > ^ > /usr/src/lib/libc/../../include/stdlib.h:89:11: error: expected > identifier or '(' > _Noreturn void exit(int); > ^ > /usr/src/lib/libc/../../include/stdlib.h:148:1: error: unknown type > name '_Noreturn' > _Noreturn void _Exit(int); > ^ > /usr/src/lib/libc/../../include/stdlib.h:148:11: error: expected > identifier or '(' > _Noreturn void _Exit(int); > ^ > 6 errors generated. > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > Symphony# Sorry for the long mail, if you need any information, just tell me. Thanks for your time !