From: "Randy.Dunlap" <rddunlap@osdl.org>
To: "Wojciech 'Sas' Cieciwa" <cieciwa@alpha.zarz.agh.edu.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test7 broken
Date: Wed, 22 Oct 2003 14:31:42 -0700 [thread overview]
Message-ID: <20031022143142.28efb2fe.rddunlap@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.58L.0310171508480.20432@alpha.zarz.agh.edu.pl>
On Fri, 17 Oct 2003 15:13:21 +0200 (CEST) "Wojciech 'Sas' Cieciwa" <cieciwa@alpha.zarz.agh.edu.pl> 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
prev parent reply other threads:[~2003-10-22 21:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-17 13:13 Wojciech 'Sas' Cieciwa
2003-10-17 15:36 ` Randy.Dunlap
2003-10-17 19:53 ` Andrew Morton
2003-10-22 21:31 ` Randy.Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031022143142.28efb2fe.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=cieciwa@alpha.zarz.agh.edu.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®