From owner-freebsd-current@FreeBSD.ORG Fri Jul 23 22:44:44 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 25CC61065672; Fri, 23 Jul 2010 22:44:44 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB508FC14; Fri, 23 Jul 2010 22:44:43 +0000 (UTC) Received: by qwk3 with SMTP id 3so580869qwk.13 for ; Fri, 23 Jul 2010 15:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JrjSnwTUmBMeZViM6s9sxO77uyzvYUVUG+KbuYQ+Fik=; b=g4MBeowz45NuoQ81Y7tmOtovCwAu5iAFSkoWJ/f4iJtvsuwlUG5MaLNXaN0JsmZksq +7pcYYvBT3RKcRzfiCy4ICr25GK4gGoXSXmvIFFR8D4MWRpgPqKGR7GplavPMR5D4YuS 6LxoU+AgTGqJORCdnjGcgcCgsjot/QG87ZaS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=q372Nbp0PtS0leK6fpJ9Jt2ODpp9MaK08lGIrWqNd/SD/mPjw70nxbp9wZDIbgsWMm Z3pAxEeFgCohtw55UF2cGY0XUazfof/9i8WC2HomqnuulJuRq6mtkdbmDnxANzdN5W89 b613c4Zo17e7+tWx5m+F8F+BHWtJqLlydUot4= MIME-Version: 1.0 Received: by 10.224.2.85 with SMTP id 21mr3170749qai.74.1279925082783; Fri, 23 Jul 2010 15:44:42 -0700 (PDT) Received: by 10.229.41.204 with HTTP; Fri, 23 Jul 2010 15:44:42 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Jul 2010 15:44:42 -0700 Message-ID: From: Navdeep Parhar To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Kai Wang Subject: Re: Can't compile today's kernel: sys/cam/cam.c + 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: Fri, 23 Jul 2010 22:44:44 -0000 On Fri, Jul 23, 2010 at 3:40 PM, Doug Barton wrote: > On Fri, 23 Jul 2010, Navdeep Parhar wrote: > >> On Fri, Jul 23, 2010 at 3:22 PM, Doug Barton wrote: >>> >>> I'm getting this with r210435. World built fine: >>> >>> cc -c -x assembler-with-cpp -DLOCORE -O -pipe =A0-std=3Dc99 -g -Wall >>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes >>> -Wmissing-prototypes >>> -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign >>> -fformat-extensions -nostdinc =A0-I. -I/usr/local/src/sys >>> -I/usr/local/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADER= S >>> -include opt_global.h -fno-common -finline-limit=3D8000 --param >>> inline-unit-growth=3D100 --param large-function-growth=3D1000 >>> =A0-mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno= -3dnow >>> -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror >>> /usr/local/src/sys/i386/i386/locore.s >>> cc -c -O -pipe =A0-std=3Dc99 -g -Wall -Wredundant-decls -Wnested-extern= s >>> -Wstrict-prototypes =A0-Wmissing-prototypes -Wpointer-arith -Winline >>> -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc = -I. >>> -I/usr/local/src/sys -I/usr/local/src/sys/contrib/altq -D_KERNEL >>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >>> -finline-limit=3D8000 --param inline-unit-growth=3D100 --param >>> large-function-growth=3D1000 =A0-mno-align-long-strings >>> -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 >>> -mno-sse3 -ffreestanding -fstack-protector -Werror >>> /usr/local/src/sys/cam/cam.c >>> *** Signal 11 >>> >>> Removing makeoptions =A0 =A0 WITH_CTF=3Dyes does the trick. >> >> I ran into this earlier today. =A0ctfconvert would dump core during >> buildkernel. >> Please try r210438 > > I updated to that revision, tried just rebuilding ctfconvert, didn't work= . > Then I tried installing the new ctfconvert, still doesn't work. Do I need= to > go farther up the tree? Hmm. I think a "make toolchain" in /usr/src before you build your kernel should fix it. You probably have an old ctfconvert sitting around. Regards, Navdeep