Re: [PATCH] newlib: undefine _FORTIFY_SOURCE

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Nov  8 19:15, Keith Packard wrote:
> Mike Frysinger <[email protected]> writes:
> 
> > Since newlib isn't prepared to build itself with _FORTIFY_SOURCE, and
> > it's not clear if it's even useful, disable it when building the code.
> 
> It is useful; I've caught a few library bugs when I turned this on for
> picolibc. Fixing newlib to handle -D_FORTIFY_SOURCE could probably start
> with the patches I did in picolibc, which mostly just #undef the various
> mem and str functions before defining them.

Please send patches.


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.