Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 13:15:03 -0700
From:      Mark Peek <mark@whistle.com>
To:        Warner Losh <imp@harmony.village.org>, obrien@FreeBSD.ORG
Cc:        Dag-Erling Smorgrav <des@ofug.org>, Bruce Evans <bde@zeta.org.au>, Kris Kennaway <kris@obsecurity.org>, John Baldwin <jhb@FreeBSD.ORG>, freebsd-current@FreeBSD.ORG, Jim.Pirzyk@disney.com, mjacob@feral.com, Jordan Hubbard <jkh@osd.bsdi.com>
Subject:   Re: chgrp broken on alpha systems
Message-ID:  <p05100311b76e6e2b4960@[207.76.207.129]>
In-Reply-To: <200107081949.f68JnnJ80938@harmony.village.org>
References:  <20010708100844.A65478@dragon.nuxi.com>  <Pine.BSF.4.21.0107081729520.78285-100000@besplex.bde.org> <xzpd77bs68x.fsf@flood.ping.uio.no> <200107081949.f68JnnJ80938@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 1:49 PM -0600 7/8/01, Warner Losh wrote:
>In message <20010708100844.A65478@dragon.nuxi.com> "David O'Brien" writes:
>: On Sun, Jul 08, 2001 at 07:03:26PM +0200, Dag-Erling Smorgrav wrote:
>: > Bruce Evans <bde@zeta.org.au> writes:
>: > > [explaining how to build an LP64 world on i386]
>: >
>: > I just had a major "doh" moment...
>: >
>: > # cd /usr/src
>: > # make MACHINE_ARCH=alpha buildworld >& /var/log/world.alpha &
>: > [1] 13655
>: >
>: > Ought to catch any Alpha WARNS fuckups.  Or did I overlook something?
>:
>: It doesn't work anymore.
>
>What's the misfunction?  I do the above with MACHINE_ARCH=pc98 on my
>i386 box all the time to build pc98 worlds.


It probably works since i386 and pc98 are similar. I'm trying an 
alpha cross build as we speak. So far I needed to apply this patch to 
get around having -mcpu=ev4 being fed to the i386 compiler during the 
build tools phase.


Index: Makefile.inc1
===================================================================
RCS file: /cvs/freebsd/src/Makefile.inc1,v
retrieving revision 1.205
diff -u -r1.205 Makefile.inc1
--- Makefile.inc1	2001/06/14 01:35:22	1.205
+++ Makefile.inc1	2001/07/08 20:06:34
@@ -185,6 +185,7 @@
  # build-tool stage
  TMAKEENV=	MAKEOBJDIRPREFIX=${OBJTREE} \
  		INSTALL="sh ${.CURDIR}/tools/install.sh" \
+		MACHINE_ARCH=`uname -m` \
  		PATH=${TMPPATH}
  TMAKE=		${TMAKEENV} ${MAKE} -f Makefile.inc1


Mark

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?p05100311b76e6e2b4960>