On Sat,  9 Feb 2013 00:30:21 +0100
Ian Kumlien <po...@demius.net> wrote:

> My builds are cluttered with:
> <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
> default]
> 
> Which makes it hard to tell if something breaks or not.

> I don't know about you, but bilding with 
> GCC 4.7.2 on gentoo, this is a issue.

Unfortunately it's a gentoo specific gcc bug. I'd suggest reporting
it to bugs.gentoo.org. That -D by default breaks linux's perf as well
(due to -D_FOTIFY_SOURCE=2 -Werror in perf sources).

Current workaround is to pass AM_CFLAGS to make:
    make AM_CFLAGS=stuff_w/o_fortify_source
It's what gentoo's live ebuild does.

-- 

  Sergei

Attachment: signature.asc
Description: PGP signature

Reply via email to