From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5186 invoked by alias); 30 Jun 2009 09:37:57 -0000 Received: (qmail 5178 invoked by uid 22791); 30 Jun 2009 09:37:57 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Jun 2009 09:37:46 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id D63F31519473 for ; Tue, 30 Jun 2009 10:37:43 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GhtVR+PqAIHs; Tue, 30 Jun 2009 10:37:40 +0100 (BST) From: bugzilla-daemon@ecoscentric.com To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1000801] Synthetic target crash with -fstack-protector X-Bugzilla-Reason: QAcontact X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: HAL X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: john@dallaway.org.uk X-Bugzilla-Status: NEW X-Bugzilla-Priority: normal X-Bugzilla-Assigned-To: bartv@ecoscentric.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 30 Jun 2009 09:37:00 -0000 Message-Id: <20090630093739.D5E72151946B@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2009/txt/msg00239.txt.bz2 http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000801 --- Comment #2 from John Dallaway 2009-06-30 10:37:38 --- The GCC "-fstack-protector" feature became mainstream with GCC 4.1 so will be present in the following Linux distributions and later versions: Fedora 5 (March 2006) openSUSE 10.1 (May 2006) Ubuntu 6.10 (October 2006) I doubt there will be many developers using distros dating back to 2006 on their desktop, but release machines may be using even older distros. Thinking some more about this, adding the "-fno-stack-protector" switch to the default CFLAGS for the linux synthetic target makes good sense from a usability perspective. It really isn't obvious what the problem is when eCos linux synthetic target applications crash due to "-fstack-protector". But an old compiler complaining that it doesn't understand the "-fno-stack-protector" switch provides a big clue and most users will soon determine that they can safely remove the switch with older GCC. We could also mention this issue in the description string for CYGBLD_GLOBAL_CFLAGS in the platform HAL. While I agree that adding the "-fno-stack-protector" switch does not address the underlying issue, on balance I think it makes sense to do this as a temporary measure. It may be quite some time before the the underlying issue is addressed. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.