Re: [PATCH 2/7] x86: Add an option to compile with -ffunction-sections-fdata-sections

From: Anders Kaseorg
Date: Wed Feb 04 2009 - 15:51:13 EST


On Wed, 4 Feb 2009, Rusty Russell wrote:
> Ah, OK, this explanation should probably be in a paragraph in the Kconfig
> help message, rather than hiding on lkml.

Sure.

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c6a2674..3412706 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -602,6 +602,11 @@ config FUNCTION_DATA_SECTIONS
If you say Y here the compiler will give each function
and data structure its own ELF section.

+ This option conflicts with CONFIG_FUNCTION_TRACER, which
+ enables profiling code generation, because current GCC does
+ not support compiling with -ffunction-sections -pg (see
+ <http://gcc.gnu.org/ml/gcc-help/2008-11/msg00128.html>).
+
If unsure, say N.

config BOOT_PRINTK_DELAY
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/