Re: [PATCH] tools/perf/Makefile: drop _FORTIFY_SOURCE right beforeredefinition

From: Arnaldo Carvalho de Melo
Date: Fri Feb 22 2013 - 10:08:57 EST

Em Fri, Feb 22, 2013 at 01:17:54PM +0300, Sergei Trofimovich escreveu:
> From: Sergei Trofimovich <slyfox@xxxxxxxxxx>
> Gentoo's toolchain sets _FORTIFY_SOURCE by default
> which leads to very obscure error:
> perf # make clean && make
> Makefile:455: No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev
> Makefile:470: *** No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop
> Patch explicitely undefines _FORTIFY_SOURCE. Thanks!

There was a fix merged recently related to this define, can you please




This patch:;a=commitdiff;h=1807606ac70da5cda870362c13e71d60e94f9c13

- Arnaldo
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at