From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 8 13:08:33 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E37F8106566C; Mon, 8 Sep 2008 13:08:33 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.freebsd.org (Postfix) with ESMTP id 9F6938FC1D; Mon, 8 Sep 2008 13:08:33 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id 1CA1017B56C; Mon, 8 Sep 2008 15:08:32 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp3-g19.free.fr (Postfix) with ESMTP id D4B9E17B594; Mon, 8 Sep 2008 15:08:31 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 24C7F9B497; Mon, 8 Sep 2008 13:01:00 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 0C8004089; Mon, 8 Sep 2008 15:01:00 +0200 (CEST) Date: Mon, 8 Sep 2008 15:01:00 +0200 From: Jeremie Le Hen To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20080908130059.GA55001@obiwan.tataz.chchile.org> References: <20080904124653.GK72107@obiwan.tataz.chchile.org> <20080904135200.GC31289@alpha.local> <86ljy857zz.fsf@ds4.des.no> <20080904141705.GL72107@obiwan.tataz.chchile.org> <86hc8w55mr.fsf@ds4.des.no> <20080904154138.GM72107@obiwan.tataz.chchile.org> <8663pbzp97.fsf@ds4.des.no> <20080905070028.GN72107@obiwan.tataz.chchile.org> <20080905140204.GA6498@edoofus.dev.vega.ru> <86r67uevlr.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86r67uevlr.fsf@ds4.des.no> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Jeremie Le Hen , Ruslan Ermilov , freebsd-hackers@FreeBSD.org Subject: Creation of the NO_SSP build knob X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2008 13:08:34 -0000 Hello Dag-Erling, On Mon, Sep 08, 2008 at 01:16:16PM +0200, Dag-Erling Smørgrav wrote: > Ruslan Ermilov writes: > > There's no possibility to easily make what you want, i.e., disable > > SSP for some parts of the tree. Doing it for particular makefiles > > OTOH should be pretty easy, by starting a makefile with the > > following two lines: > > That's not "what Jeremie wants", that's what the Makefiles already do. > Parts of the tree *can't* be built with SSP enabled, and the Makefiles > set WITHOUT_SSP to disable it. That's what the Makefiles already do indeed. Please excuse me if my english wasn't good enough to express it correctly. You are right to say that parts of the tree can't be build with SSP enabled. IMHO, the problem lies in the way it's enforced: using WITH_SSP shouldn't lead to a build error. The patch I sent along my reply to Ruslan corrects this. By the way, I think WITH_*/WITHOUT_* options should be user-only options and shouldn't be used in the source tree. This would avoid this kind of problem. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >