From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6853 invoked by alias); 1 Dec 2008 10:14:41 -0000 Received: (qmail 6492 invoked by uid 48); 1 Dec 2008 10:13:12 -0000 Date: Mon, 01 Dec 2008 10:14:00 -0000 Message-ID: <20081201101312.6491.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/38274] why the option "-fstack-protector-all" doesn't works? In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zuogang at huawei dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-12/txt/msg00029.txt.bz2 ------- Comment #2 from zuogang at huawei dot com 2008-12-01 10:13 ------- (In reply to comment #1) > Works for me with the trunk on i386-darwin8.11: > [236:~] apinski% ~/local-gcc/bin/gcc t.c -fstack-protector-all > [236:~] apinski% ./a.out > ?,a:-1,b2 > *** stack smashing detected ***: terminated > Illegal instruction what 's the version of the gcc src code you tried? can you try the gcc version 4.1.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38274