]> code.ossystems Code Review - meta-freescale.git/commit
linux-imx (2.6.35.3): perf tools: Fix build against newer glibc
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 7 Sep 2012 21:51:33 +0000 (18:51 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 11 Sep 2012 18:24:03 +0000 (15:24 -0300)
commit57f91589c90150cbcf10daea8020f54ab5d814e6
treeb7c30c82721739567eba80e5303d70fde7cbf6b6
parentcbe410a75453a4a70c3278b7fb3ba3a312ab7da5
linux-imx (2.6.35.3): perf tools: Fix build against newer glibc

Upstream glibc commit 295e904 added a definition for __attribute_const__
to cdefs.h.  This causes the following error when building perf:

util/include/linux/compiler.h:8:0: error: "__attribute_const__"
redefined [-Werror] /usr/include/sys/cdefs.h:226:0: note: this is the
location of the previous definition

Wrap __attribute_const__ in #ifndef as done for __always_inline.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/perf-tools-Fix-build-against-newer-glibc.patch [new file with mode: 0644]
meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb