Messages in this thread Patch in this message | | | Date | Wed, 4 Feb 2009 15:50:40 -0500 (EST) | From | Anders Kaseorg <> | Subject | Re: [PATCH 2/7] x86: Add an option to compile with -ffunction-sections -fdata-sections |
| |
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
| |