lkml.org 
[lkml]   [2005]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00
Date
On Wed, 08 Jun 2005 16:18:58 +0200, 
Michal Schmidt <xschmi00@stud.feec.vutbr.cz> wrote:
>Ingo Molnar wrote:
>> i have released the -V0.7.48-00 Real-Time Preemption patch, which can be
>> downloaded from the usual place:
>
>The build fails with inconsistent kallsyms data:
> ...
> LD .tmp_vmlinux1
> KSYM .tmp_kallsyms1.S
> AS .tmp_kallsyms1.o
> LD .tmp_vmlinux2
> KSYM .tmp_kallsyms2.S
> AS .tmp_kallsyms2.o
> LD vmlinux
> SYSMAP System.map
> SYSMAP .tmp_System.map
>Inconsistent kallsyms data

Apply this patch, make debug_kallsyms, 'tar czvf map.tar.gz .tmp_map*'
and mail map.tar.gz to me, not the list.

Index: linux/Makefile
===================================================================
--- linux.orig/Makefile 2005-06-07 12:04:16.674163303 +1000
+++ linux/Makefile 2005-06-09 00:38:50.270431501 +1000
@@ -723,6 +723,16 @@ quiet_cmd_kallsyms = KSYM $@
# Needs to visit scripts/ before $(KALLSYMS) can be used.
$(KALLSYMS): scripts ;

+# Generate some data for debugging strange kallsyms problems
+debug_kallsyms: .tmp_map$(last_kallsyms)
+
+.tmp_map%: .tmp_vmlinux% FORCE
+ ($(OBJDUMP) -h $< | $(AWK) '/^ +[0-9]/{print $$4 " 0 " $$2}'; $(NM) $<) | sort > $@
+
+.tmp_map3: .tmp_map2
+
+.tmp_map2: .tmp_map1
+
endif # ifdef CONFIG_KALLSYMS

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

\
 
 \ /
  Last update: 2005-06-08 16:46    [from the cache]
©2003-2011 Jasper Spaans