This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-fstack-protector on mips target
- From: Andrew Anderson <andersonagm2005 at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 19 Jun 2008 08:01:13 -0700 (PDT)
- Subject: -fstack-protector on mips target
I have a suspected stack corruption problem on a mips-based embedded
system (using uclibc on a linux 2.4 kernel). I have tried using the
-fstack-protector compile option but get the error message:
warning: -fstack-protector not supported for this target
My toolchain configuration is:
GCC version 4.1.2
binutils version 2.16.1
uclibc version 0.9.28
Does anyone know:
- if mips support for the stack protector has been added in a later GCC version?
- if there is a technical reason why it's not implemented for mips?
- if there is a patch or workaround out there somewhere?