Date: Mon, 21 Sep 1998 17:37:01 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: chuckr@mat.net, luoqi@watermarkgroup.com Cc: freebsd-current@FreeBSD.ORG, smp@csn.net Subject: Re: make -j # buildworld Message-ID: <199809212137.RAA22851@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> You know more about it than I, Luoqi, but please realize that I've
> talked with no one else who's seeing my problem ... which might even
> mean that it's not a Makefile problem, it could well be something
> screwey with my own environment. Why don't you let me test it (to see
> if it fixes my problem) and let, say, Jordan or Steve P. test it (as a
> representative of everyone else who _doesn't_ see it).
>
> I'd love to have my problem fixed, but only if it's a FreeBSD problem.
> Mail me your patches, please. Thanks _very_ much for helping me.
>
I think it is not just you. There have been quite a few reports on this
problem in -current (one of them was mine). I guess everyone pretty much
ignored it because it is so insignificant compared to what has been going
on in the last few weeks and there's a work-around for it (by setting
NOAOUT to true).
-lq
> ----------------------------+-----------------------------------------------
> Chuck Robey | Interests include any kind of voice or data
> chuckr@glue.umd.edu | communications topic, C programming, and Unix.
> 213 Lakeside Drive Apt T-1 |
> Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current)
> (301) 220-2114 | and jaunt (NetBSD).
> ----------------------------+-----------------------------------------------
>
Here goes the patch:
Index: Makefile.inc0
===================================================================
RCS file: /home/ncvs/src/Makefile.inc0,v
retrieving revision 1.8
diff -u -r1.8 Makefile.inc0
--- Makefile.inc0 1998/09/17 16:32:00 1.8
+++ Makefile.inc0 1998/09/17 22:43:08
@@ -42,10 +42,11 @@
#
# Temporary path and environment for the legacy build.
#
-ELFTMPPATH= ${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/sbin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/bin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/usr/sbin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/usr/bin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/usr/games
-LEGACY_ENV= MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout \
- PATH=${ELFTMPPATH} OBJFORMAT=aout NOTOOLS=1 \
- TOOLROOT=${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp
+ELFTMP= ${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp
+ELFTMPPATH= ${ELFTMP}/sbin:${ELFTMP}/bin:${ELFTMP}/usr/sbin:${ELFTMP}/usr/bin:${ELFTMP}/usr/games
+LEGACY_ENV= PATH=${ELFTMPPATH} OBJFORMAT=aout NOTOOLS=1 TOOLROOT=${ELFTMP} \
+ MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout
+XMAKE= ${ELFTMP}/usr/bin/${MAKE}
#
# world
@@ -67,11 +68,11 @@
.endif
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
- @cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} legacy-build
+ @cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
.endif
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} -B installworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
- @cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} legacy-install
+ @cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-install
.endif
.if target(post-world)
@echo
@@ -94,7 +95,7 @@
buildworld :
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
- @cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} legacy-build
+ @cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
.endif
#
@@ -106,5 +107,5 @@
installworld :
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} installworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
- @cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} -DNOMAN -DNOINFO legacy-install
+ @cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} -DNOMAN -DNOINFO legacy-install
.endif
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809212137.RAA22851>
