Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 1999 12:24:12 -0800 (PST)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org (FreeBSD Current)
Subject:   kernel breakage on SMP
Message-ID:  <199911192024.MAA07473@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -elf   vers.c
linking kernel
exception.o: In function `vm86_biosret':
exception.o(.text+0x582): undefined reference to `MPrellock'
exception.o: In function `Xintr0':
exception.o(.text+0x11b4): undefined reference to `MPrellock'
exception.o: In function `Xintr1':
exception.o(.text+0x143c): undefined reference to `MPrellock'
exception.o: In function `Xintr2':
exception.o(.text+0x16bc): undefined reference to `MPrellock'
exception.o: In function `Xintr3':
exception.o(.text+0x193c): undefined reference to `MPrellock'
exception.o(.text+0x1bbc): more undefined references to `MPrellock' follow
*** Error code 1

Stop in /usr/src/sys/compile/TROUTMASK.

troutmask:kargl[352] find /sys/i386 -name \*.\[sch\] | xargs grep MPrellock
/sys/i386/include/asnames.h:#define _MPrellock                MPrellock
/sys/i386/include/asnames.h:#define _MPrellock_edx            MPrellock_edx
/sys/i386/include/lock.h:       call    _MPrellock ;                 \
/sys/i386/isa/apic_vector.s:    call    _MPrellock_edx
/sys/i386/isa/ipl.s:    call    _MPrellock_edx
/sys/i386/i386/mplock.s: *  void MPrellock_edx(unsigned int *lock : %edx)
/sys/i386/i386/mplock.s:NON_GPROF_ENTRY(MPrellock_edx)
/sys/i386/i386/mplock.s:        call    _MPrellock_edx
/sys/i386/i386/mplock.s:        jmp     _MPrellock_edx
/sys/i386/i386/mplock.s:        jmp     _MPrellock_edx
/sys/i386/i386/mplock.s:        jmp     _MPrellock_edx
/sys/i386/i386/mplock.s:        jmp     _MPrellock_edx
/sys/i386/i386/mplock.s:        jmp     _MPrellock_edx
/sys/i386/i386/mplock.s:        call    _MPrellock_edx


Are asnames.h and lock.h correct?

-- 
Steve


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911192024.MAA07473>