This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/5210] fstack projector is not supported on alpha and does strange things...
- From: "g dot esp at free dot fr" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 6 Apr 2008 21:04:25 -0000
- Subject: [Bug nscd/5210] fstack projector is not supported on alpha and does strange things...
- References: <20071023083706.5210.oliver@linux-kernel.at>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From g dot esp at free dot fr 2008-04-06 21:04 -------
I look in gcc-4.2.3 and gcc-4.3 code at gcc/toplev.c
/* Targets must be able to place spill slots at lower addresses. If the
target already uses a soft frame pointer, the transition is trivial. */
if (!FRAME_GROWS_DOWNWARD && flag_stack_protect)
{
warning (0, "-fstack-protector not supported for this target");
flag_stack_protect = 0;
}
if (!flag_stack_protect)
warn_stack_protect = 0;
So with only a warning emittted by gcc, configure receive 0 and report that ssp
work.
I try changing the warning to an error on gcc-4.2.3 and now glib-2.7 configure
on alpha rightfully find
checking for -fstack-protector... no
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5210
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.