* SSP support for gcc on mips?
@ 2010-01-29 2:34 basile
2010-01-29 15:17 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: basile @ 2010-01-29 2:34 UTC (permalink / raw)
To: GCC-help
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
Hi
I'm working with gcc-4.3.4 uclibc-0.9.30.1-r1 on a mips system.
(32-bit big endian abi=o32).
I'd like to get ssp, but -fstack-protector leads to
foo.c:1: warning: -fstack-protector not supported for this target
I traced it back and there simply isn't any ssp support in gcc for
mips. Ironically uclibc does have __stack_chk_fail.
Can anyone shed light on this? What's the status of ssp on mips?
--
Anthony G. Basile, Ph.D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
USA
(716) 829-8197
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SSP support for gcc on mips?
2010-01-29 2:34 SSP support for gcc on mips? basile
@ 2010-01-29 15:17 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2010-01-29 15:17 UTC (permalink / raw)
To: basile; +Cc: GCC-help
basile <basile@opensource.dyc.edu> writes:
> I'm working with gcc-4.3.4 uclibc-0.9.30.1-r1 on a mips system.
> (32-bit big endian abi=o32).
>
> I'd like to get ssp, but -fstack-protector leads to
>
> foo.c:1: warning: -fstack-protector not supported for this target
>
> I traced it back and there simply isn't any ssp support in gcc for
> mips. Ironically uclibc does have __stack_chk_fail.
>
> Can anyone shed light on this? What's the status of ssp on mips?
-fstack-protector should work for MIPS targets in the upcoming gcc 4.5
release. In current releases it does not work. Sorry.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-29 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-29 2:34 SSP support for gcc on mips? basile
2010-01-29 15:17 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).