This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: apps built w/ -fstack-protector-all segfault
- From: James E Wilson <wilson at specifix dot com>
- To: "Peter S. Mazinger" <ps dot m at gmx dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 15 Nov 2005 12:20:44 -0800
- Subject: Re: apps built w/ -fstack-protector-all segfault
- References: <Pine.LNX.4.44.0511152055320.28778-100000@lnx.bridge.intra>
On Tue, 2005-11-15 at 12:01, Peter S. Mazinger wrote:
> I wanted to only know if there is a configuration/scenario where this
> really worked.
I haven't been involved with the stack protector development or usage,
but as far as I know, it works unless some one reports a bug, and the
only bug I can recall seeing is yours. Since the development work was
mostly done on linux systems with glibc, and you are using uClibc, it
isn't surprising that some additional work may be needed here.
> I would do the testing, I lack the needed gdb/other debug knowledge, if
> you would be so kind to guide me, I would try to get this working.
First you try running a problem under gdb, getting a backtrace, then you
start looking at the source code to figure out why it failed at that
point. The code, and any relevant libraries, need to be compiled with
-g.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com