This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: HEADSUP: toolchain modifications required for built-in SSP


On Dec  4 08:32, Sebastian Huber wrote:
> It would be nice to have a snapshot before the next release to test this. Is
> the next release 3.0.0 (due to the 64-bit time_t) or 2.6.0?
> 
> On 30/11/17 11:41, Yaakov Selkowitz wrote:
> > gcc8-ssp-newlib.patch
> > 
> > 
> > 2017-11-29  Yaakov Selkowitz<yselkowi@redhat.com>
> > 
> > 	gcc/
> > 	* configure.ac (gcc_cv_libc_provides_ssp): Define as yes
> > 	on Newlib-based targets if new builtin SSP support is present.
> > 	* configure: Regenerate.
> > 
> > Index: gcc/configure
> > ===================================================================
> > --- gcc/configure	(revision 255250)
> > +++ gcc/configure	(working copy)
> > @@ -29100,6 +29100,12 @@
> >   fi
> >           ;;
> > +       *-*-cygwin* | *-*-rtems* | *-*-eabi* | *-*-elf* | mmix-knuth-mmixware)
> 
> Instead of this target enumeration, could we not use an $EGREP approach
> similar to some other libc variants?

Can you make up an example?

> > +         # This is a recent addition to Newlib/Cygwin/RTEMS
> 
> The "recent addition" is probably no longer that recent in one or two years.
> Maybe we should use a version or date here, e.g. since Newlib snapshot XYZ.

Good point.  Date should suffice, I think,

> 
> > +         if test -f $target_header_dir/ssp/ssp.h; then
> > +           gcc_cv_libc_provides_ssp=yes
> > +         fi
> > +        ;;
> >          *) gcc_cv_libc_provides_ssp=no ;;
> >       esac
> >     fi

Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


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