From owner-freebsd-stable Wed Sep 1 10:36:14 1999 Delivered-To: freebsd-stable@freebsd.org Received: from pinhead.parag.codegen.com (207-44-235-154.CodeGen.COM [207.44.235.154]) by hub.freebsd.org (Postfix) with ESMTP id 018E615392 for ; Wed, 1 Sep 1999 10:36:03 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Received: from pinhead.parag.codegen.com (parag@localhost.parag.codegen.com [127.0.0.1]) by pinhead.parag.codegen.com (8.9.3/8.9.3) with ESMTP id KAA01976 for ; Wed, 1 Sep 1999 10:34:35 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) To: freebsd-stable@freebsd.org Subject: STABLE SMP build failure for today and yesterday X-Face: =O'Kj74icvU|oS*<7gS/8'\Pbpm}okVj*@UC!IgkmZQAO!W[|iBiMs*|)n*`X ]pW%m>Oz_mK^Gdazsr.Z0/JsFS1uF8gBVIoChGwOy{EK=<6g?aHE`[\S]C]T0Wm X-URL: http://www.codegen.com Date: Wed, 01 Sep 1999 10:34:35 -0700 Message-ID: <1972.936207275@pinhead.parag.codegen.com> From: Parag Patel Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Today being Sep 1, and yesterday being Aug 31. This is different from the kern_sig.c problem reported earlier. cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../i386/i386/mp_machdep.c ../../i386/i386/mp_machdep.c: In function `smp_rendezvous_action': ../../i386/i386/mp_machdep.c:2687: warning: implicit declaration of function `atomic_add_int' ../../i386/i386/mp_machdep.c: In function `smp_rendezvous': ../../i386/i386/mp_machdep.c:2711: `smp_rv_lock' undeclared (first use this function) ../../i386/i386/mp_machdep.c:2711: (Each undeclared identifier is reported only once ../../i386/i386/mp_machdep.c:2711: for each function it appears in.) ../../i386/i386/mp_machdep.c:2723: `PSL_I' undeclared (first use this function) machine/cpufunc.h:419: warning: inlining failed in call to `write_eflags' ../../i386/i386/mp_machdep.c:2723: warning: called from here *** Error code 1 I looked into mp_machdep.c, and it looks like a couple of header files atomic.h and psl.h have been removed. However, adding these files back in, there's no definition of smp_rv_lock, which is used in the new smp_rendezvous routine at the end. It's also missing from init_locks, also in the same file. Adding these back in, and it fails to link, not being able to find "KPSEL". This appears to be a symbol generated by the CURRENT genassym but not the STABLE. At this point, I decided that I'm over my head with the SMP code. :) Non-SMP kernel builds work just fine, as did buildworld and installworld as of Aug 31 evening. The test machine is running the results of that buildworld, and only the SMP kernel builds are failing. (Well, aside from the new kern_sig.c problem.) -- Parag Patel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message