From owner-freebsd-current@FreeBSD.ORG Wed Apr 14 09:16:11 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 AC5571065670 for ; Wed, 14 Apr 2010 09:16:11 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 600C68FC14 for ; Wed, 14 Apr 2010 09:16:11 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2D724.dip.t-dialin.net [217.226.215.36]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id AE841844A85; Wed, 14 Apr 2010 10:58:22 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id A81F55076; Wed, 14 Apr 2010 10:58:19 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o3E8wJ08070878; Wed, 14 Apr 2010 10:58:19 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 14 Apr 2010 10:58:19 +0200 Message-ID: <20100414105819.13143mf12ccgjy4g@webmail.leidinger.net> Date: Wed, 14 Apr 2010 10:58:19 +0200 From: Alexander Leidinger To: Navdeep Parhar References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: AE841844A85.73FAB X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.363, required 6, autolearn=disabled, ALL_TRUSTED -1.44, TW_BJ 0.08) X-EBL-MailScanner-From: netchild@freebsd.org X-EBL-MailScanner-Watermark: 1271840305.64098@P6LlLgTYofPqzvUcJqEGTA X-EBL-Spam-Status: No 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 09:16:11 -0000 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 ---snip--- > I built the kernel with a "make -j16 buildkernel" in /usr/src. How do you determine if ctfconvert is run or not? If you expect to see ctfconvert lines in the build output: this will not be the case, no matter if you enable it or not. With the current way of handling it, I'm not aware of a way how to print the command when ctfconvert is really executed (we can maybe add an echo which prints out something, but the question is if this is worth the effort). You can run objdump -f and have a look if the .SUNW_ctf section is there to determine if CTF stuff was inserted or not. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 The Force is what holds everything together. It has its dark side, and it has its light side. It's sort of like cosmic duct tape.