[Bug libc/13979] A warning should be issued if FORTIFY_SOURCE is requested but not enabled

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Mon Nov 24 06:31:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=13979

--- Comment #8 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Anatol Pomozov from comment #7)
> Linux Arch still suffers from warnings flood produced by this code.
> 
> We have following disto-wide compilation variables:
> 
> CPPFLAGS="-D_FORTIFY_SOURCE=2"
> CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
> --param=ssp-buffer-size=4"
> 
> and compilation produces a lot of warnings in almost any c++ project:

Can you double-check if you set CXXFLAGS?  And if not, figure out why?

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list