From owner-freebsd-current Mon May 13 11:41:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 139C637B403; Mon, 13 May 2002 11:41:20 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g4DIfBY51020; Mon, 13 May 2002 20:41:11 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200205131841.g4DIfBY51020@zibbi.icomtek.csir.co.za> Subject: makefiles broken with make -j? To: current@freebsd.org Date: Mon, 13 May 2002 20:41:11 +0200 (SAT) Cc: ru@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, It looks like the makefiles are a bit broken if make -j13 is used. What I see here is that osreldate.h in obj/usr/src/i386/usr/include/ looks like this: ############################ ... #ifdef _KERNEL #ifdef _KERNEL #error "/usr/include/osreldate.h cannot be used in the kernel, use sys/param.h" #error "/usr/include/osreldate.h cannot be used in the kernel, use sys/param.h" #else #else #undef __FreeBSD_version #undef __FreeBSD_version #define __FreeBSD_version 500035 #define __FreeBSD_version 500035 #endif #endif ############################ When looking at the output of "make -j13 world", it looks like some parts are being run more than once: ############################ -------------------------------------------------------------- >>> stage 4: populating /usr/obj/usr/src/i386/usr/include -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORM AT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/li bdata/perl/5.6.1 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH= /usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i38 6/usr/share/tmac DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/inst all.sh" PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/ obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 S HARED=symlinks includes incsinstall ===> share/info ===> share/info ===> include ===> include Setting up symlinks to kernel source tree... ############################ John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message