Re: 2.6.0-test7 broken
From: Randy.Dunlap
Date: Wed Oct 22 2003 - 16:34:17 EST
On Fri, 17 Oct 2003 15:13:21 +0200 (CEST) "Wojciech 'Sas' Cieciwa" <cieciwa@xxxxxxxxxxxxxxxxxxxxx> wrote:
| I try to compile linux-2.6.0-test7 from ftp.kernel.org on SMP machine
| and I god something like this:
|
| [...]
| make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
| CHK include/linux/compile.h
| LD kernel/built-in.o
| GEN .version
| CHK include/linux/compile.h
| UPD include/linux/compile.h
| CC init/version.o
| LD init/built-in.o
| LD .tmp_vmlinux1
| KSYM .tmp_kallsyms1.S
| AS .tmp_kallsyms1.o
| LD .tmp_vmlinux2
| KSYM .tmp_kallsyms2.S
| AS .tmp_kallsyms2.o
| LD vmlinux
| AS arch/i386/boot/setup.o
| LD arch/i386/boot/setup
| OBJCOPY arch/i386/boot/compressed/vmlinux.bin
| GZIP arch/i386/boot/compressed/vmlinux.bin.gz
| LD arch/i386/boot/compressed/piggy.o
| LD arch/i386/boot/compressed/vmlinux
| OBJCOPY arch/i386/boot/vmlinux.bin
| BUILD arch/i386/boot/bzImage
| Root device is (8, 1)
| Boot sector 512 bytes.
| Setup is 4943 bytes.
| System is 1298 kB
| Kernel: arch/i386/boot/bzImage is ready
| Building modules, stage 2.
| MODPOST
| [...]
| *** Warning: "set_special_pids" [fs/jffs/jffs.ko] undefined!
| *** Warning: "percpu_counter_mod" [fs/ext3/ext3.ko] undefined!
| *** Warning: "percpu_counter_mod" [fs/ext2/ext2.ko] undefined!
|
| and ext2 dosn't work.
| Fast workaround is make file kernel/ksyms.c and add to this file two lines
| #include <linux/percpu_counter.h>
| EXPORT_SYMBOL(percpu_counter_mod);
| and fix kernel/Makefile.
We no longer have kernel/ksyms.c.
| Please don't tell me that this is wrong, I try to understand WHY
| EXPORT_SYMBOL(percpu_counter_mod) from lib/percpu_counter.c didn't work
| but I faild.
|
| This work for me.
Weird. and still happens on -test8 when ext{2,3} is built as a module.
(CONFIG_SMP)
nm lists percpu_counter_mod in lib/lib.a but nm does not list that
symbol in .tmp_vmlinux{1,2}. It's being dropped for some reason...
I can cause a similar problem by trying to call __div64_32() from
ext3/super.c (just as a test).
--
~Randy
-
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/