From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 24 16:18:54 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 EABEE106564A for ; Thu, 24 Apr 2008 16:18:54 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id C82B18FC13 for ; Thu, 24 Apr 2008 16:18:54 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id DC4973F62A2 for ; Thu, 24 Apr 2008 18:18:53 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id D37F63F62A0 for ; Thu, 24 Apr 2008 18:18:53 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 72DA19BF12 for ; Thu, 24 Apr 2008 16:16:27 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 6CDA7405B; Thu, 24 Apr 2008 18:16:27 +0200 (CEST) Date: Thu, 24 Apr 2008 18:16:27 +0200 From: Jeremie Le Hen To: freebsd-hackers@FreeBSD.org Message-ID: <20080424161627.GD55613@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Subject: MK_SSP used for both libssp and -fstack-protector 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: Thu, 24 Apr 2008 16:18:55 -0000 Hi all, Another problem I have is that MK_SSP is used for both libssp and -fstack-protector. This could be a problem. I think moving libssp under MK_GNU_SUPPORT would make sense, but this would break backward compatibility WRT RELENG_7. What to do about this? FYI, libssp is not used at all currently since the few symbols required by SSP are provided in libc. The only use I can figure is when you want to link a program without libc while still protecting it with SSP. Thank you for your help. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >