From owner-freebsd-stable Thu Mar 7 9:12:47 2002 Delivered-To: freebsd-stable@freebsd.org Received: from crotus.sc.intel.com (scfdns02.sc.intel.com [143.183.152.26]) by hub.freebsd.org (Postfix) with ESMTP id 2AEE737B402 for ; Thu, 7 Mar 2002 09:12:40 -0800 (PST) Received: from sedona.intel.com (sedona.ch.intel.com [143.182.218.21]) by crotus.sc.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.52 2002/03/01 19:20:46 root Exp $) with ESMTP id RAA00290 for ; Thu, 7 Mar 2002 17:12:39 GMT Received: from chlx169.ch.intel.com (chlx169.ch.intel.com [143.182.225.37]) by sedona.intel.com (8.9.1a/8.9.1/d: sendmail.cf,v 1.14 2001/01/02 18:39:59 steved Exp root $) with ESMTP id KAA01476 for ; Thu, 7 Mar 2002 10:12:46 -0700 (MST) X-Envelope-To: X-Envelope-From: jreynold@sedona.ch.intel.com Received: (from jreynold@localhost) by chlx169.ch.intel.com (8.11.6/8.9.1/d: client.m4,v 1.3 1998/09/29 16:36:11 sedayao Exp sedayao $) id g27HCdw10380; Thu, 7 Mar 2002 10:12:39 -0700 X-Authentication-Warning: chlx169.ch.intel.com: jreynold set sender to jreynold@sedona.ch.intel.com using -f From: John Reynolds~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15495.40839.57512.974387@chlx169.ch.intel.com> Date: Thu, 7 Mar 2002 10:12:39 -0700 To: stable@freebsd.org Subject: anybody else seeing -jN buildkernels failing? X-Mailer: VM 7.01 under Emacs 20.7.1 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, After the recent OpenSSH advisory, I quickly CVSup'ed and set my script in motion to compile world and some new kernels. I forgot that I changed something in the script an my machine machine's kernel build died. I had "make -j4 buildkernel ..." in the script rather than just plain 'make'. This script also builds two other kernels (without -jN) and they both succeeded while the -j4 kernel build failed. I then took out the -j4 off my main machine's kernel build and it just succeeded. Here's a snippet of the errors from the -j4 build: ===> lge touch opt_bdg.h @ -> /usr/src/sys machine -> /usr/src/sys/i386/include perl @/kern/makeops.pl -h @/kern/bus_if.m perl @/kern/makeops.pl -h @/kern/device_if.m perl @/kern/makeops.pl -h @/dev/mii/miibus_if.m perl @/kern/makeops.pl -h @/pci/pci_if.m rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../includ e -I/usr/obj/usr/src/i386/usr/include /usr/src/sys/modules/lge/../../dev/lge/if _lge.c ===> libiconv perl @/kern/makeobjops.pl -c @/libkern/iconv_converter_if.m perl @/kern/makeobjops.pl -h @/libkern/iconv_converter_if.m @ -> /usr/src/sys Can't open perl script "@/kern/makeobjops.pl": No such file or directory *** Error code 2 machine -> /usr/src/sys/i386/include 1 error *** Error code 2 1 error *** Error code 2 env MKDEP_CPP="cc -E" mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -O -pi pe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototype s -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension s -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/s ys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-bou ndary=2 /usr/src/sys/i386/i386/bioscall.s /usr/src/sys/i386/i386/exception.s /u sr/src/sys/i386/i386/globals.s /usr/src/sys/i386/i386/mpboot.s /usr/src/sys/i38 6/i386/mplock.s /usr/src/sys/i386/i386/simplelock.s /usr/src/sys/i386/i386/supp ort.s /usr/src/sys/i386/i386/swtch.s /usr/src/sys/i386/i386/locore.s rm -f .depend mv -f .newdep .depend 1 error *** Error code 2 1 error *** Error code 2 1 error In my build script I always do: rm -rf /usr/obj/usr/src/sys/KERNEL before firing off the make (just to make sure no left-over garbage might interfere with things). Why would a normal 'make' succeed and a parallel make fail? Is anybody else successfully doing buildkernel with -jN specified? -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |John Reynolds Sr. Component Design Engineer - ICG/EID/Si Engineering | |Intel Corporation MS: CH6-210 Phone: 480-554-9092 pgr: 602-868-6512 | |jreynold@sedona.ch.intel.com http://www-aec.ch.intel.com/~jreynold/ | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message