Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 10:12:39 -0700
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        stable@freebsd.org
Subject:   anybody else seeing -jN buildkernels failing?
Message-ID:  <15495.40839.57512.974387@chlx169.ch.intel.com>

next in thread | raw e-mail | index | archive | help
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




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