From owner-freebsd-current@FreeBSD.ORG Wed Sep 1 08:22:27 2010 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 17C0610656B8 for ; Wed, 1 Sep 2010 08:22:27 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 60C398FC14 for ; Wed, 1 Sep 2010 08:22:25 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA23857 for ; Wed, 01 Sep 2010 11:22:24 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OqiaN-000PBL-Nt for freebsd-current@FreeBSD.org; Wed, 01 Sep 2010 11:22:23 +0300 Message-ID: <4C7E0D3E.2050108@icyb.net.ua> Date: Wed, 01 Sep 2010 11:22:22 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100822 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-current@FreeBSD.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: stable/8 build broken on head without WITH_CTF 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: Wed, 01 Sep 2010 08:22:27 -0000 stable/8 build seems to be broken for me on head without WITH_CTF: ... cc -c -x assembler-with-cpp -DLOCORE -O2 -fno-strict-aliasing -pipe -march=k8 -std=c99 -g -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/devel/svn/base/stable/8/sys -I/usr/devel/svn/base/stable/8/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/devel/svn/base/stable/8/sys/amd64/amd64/locore.S : No such file or directory *** Error code 1 The reason is that kernel Makefile (generated by config I assume) has these in it (just two examples): ... cam.o: $S/cam/cam.c ${NORMAL_C} @${NORMAL_CTFCONVERT} ... locore.o: $S/amd64/amd64/locore.S ${NORMAL_S} @${NORMAL_CTFCONVERT} ... The issue is that NORMAL_CTFCONVERT has an empty value unless WITH_CTF is used, see sys/conf/kern.pre.mk of stable/8. I guess this happens because config is from head, but mk files are from stable/8. If we don't try to support such build configurations, then sorry for the noise. But if this can be made to work without much hassle, then I'd appreciate it. Thanks! -- Andriy Gapon