This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug nscd/5210] fstack projector is not supported on alpha and does strange things...


------- 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.


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