From owner-freebsd-current Thu Nov 5 00:00:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA01208 for freebsd-current-outgoing; Thu, 5 Nov 1998 00:00:42 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.gtn.com (mail.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA01203 for ; Thu, 5 Nov 1998 00:00:40 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by mail.gtn.com (8.8.6/8.8.6) with UUCP id JAA14050 for current@FreeBSD.ORG; Thu, 5 Nov 1998 09:00:04 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id IAA01683 for current@FreeBSD.ORG; Thu, 5 Nov 1998 08:51:14 +0100 (CET) (envelope-from andreas) Message-ID: <19981105085114.A1125@klemm.gtn.com> Date: Thu, 5 Nov 1998 08:51:14 +0100 From: Andreas Klemm To: current@FreeBSD.ORG Subject: ${MACHINE_ARCH} is still a show stopper in make aout-to-elf-build Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 2.2.7-STABLE SMP Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The upgrade process still doesn't work, because MACHINE_ARCH isn't defined in -STABLE ;-) root{540} /usr/src time make aout-to-elf-build | & tee make.log -------------------------------------------------------------- Doing an aout buildworld to get an up-to-date set of tools -------------------------------------------------------------- "Makefile.inc1", line 755: Need an operator "Makefile.inc1", line 1000: 1 open conditional make: fatal errors encountered -- cannot continue *** Error code 1 Stop. *** Error code 1 I "merged" this locally from -current, but it didn't help: --- bsd.own.mk.orig Thu Nov 5 08:45:54 1998 +++ bsd.own.mk Thu Nov 5 08:46:06 1998 @@ -116,6 +116,10 @@ # # INCLUDEDIR Base path for standard C include files [/usr/include] +# This is only here for bootstrapping and is not officially exported +# from here. It has normally already been defined in sys.mk. +MACHINE_ARCH?= i386 + # Binaries BINOWN?= bin BINGRP?= bin --- sys.mk.orig Thu Nov 5 08:46:44 1998 +++ sys.mk Thu Nov 5 08:47:14 1998 @@ -94,6 +94,12 @@ YFLAGS ?= -d .endif +# FreeBSD/i386 as traditionally been built with a version of make +# which knows MACHINE, but not MACHINE_ARCH. When building on other +# architectures, assume that the version of make being used has an +# explicit MACHINE_ARCH setting and treat a missing MACHINE_ARCH# as an i386 architecture. +MACHINE_ARCH ?= i386 + # For tags rule. GTAGSFLAGS= -se HTAGSFLAGS= Even a make -DMACHINE_ARCH=i386 aout-to-elf-build doesn't work. Well, where have these magic runes to go in ??? Sorry no time left, have to go to work. Andreas /// -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message