From owner-freebsd-stable Wed Sep 1 11: 2:44 1999 Delivered-To: freebsd-stable@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id B2EAC15A59 for ; Wed, 1 Sep 1999 11:02:38 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id TAA86103; Wed, 1 Sep 1999 19:00:42 +0100 (BST) (envelope-from joe) Date: Wed, 1 Sep 1999 19:00:42 +0100 From: Josef Karthauser To: Parag Patel Cc: freebsd-stable@FreeBSD.ORG Subject: Re: STABLE SMP build failure for today and yesterday Message-ID: <19990901190042.C88479@pavilion.net> References: <1972.936207275@pinhead.parag.codegen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <1972.936207275@pinhead.parag.codegen.com>; from Parag Patel on Wed, Sep 01, 1999 at 10:34:35AM -0700 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yep, I've just had the same problem... had to sup backwards to an earlier date (19990820) to get it to work. I've got another SMP machine that was built on the 20th hence that particular choice of date. Joe On Wed, Sep 01, 1999 at 10:34:35AM -0700, Parag Patel wrote: > > 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 -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message