From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 8 14:30:27 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A48CC16A4CE for ; Sun, 8 Aug 2004 14:30:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BE7443D4C for ; Sun, 8 Aug 2004 14:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i78EURjS072390 for ; Sun, 8 Aug 2004 14:30:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i78EURd4072384; Sun, 8 Aug 2004 14:30:27 GMT (envelope-from gnats) Resent-Date: Sun, 8 Aug 2004 14:30:27 GMT Resent-Message-Id: <200408081430.i78EURd4072384@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8E8216A4CE for ; Sun, 8 Aug 2004 14:27:52 +0000 (GMT) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D3E043D46 for ; Sun, 8 Aug 2004 14:27:50 +0000 (GMT) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i78ERm2r009439 for ; Sun, 8 Aug 2004 22:27:48 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.11/8.12.11/Submit) id i78ERmGT009438; Sun, 8 Aug 2004 22:27:48 +0800 (KRAST) (envelope-from eugen) Message-Id: <200408081427.i78ERmGT009438@grosbein.pp.ru> Date: Sun, 8 Aug 2004 22:27:48 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/70174: make -jN buildkernel fails early when N is big X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2004 14:30:27 -0000 >Number: 70174 >Category: misc >Synopsis: make -jN buildkernel fails early when N is big >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 08 14:30:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.10-STABLE i386 >Organization: Svyaz-Service JSC >Environment: System: FreeBSD grosbein.pp.ru 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Aug 8 21:58:58 KRAST 2004 eu@grosbein.pp.ru:/mov/obj/usr/local/src/sys/DADV i386 >Description: There is dependency problem somewhere in the kernel build scripts: make -jN buildkernel may fail when N is big. There is race condition as it does not fail always. >How-To-Repeat: # rm -rf /usr/obj/usr/src/sys/DADV; make -j32 buildkernel -------------------------------------------------------------- >Fix: Unknown for me. >Release-Note: >Audit-Trail: >Unformatted: >>> Kernel build for DADV started on Sun Aug 8 22:18:43 KRAST 2004 -------------------------------------------------------------- ===> DADV mkdir -p /usr/obj/usr/local/src/sys cd /usr/local/src/sys/i386/conf; PATH=/usr/obj/usr/local/src/i386/usr/sbin:/usr/obj/usr/local/src/i386/usr/bin:/usr/obj/usr/local/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/local/src/sys/DADV /usr/local/src/sys/i386/conf/ DADV Don't forget to do a ``make depend'' Kernel build directory is /usr/obj/usr/local/src/sys/DADV cd /usr/obj/usr/local/src/sys/DADV; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/local/src/i386/usr/libexec GROFF_BIN_PATH=/usr/obj/usr/local/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/local/src/i386/usr/s hare/groff_font GROFF_TMAC_PATH=/usr/obj/usr/local/src/i386/usr/share/tmac PERL5LIB=/usr/obj/usr/local/src/i386/usr/libdata/perl/5.00503 DESTDIR=/usr/obj/usr/local/src/i386 INSTALL="sh /usr/local/src/tools/install.sh" PATH=/usr/obj/usr/local/src/i386 /usr/sbin:/usr/obj/usr/local/src/i386/usr/bin:/usr/obj/usr/local/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin OBJFORMAT_PATH=/usr/obj/usr/local/src/i386/usr/libexec:/usr/libexec make KERNEL=kernel -DNO_MODULES clean rm -f *.o *.so *.So *.ko *.s eddep errs kernel.debug kernel linterrs makelinks setdef[01].c setdefs.h tags vers.c vnode_if.c vnode_if.h device_if.c device_if.h bus_if.c bus_if.h miibus_if.c miibus_if.h ppbus_if.c ppbus_if.h smbus_if.c smbus_if.h agp_ if.c agp_if.h pci_if.c pci_if.h usb_if.c usb_if.h isa_if.c isa_if.h ac97_if.c ac97_if.h channel_if.c channel_if.h feeder_if.c feeder_if.h mixer_if.c mixer_if.h font.h atkbdmap.h cd /usr/obj/usr/local/src/sys/DADV; MAKESRCPATH=/usr/local/src/sys/dev/aic7xxx/aicasm make -DBOOTSTRAPPING -f /usr/local/src/sys/dev/aic7xxx/aicasm/Makefile Warning: Object directory not changed from original /mov/obj/usr/local/src/sys/DADV cc -O -pipe -march=pentiumpro -nostdinc -I/usr/include -I. -I/usr/local/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm.c cc -O -pipe -march=pentiumpro -nostdinc -I/usr/include -I. -I/usr/local/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c yacc -b aicasm_gram -d -o aicasm_gram.c /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y lex -t /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l > aicasm_scan.c lex -t -Pmm /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l > aicasm_macro_scan.c cc -O -pipe -march=pentiumpro -nostdinc -I/usr/include -I. -I/usr/local/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c aicasm_scan.c cc -O -pipe -march=pentiumpro -nostdinc -I/usr/include -I. -I/usr/local/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c aicasm_macro_scan.c cc -O -pipe -march=pentiumpro -nostdinc -I/usr/include -I. -I/usr/local/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c aicasm_macro_gram.c /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l: In function `yylex': /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:101: `T_IF' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:101: (Each undeclared identifier is reported only once /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:101: for each function it appears in.) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:110: `yylval' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:111: `T_CEXPR' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:134: `T_VERSION' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:135: `T_PREFIX' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:136: `T_PATCH_ARG_LIST' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:153: `T_STRING' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:158: `T_EXPORT' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:159: `T_REGISTER' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:160: `T_CONST' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:161: `T_DOWNLOAD' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:162: `T_ADDRESS' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:163: `T_ACCESS_MODE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:164: `T_MODES' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:172: `T_MODE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:174: `T_BEGIN_CS' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:175: `T_END_CS' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:176: `T_SET_SRC_MODE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:177: `T_SET_DST_MODE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:178: `T_FIELD' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:179: `T_ENUM' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:180: `T_MASK' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:181: `T_ALIAS' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:182: `T_SIZE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:183: `T_SCB' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:184: `T_SRAM' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:185: `T_ACCUM' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:186: `T_MODE_PTR' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:187: `T_ALLONES' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:188: `T_ALLZEROS' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:189: `T_NONE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:190: `T_SINDEX' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:191: `T_A' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:194: `T_SHL' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:195: `T_SHR' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:196: `T_ROR' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:197: `T_ROL' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:198: `T_MVI' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:199: `T_MOV' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:200: `T_CLR' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:201: `T_JMP' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:202: `T_JC' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:203: `T_JNC' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:204: `T_JE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:205: `T_JNE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:206: `T_JZ' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:207: `T_JNZ' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:208: `T_CALL' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:209: `T_ADD' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:210: `T_ADC' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:211: `T_BMOV' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:212: `T_INC' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:213: `T_DEC' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:214: `T_STC' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:215: `T_CLC' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:216: `T_CMP' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:217: `T_NOT' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:218: `T_XOR' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:219: `T_TEST' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:220: `T_AND' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:221: `T_OR' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:222: `T_RET' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:223: `T_NOP' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:224: `T_ELSE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:227: `T_EXPR_LSHIFT' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:228: `T_EXPR_RSHIFT' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:234: `T_NUMBER' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:250: `T_INCLUDE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:269: `T_PATH' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:274: `T_DEFINE' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:287: `T_SYMBOL' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:304: `T_ARG' undeclared (first use in this function) /usr/local/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:368: `T_MACROBODY' undeclared (first use in this function) *** Error code 1 cc -O -pipe -march=pentiumpro -nostdinc -I/usr/include -I. -I/usr/local/src/sys/dev/aic7xxx/aicasm -D__FBSDID=__RCSID -c aicasm_gram.c 1 error *** Error code 2 1 error *** Error code 2 1 error