From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20262 invoked by alias); 29 Jun 2009 07:24:14 -0000 Received: (qmail 20252 invoked by uid 22791); 29 Jun 2009 07:24:12 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mtaout02-winn.ispmail.ntl.com (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 07:23:57 +0000 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090629072354.PSCU6611.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Mon, 29 Jun 2009 08:23:54 +0100 Received: from cog.dallaway.org.uk ([86.9.207.237]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090629072354.KBBO22934.aamtaout04-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Mon, 29 Jun 2009 08:23:54 +0100 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id n5T7NQT8031555; Mon, 29 Jun 2009 08:23:51 +0100 Message-ID: <4A486BEE.9070803@dallaway.org.uk> Date: Mon, 29 Jun 2009 07:24:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: Rutger Hofman CC: eCos development list Subject: GCC stack protector with linux synthetic target References: <4A475994.7010203@cs.vu.nl> In-Reply-To: <4A475994.7010203@cs.vu.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2009-06/txt/msg00042.txt.bz2 Hi Rutger Rutger Hofman wrote: > An aside: I run Ubuntu. At first, I couldn't run synth at all. > Applications would crash, and gdb would crash on the application too! > After some list searching, I found out that this probably is > Ubuntu-specific. We need to include -fno-stack-protector in the > GLOBAL_CFLAGS configure flag. Request: cannot this be automated for > synth building? My guess is that it will not harm on systems other than > Ubuntu, and it will save Ubuntu users effort. Do you understand _why_ eCos is crashing with the GCC stack protector enabled? Is it due to an assumption made in eCos regarding the stack frame which could be corrected? We should ensure we understand the nature of the failure before disabling this feature. John Dallaway