On Thu, 2008-08-21 at 22:31 -0500, Robin Holt wrote: > Argh, I forgot to add the relavent people. > > Robin > > On Thu, Aug 21, 2008 at 10:29:31PM -0500, Robin Holt wrote: > > [holt@robinlt allmodconfig]$ git-bisect good > > e63352fa06fb8c476e56e51323d80f2e7baee67f is first bad commit > > commit e63352fa06fb8c476e56e51323d80f2e7baee67f > > Author: Eduard - Gabriel Munteanu <eduard.munteanu@xxxxxxxxxxx> > > Date: Tue Aug 19 20:43:26 2008 +0300 > > > > kmemtrace: SLUB hooks. > > > > This adds hooks for the SLUB allocator, to allow tracing with kmemtrace. > > > > Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@xxxxxxxxxxx> > > Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx> > > > > :040000 040000 913348ac82982bd048439179f5d9e2231cc42ee6 984c6232d4eb257d8b31fe104e8731d8d5d6af18 M include > > :040000 040000 eca09754017963bda58bc53e2863f59431df0ea7 92bc3efb5a7b9bc254f17def2c31b3c0a030122e M mm > > > > > > To sum up, This commit when compiled for IA64 using Andrew's gcc 3.4.5 > > cross compiler and allmodconfig results in a build failure with: > > > > arch/ia64/kernel/built-in.o(.text+0x4852): In function `efi_initialize_iomem_resources': > > /work/git-linus/allmodconfig/arch/ia64/kernel/efi.c:1200: undefined reference to `__ia64_save_stack_nonlocal' > > arch/ia64/kernel/built-in.o(.text+0x12992): In function `pfm_context_create': > > /work/git-linus/allmodconfig/arch/ia64/kernel/perfmon.c:2683: undefined reference to `__ia64_save_stack_nonlocal' > > arch/ia64/kernel/built-in.o(.text+0x1ba22): In function `sys_perfmonctl': > > /work/git-linus/allmodconfig/arch/ia64/kernel/perfmon.c:4808: undefined reference to `__ia64_save_stack_nonlocal' > > arch/ia64/kernel/built-in.o(.text+0x379a2): In function `dup_state_stack': > > /work/git-linus/allmodconfig/arch/ia64/kernel/unwind.c:645: undefined reference to `__ia64_save_stack_nonlocal' > > arch/ia64/kernel/built-in.o(.text+0x37ec2): In function `desc_prologue': > > /work/git-linus/allmodconfig/arch/ia64/kernel/unwind.c:809: undefined reference to `__ia64_save_stack_nonlocal' > > arch/ia64/kernel/built-in.o(.text+0x3a822):/work/git-linus/allmodconfig/arch/ia64/kernel/unwind_decoder.c:368: more undefined references to `__ia64_save_stack_nonlocal' follow > > > > With gcc 4.1.2 it compiles fine. So efi_initialize_iomem_resources calls kzalloc() which calls an inline kmalloc() function. Is this with our without CONFIG_KMEMTRACE enabled? Any idea what this '__ia64_save_stack_nonlocal' thing is? Eduard, did you have plans to move the hooks out-of-line as suggested by Christoph? That patch might "cure" this thing here... Pekka -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html