From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 25 May 2003 22:29:21 +0200 From: Adrian Bunk Subject: Re: 2.5.69-mm9 Message-ID: <20030525202920.GE16791@fs.tum.de> References: <20030525042759.6edacd62.akpm@digeo.com> <200305251456.39404.rudmer@legolas.dynup.net> <3ED0CE0E.4080403@wmich.edu> <20030525130601.5a105fa8.akpm@digeo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030525130601.5a105fa8.akpm@digeo.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Ed Sweetman , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Sun, May 25, 2003 at 01:06:01PM -0700, Andrew Morton wrote: > Ed Sweetman wrote: > > > > got this with my current config. Along with other misc gcc 3 warnings. > > > > Compiling with gcc (GCC) 3.3 (Debian) > > > > ld -m elf_i386 -T arch/i386/vmlinux.lds.s > > arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o > > --start-group usr/built-in.o arch/i386/kernel/built-in.o > > arch/i386/mm/built-in.o arch/i386/mach-default/built-in.o > > kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o > > security/built-in.o crypto/built-in.o lib/lib.a arch/i386/lib/lib.a > > drivers/built-in.o sound/built-in.o arch/i386/pci/built-in.o > > net/built-in.o --end-group -o vmlinux > > kernel/built-in.o(.text+0x1708e): In function `free_module': > > : undefined reference to `percpu_modfree' > > kernel/built-in.o(.text+0x17873): In function `load_module': > > : undefined reference to `find_pcpusec' > > kernel/built-in.o(.text+0x179a9): In function `load_module': > > : undefined reference to `percpu_modalloc' > > kernel/built-in.o(.text+0x17c52): In function `load_module': > > : undefined reference to `percpu_modcopy' > > kernel/built-in.o(.text+0x17d3d): In function `load_module': > > : undefined reference to `percpu_modfree' > > Well that is strange. The functions are there, inlined, in the right > place. >... Note that in Ed's .config CONFIG_MODULE_UNLOAD is not set and the missing functions are inside a big #ifdef CONFIG_MODULE_UNLOAD block... cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org