From owner-freebsd-current@FreeBSD.ORG Wed Apr 14 18:35:51 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 1FBDD1065675; Wed, 14 Apr 2010 18:35:51 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-bw0-f214.google.com (mail-bw0-f214.google.com [209.85.218.214]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF848FC12; Wed, 14 Apr 2010 18:35:49 +0000 (UTC) Received: by bwz6 with SMTP id 6so449481bwz.13 for ; Wed, 14 Apr 2010 11:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=aLXh0mpudmZIYyl6lsH2emhTpl/OwK7rAgwZv42bPMc=; b=Yz8ZgCmDVXf3fKDfR4VVfonVXzBoa/eXh47rKakdtpkx3dqIE2CrNdv38gOpnhoRlr 3++XxoDQAyvtVB0wXCcfVQiazIQH45uiN8pq6f/wgvu9xI83EmrgGn5NB0wsG7E0IPsN uOLGnvDd3jp6oO4VWHOmKH41uMABCfddLsHw8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=Cq8hrs0iAe+L72e4zIzJquhZXOe5Ab2sb9GC2Uhh15elFDXfYWxy1KAJ+jzqnk3aWU u+s8B33lF5xo2l0Ow3vb8pA/S9ZnjrutmrtzXaAldaj0dPC8yxfyn1R9Q7KCC8hoME7s 7gjHkFkj6Ofxq3GETZ5idqIqIwRZSbCK0BRsM= Received: by 10.204.6.81 with SMTP id 17mr9074151bky.62.1271270148957; Wed, 14 Apr 2010 11:35:48 -0700 (PDT) Received: from gypsy (c-67-161-10-127.hsd1.ca.comcast.net [67.161.10.127]) by mx.google.com with ESMTPS id 24sm621715bkr.0.2010.04.14.11.35.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Apr 2010 11:35:47 -0700 (PDT) Date: Wed, 14 Apr 2010 11:35:40 -0700 From: Navdeep Parhar To: Alexander Leidinger Message-ID: <20100414183540.GA2542@gypsy> Mail-Followup-To: Alexander Leidinger , freebsd-current@FreeBSD.org References: <20100414105819.13143mf12ccgjy4g@webmail.leidinger.net> <20100414132342.74616nl7805cljgo@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100414132342.74616nl7805cljgo@webmail.leidinger.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@FreeBSD.org Subject: Re: Does "makeoptions WITH_CTF=yes" actually work? 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, 14 Apr 2010 18:35:51 -0000 On Wed, Apr 14, 2010 at 01:23:42PM +0200, Alexander Leidinger wrote: > Quoting Navdeep Parhar (from Wed, 14 Apr 2010 > 02:31:30 -0700): > > >On Wed, Apr 14, 2010 at 1:58 AM, Alexander Leidinger > > wrote: > >>Quoting Navdeep Parhar (from Wed, 14 Apr 2010 01:33:29 > >>-0700): > >> > >>>I read the UPDATING entry that accompanied r206082 and added WITH_CTF=yes > >>>to > >>>my kernel config, hoping to get CTF information in the kernel and all > >>>modules.  No luck. > >>>It appears that NO_CTF remains set to 1 inspite of the undef NO_CTF in > >>>various .mk files > >>>and ctfconvert never runs. > >> > >>This is the output I get in my kernel build directory: > >>---snip--- > >># make -V NO_CTF -V WITH_CTF > >> > >>yes > > > >Can you also try a "makeoptions WITH_CTF=yes" in your KERNCONF > > The above one is with WITH_CTF in my kernel config, but this was > generated manually with cd /sys/i386/conf; config CONF; cd > ../compile/CONF; make -V... > > >and see if the results are as expected? How was r206082 tested? I'm > >trying to figure out the differences, if any, between your build setup and > >mine. > > I made a buildworld with and without WITH_CTF in src.conf to confirm > that it works (no installkernel, as the world is known to be not > useable with CTF), and I did a lot of tests by hand as above > (config;make). Have you or anyone else ever used buildkernel successfully with "makeoptions WITH_CTF=yes" in the conf file? Something as simple as this does not work for me: - pristine sources in /usr/src, empty /usr/obj, no /etc/make.conf, no /etc/src.conf - add "makeoptions WITH_CTF=yes" in sys/amd64/conf/GENERIC - make buildkernel in /usr/src The result is a kernel without CTF information. The log is at http://www.freebsd.org/~np/WITH_CTF.log Regards, Navdeep