This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13979] A warning should be issued if FORTIFY_SOURCE is requested but not enabled
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 24 Nov 2014 06:31:24 +0000
- Subject: [Bug libc/13979] A warning should be issued if FORTIFY_SOURCE is requested but not enabled
- Auto-submitted: auto-generated
- References: <bug-13979-131 at http dot sourceware dot org/bugzilla/>
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.