This is the mail archive of the gcc-patches@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: [PATCH 1-2/12 ] New configure option --enable-espf=(all|ssp|pie|no)


tisdag 11 september 2012 01.33.42 skrev  Magnus Granberg:
> fredag 07 september 2012 18.52.11 skrev du:
> > On Fri, 7 Sep 2012, Magnus Granberg wrote:
> > > 		* Makefile.in				Add -fno-stack-protector when
> > > 		
> > > 		  needed for espf.
> > 
> > Toplevel Makefile.in is a generated file.  You need to patch Makefile.def
> > or Makefile.tpl and regenerate Makefile.in.
> > 
> > I'm surprised this passes bootstrap, since I wouldn't expect bootstrap to
> > avoid -Wformat-security warnings, and all the previous patch submissions I
> > recall to avoid such warnings have been incorrect (you can't just change
> > error (msg) to error ("%s", msg) when the reason the code is written how
> > it is is that no-argument formats such as %< and %> may appear in msg and
> > need interpreting).
> 
> Have updated Makefile and configure patch and it bootstrap with
> --enable-werror did't have that enable last time. Have new changelog to.
> Thank you for the help.
> 
......

Do any one else have any comments or hints for the patches?

Gentoo Hardened Project
Magnus Granberg


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