This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: apps built w/ -fstack-protector-all segfault


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]