If I do a make -j4 buildkernel on RELENG_10, it fails. However, all seems well with a non parallel build. I am at r270271 Last few lines are CC='cc ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/server -std=iso9899:1999 /usr/src/sys/modules/ae/../../dev/ae/if_ae.c --- depend_subdir_aesni --- ===> aesni (depend) --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aesni/@ --- @ -> /usr/src/sys --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aesni/machine --- machine -> /usr/src/sys/amd64/include --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aesni/x86 --- x86 -> /usr/src/sys/x86/include --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- opt_bus.h --- ln -sf /usr/obj/usr/src/sys/server/opt_bus.h opt_bus.h --- cryptodev_if.h --- awk -f @/tools/makeobjops.awk @/opencrypto/cryptodev_if.m -h --- .depend --- rm -f .depend CC='cc ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/server -std=iso9899:1999 /usr/src/sys/modules/aesni/../../crypto/aesni/aesni.c /usr/src/sys/modules/aesni/../../crypto/aesni/aeskeys_amd64.S --- depend_subdir_age --- ===> age (depend) --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/age/@ --- @ -> /usr/src/sys --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/age/machine --- machine -> /usr/src/sys/amd64/include --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/age/x86 --- x86 -> /usr/src/sys/x86/include --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- miibus_if.h --- awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h --- .depend --- rm -f .depend CC='cc ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/server -std=iso9899:1999 /usr/src/sys/modules/age/../../dev/age/if_age.c --- depend_subdir_agp --- ===> agp (depend) --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/agp/@ --- @ -> /usr/src/sys --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/agp/machine --- machine -> /usr/src/sys/amd64/include --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/agp/x86 --- x86 -> /usr/src/sys/x86/include --- agp_if.c --- awk -f @/tools/makeobjops.awk @/dev/agp/agp_if.m -c --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- agp_if.h --- awk -f @/tools/makeobjops.awk @/dev/agp/agp_if.m -h --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- opt_agp.h --- ln -sf /usr/obj/usr/src/sys/server/opt_agp.h opt_agp.h --- .depend --- rm -f .depend CC='cc ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/server -std=iso9899:1999 /usr/src/sys/modules/agp/../../dev/agp/agp.c agp_if.c /usr/src/sys/modules/agp/../../dev/agp/agp_amd64.c /usr/src/sys/modules/agp/../../dev/agp/agp_i810.c /usr/src/sys/modules/agp/../../dev/agp/agp_via.c --- depend_subdir_aha --- ===> aha (depend) --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aha/@ --- @ -> /usr/src/sys --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aha/machine --- machine -> /usr/src/sys/amd64/include --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aha/x86 --- x86 -> /usr/src/sys/x86/include --- opt_cam.h --- ln -sf /usr/obj/usr/src/sys/server/opt_cam.h opt_cam.h --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- isa_if.h --- awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h --- .depend --- rm -f .depend CC='cc ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/server -std=iso9899:1999 /usr/src/sys/modules/aha/../../dev/aha/aha.c /usr/src/sys/modules/aha/../../dev/aha/aha_isa.c --- depend_subdir_ahci --- ===> ahci (depend) --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/ahci/@ --- @ -> /usr/src/sys --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/ahci/machine --- machine -> /usr/src/sys/amd64/include --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/ahci/x86 --- x86 -> /usr/src/sys/x86/include --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- opt_cam.h --- ln -sf /usr/obj/usr/src/sys/server/opt_cam.h opt_cam.h --- .depend --- rm -f .depend CC='cc ' mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/server -std=iso9899:1999 /usr/src/sys/modules/ahci/../../dev/ahci/ahci.c /usr/src/sys/modules/ahci/../../dev/ahci/ahciem.c --- depend_subdir_aic7xxx --- ===> aic7xxx (depend) --- _sub.depend --- ===> aic7xxx/aicasm (depend) ===> aic7xxx/ahc (depend) --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aic7xxx/ahc/@ --- @ -> /usr/src/sys --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aic7xxx/ahc/machine --- machine -> /usr/src/sys/amd64/include --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aic7xxx/ahc/x86 --- x86 -> /usr/src/sys/x86/include --- _sub.depend --- ===> aic7xxx/ahc/ahc_eisa (depend) --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aic7xxx/ahc/ahc_eisa/@ --- @ -> /usr/src/sys --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aic7xxx/ahc/ahc_eisa/machine --- machine -> /usr/src/sys/amd64/include --- /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aic7xxx/ahc/ahc_eisa/x86 --- x86 -> /usr/src/sys/x86/include --- ../aic7xxx_reg.h --- ( cd .. ; make aic7xxx_reg.h ) make[7]: make[7]: don't know how to make aic7xxx_reg.h. Stop make[7]: stopped in /usr/obj/usr/src/sys/server/modules/usr/src/sys/modules/aic7xxx/ahc *** [../aic7xxx_reg.h] Error code 2 make[6]: stopped in /usr/src/sys/modules/aic7xxx/ahc/ahc_eisa 1 error make[6]: stopped in /usr/src/sys/modules/aic7xxx/ahc/ahc_eisa *** [_sub.depend] Error code 2 make[5]: stopped in /usr/src/sys/modules/aic7xxx/ahc 1 error make[5]: stopped in /usr/src/sys/modules/aic7xxx/ahc *** [_sub.depend] Error code 2 make[4]: stopped in /usr/src/sys/modules/aic7xxx 1 error make[4]: stopped in /usr/src/sys/modules/aic7xxx *** [depend_subdir_aic7xxx] Error code 2 make[3]: stopped in /usr/src/sys/modules 1 error make[3]: stopped in /usr/src/sys/modules *** [modules-depend] Error code 2 make[2]: stopped in /usr/obj/usr/src/sys/server --- .depend --- make -V CFILES_ZFS | MKDEP_CPP="cc -E" CC="cc " xargs mkdep -a -f .newdep -DFREEBSD_NAMECACHE -DBUILDING_ZFS -nostdinc -I/usr/src/sys/cddl/compat/opensolaris -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/zmod -I/usr/src/sys/cddl/contrib/opensolaris/uts/common -I/usr/src/sys -I/usr/src/sys/cddl/contrib/opensolaris/common/zfs -I/usr/src/sys/cddl/contrib/opensolaris/common -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -Wno-unknown-pragmas -Wno-missing-prototypes -Wno-undef -Wno-strict-prototypes -Wno-cast-qual -Wno-parentheses -Wno-redundant-decls -Wno-missing-braces -Wno-uninitialized -Wno-unused -Wno-inline -Wno-switch -Wno-pointer-arith -Wno-unknown-pragmas -include /usr/src/sys/cddl/compat/opensolaris/sys/debug_compat.h make -V SFILES_NOZFS | MKDEP_CPP="cc -E" xargs mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 make -V SFILES_ZFS | MKDEP_CPP="cc -E" xargs mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -DFREEBSD_NAMECACHE -DBUILDING_ZFS -nostdinc -I/usr/src/sys/cddl/compat/opensolaris -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/zmod -I/usr/src/sys/cddl/contrib/opensolaris/uts/common -I/usr/src/sys -I/usr/src/sys/cddl/contrib/opensolaris/common/zfs -I/usr/src/sys/cddl/contrib/opensolaris/common -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -Wno-unknown-pragmas -Wno-missing-prototypes -Wno-undef -Wno-strict-prototypes -Wno-cast-qual -Wno-parentheses -Wno-redundant-decls -Wno-missing-braces -Wno-uninitialized -Wno-unused -Wno-inline -Wno-switch -Wno-pointer-arith -Wno-unknown-pragmas -include /usr/src/sys/cddl/compat/opensolaris/sys/debug_compat.h rm -f .depend mv .newdep .depend 1 error make[2]: stopped in /usr/obj/usr/src/sys/server *** [buildkernel] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike at sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Ivan Klymenko
2014-Aug-21 14:22 UTC
make -j# buildkernel errors ? (parallel build problem)
? Thu, 21 Aug 2014 10:04:45 -0400 Mike Tancsa <mike at sentex.net> ?????:> If I do a make -j4 buildkernel on RELENG_10, it fails. However, all > seems well with a non parallel build. > > > > I am at r270271 > > > Last few lines areI have the same problem and if I'm not mistaken, it started with a revision r270187 - r270205