From owner-freebsd-current@FreeBSD.ORG Mon Oct 24 22:23:41 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 435D9106566C for ; Mon, 24 Oct 2011 22:23:41 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id F2F328FC08 for ; Mon, 24 Oct 2011 22:23:40 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1RISvj-0004iy-Ty>; Tue, 25 Oct 2011 00:23:39 +0200 Received: from e178045140.adsl.alicedsl.de ([85.178.45.140] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1RISvj-0002lF-Qc>; Tue, 25 Oct 2011 00:23:39 +0200 Message-ID: <4EA5E56B.6050809@zedat.fu-berlin.de> Date: Tue, 25 Oct 2011 00:23:39 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111019 Thunderbird/7.0.1 MIME-Version: 1.0 To: Garrett Cooper References: <4EA495BA.7080802@zedat.fu-berlin.de> <87987AB8-BCAA-4CED-8B4F-C6EA5B61C0A5@gmail.com> In-Reply-To: <87987AB8-BCAA-4CED-8B4F-C6EA5B61C0A5@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.45.140 Cc: freebsd-current Subject: Re: "/usr/src/sys/conf/kern.mk", line 10: Malformed conditional (${FREEBSD_GCC}), "/usr/src/sys/conf/kern.mk", line 14: if-less endif 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, 24 Oct 2011 22:23:41 -0000 On 10/24/11 00:38, Garrett Cooper wrote: > On Oct 23, 2011, at 3:31 PM, Hartmann, O. wrote: > >> Kernel building fails since today when kernel gets compiled via CLANG: >> -------------------------------------------------------------- >>>>> stage 2.1: cleaning up the object tree >> -------------------------------------------------------------- >> cd /usr/obj/usr/src/sys/THOR; MAKEOBJDIRPREFIX=/usr/obj >> MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE=native >> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin >> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font >> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac >> _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 10.0-CURRENT >> amd64 1000000" INSTALL="sh /usr/src/tools/install.sh" >> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/ >> usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr >> /sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbi >> n:/bin:/usr/sbin:/usr/bin /usr/obj/usr/src/make.amd64/make >> KERNEL=kernel cleandir >> "/usr/src/sys/conf/kern.mk", line 10: Malformed conditional >> (${FREEBSD_GCC}) >> "/usr/src/sys/conf/kern.mk", line 14: if-less endif >> make: fatal errors encountered -- cannot continue >> *** Error code 1 >> Stop in /usr/src. >> *** Error code 1 >> Stop in /usr/src. > It was noted not too long ago on the commit list as well; r226665 caused the breakage. > -Garrett_______________________________________________ > So, this is by intention? When does the problem disappear, so folks building FreeBSD with CLANG are again capable of building a world and kernel? Regards, Oliver