From owner-freebsd-sparc64@FreeBSD.ORG Wed Feb 4 10:46:35 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6705116A4CE for ; Wed, 4 Feb 2004 10:46:35 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-165-226-221.dsl.lsan03.pacbell.net [64.165.226.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 866AA43D3F for ; Wed, 4 Feb 2004 10:46:31 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 180E366D36; Wed, 4 Feb 2004 10:46:28 -0800 (PST) Date: Wed, 4 Feb 2004 10:46:28 -0800 From: Kris Kennaway To: "Goodleaf, John M" Message-ID: <20040204184627.GA26094@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: "'freebsd-sparc64@freebsd.org'" Subject: Re: new to sparc64 -- build problems X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 18:46:35 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 04, 2004 at 09:48:29AM -0800, Goodleaf, John M wrote: > Hello, >=20 > I'm trying to buildworld (CURRENT) on a Sun Ultra 5. I always hit the > following error, regardless of the cvsup date: >=20 > cc -O -pipe -mcpu=3Dultrasparc -I. -static -DGENERATOR_FILE > -DTARGET_CPU_DEFAULT=3DTARGET_CPU_ultrasparc -DIN_GCC -DHAVE_CONFIG_H > -DPREFIX=3D\"/usr\" > -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config=20 > -I/usr/obj/usr/src/sparc64/legacy/usr/include -c > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c > In file included from hconfig.h:1, > from /usr/src/contrib/gcc/gencheck.c:21: > /usr/src/gnu/usr.bin/cc/cc_tools/auto-host.h:320:2: #error "I don't > know what arch this is." > *** Error code 1 >=20 > Stop in /usr/src/gnu/usr.bin/cc/cc_tools. > *** Error code 1 >=20 > I've tried setting the __sparc64__ and defining environment > variables like MACHINE_ARCH, but it just doesn't work. Is this > covered somewhere in some documentation I've not seen? Nope, buildworld is supposed to (and does, on my machines) just work. Can you please post your cvsupfile so we can verify it? Kris --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAIT4DWry0BWjoQKURAkgVAJ9HwpzP/eKGfz/EFMCwMcqV4TjP/gCaAvNF SULMZgFhtz3loest+hFiEdE= =bIua -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--