From owner-freebsd-arch@FreeBSD.ORG Wed Mar 24 14:42:25 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B3E1065670; Wed, 24 Mar 2010 14:42:25 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 071AD8FC19; Wed, 24 Mar 2010 14:42:24 +0000 (UTC) Received: from outgoing.leidinger.net (pD954FFF0.dip.t-dialin.net [217.84.255.240]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id EA3C2844410; Wed, 24 Mar 2010 15:42:17 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id EBCC05368; Wed, 24 Mar 2010 15:42:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1269441735; bh=FXGLtGkmQm3NSAk/1rg8ZQyDHRrfr/Iz7TI5o8tZPYg=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=AAzjJ2LKXKJCOHgOE9kP8lZtOPiipVKsrcbPr5sp/WCDT3Mtx6KvQqmsWc7YftAAB 9SR5flVq30y/qndVLanPKUkzvCFXZIGAb3/xVo0zaDFsNbvvzokiolhogL6FACasCT 3vgkC/LqUYJI5hffGLVtcu/xHluQx5r/lh8RYsXuAuW6IXqMgBAKgXXg3dNDh2cGic GC8WTbBJfKOx+SK5Jt0ZkG2KvNiOtknpv6PKqFtyCceQuUzEgCrlXxRVmjfMRn3oxM ZpyCOOmJyI2j1FNYYnvmwOkMpPtGq1hYlVdgwRGZNphxKJ9o4nOINEq0eF27SkkG11 jyNmaHb0Fh4wg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o2OEgEbB020460; Wed, 24 Mar 2010 15:42:14 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 24 Mar 2010 15:42:14 +0100 Message-ID: <20100324154214.16865r6wk0r22rcw@webmail.leidinger.net> Date: Wed, 24 Mar 2010 15:42:14 +0100 From: Alexander Leidinger To: John Baldwin References: <20100322.125937.278730673160410010.imp@bsdimp.com> <201003231025.55404.jhb@freebsd.org> <20100324145941.181387uohp3zdl1o@webmail.leidinger.net> <201003241005.55239.jhb@freebsd.org> In-Reply-To: <201003241005.55239.jhb@freebsd.org> 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: EA3C2844410.11495 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1270046539.53453@biznikKceG804K8s2d5y1w X-EBL-Spam-Status: No Cc: rwatson@freebsd.org, freebsd-arch@freebsd.org Subject: Re: CTF patch for testing/review X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 14:42:25 -0000 Quoting John Baldwin (from Wed, 24 Mar 2010 10:05:55 -0400): > On Wednesday 24 March 2010 9:59:41 am Alexander Leidinger wrote: >> Currently I have the problem that WITH_CTF is not picked up by kmod.mk >> if "makeoptions WITH_CTF=yes" is used in the kernel config. This means >> that all makeoptions do not propagate to module builds. >> >> Any ideas? > > Hmmmm. That's odd because 'DEBUG=-g' does work. Ah, I think you should > patch kern.post.mk to propogate WITH_CTF to modules. This is how it works > for DEBUG now: > > .if defined(DEBUG) > MKMODULESENV+= DEBUG_FLAGS="${DEBUG}" > .endif Do we want to be able to override WITH_CTF in modules (-> kern.pre.mk instead of kernl.post.mk)? While I'm here, do we want to have CONF_CFLAGS used in modules too? I would expect that they are used there (I use it to use -fno-builtin for my kernel build) and would put it into kern.post.mk. Bye, Alexander. -- BOFH excuse #258: That's easy to fix, but I can't be bothered http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137