public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] 2.5.47-ac1 fails linking
@ 2002-11-13 12:32 Bill Davidsen
  2002-11-13 13:00 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Davidsen @ 2002-11-13 12:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1572 bytes --]

I get this failure in the link. Config file attached.

  [... snip ...]
make -f scripts/Makefile.build obj=lib/zlib_deflate
make -f scripts/Makefile.build obj=lib/zlib_inflate
make -f scripts/Makefile.build obj=arch/i386/lib
  Generating build number
  Generating include/linux/compile.h (updated)
  gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -p -Iarch/i386/mach-generic -Iarch/i386/mach-defaults -nostdinc -iwithprefix include    -DKBUILD_BASENAME=version   -c -o init/version.o init/version.c
   ld -m elf_i386  -r -o init/built-in.o init/main.o init/version.o init/do_mounts.o init/initramfs.o
  	ld -m elf_i386 -e stext -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-generic/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  drivers/built-in.o  sound/built-in.o  arch/i386/pci/built-in.o  net/built-in.o  lib/lib.a  arch/i386/lib/lib.a --end-group  -o .tmp_vmlinux1
arch/i386/kernel/built-in.o: In function `identify_cpu':
arch/i386/kernel/built-in.o(.init.text+0x25f4): undefined reference to `mcheck_init'
arch/i386/kernel/built-in.o: In function `gdt_48':
arch/i386/kernel/built-in.o(.data+0x15b5): undefined reference to `boot_gdt_table'
make: *** [.tmp_vmlinux1] Error 1


-- 
bill davidsen <davidsen@tmr.com>


[-- Attachment #2: Type: APPLICATION/x-bzip2, Size: 5157 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] 2.5.47-ac1 fails linking
  2002-11-13 12:32 [BUG] 2.5.47-ac1 fails linking Bill Davidsen
@ 2002-11-13 13:00 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2002-11-13 13:00 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: alan, Linux Kernel Mailing List

On Wed, Nov 13, 2002 at 07:32:04AM -0500, Bill Davidsen wrote:
 > arch/i386/kernel/built-in.o: In function `identify_cpu':
 > arch/i386/kernel/built-in.o(.init.text+0x25f4): undefined reference to `mcheck_init'
 > arch/i386/kernel/built-in.o: In function `gdt_48':
 > arch/i386/kernel/built-in.o(.data+0x15b5): undefined reference to `boot_gdt_table'

Easy one. Alan, there's some detritus left hanging around in
arch/i386/kernel/cpu/common.c 

The hunk at 319 needs to go..

Back out this bit..

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.47/arch/i386/kernel/cpu/common.c linux.2.5.47-ac2/arch/i386/kernel/cpu/common.c
--- linux.2.5.47/arch/i386/kernel/cpu/common.c  2002-11-11 16:39:08.000000000 +0000
+++ linux.2.5.47-ac2/arch/i386/kernel/cpu/common.c  2002-11-05 15:57:59.000000000 +0000
@@ -319,6 +315,9 @@
        clear_bit(X86_FEATURE_XMM, c->x86_capability);
    }
 
+   /* Init Machine Check Exception if available. */
+   mcheck_init(c);
+
    /* If the model name is still unset, do table lookup. */
    if ( !c->x86_model_id[0] ) {
        char *p;


(Hand-pasted, so may not apply)

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-13 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-13 12:32 [BUG] 2.5.47-ac1 fails linking Bill Davidsen
2002-11-13 13:00 ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox