From owner-freebsd-sparc64@FreeBSD.ORG Wed Feb 4 09:48:42 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 63E9516A4CF for ; Wed, 4 Feb 2004 09:48:42 -0800 (PST) Received: from mazzite.fhcrc.org (mazzite.fhcrc.org [140.107.152.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8886343D58 for ; Wed, 4 Feb 2004 09:48:36 -0800 (PST) (envelope-from jgoodlea@fhcrc.org) Received: from e500b.fhcrc.org (e500b.fhcrc.org [140.107.52.110]) i14HmaLt006788 for ; Wed, 4 Feb 2004 09:48:36 -0800 Received: from jarlite.fhcrc.org(140.107.42.11) by e500b.fhcrc.org via csmap id 18984; Wed, 04 Feb 2004 09:49:17 -0800 (PST) Received: from shemp.fhcrc.org (shemp.fhcrc.org [140.107.42.41]) i14HmZjx005771 for ; Wed, 4 Feb 2004 09:48:35 -0800 Received: by shemp.fhcrc.org with Internet Mail Service (5.5.2657.72) id ; Wed, 4 Feb 2004 09:48:34 -0800 Message-ID: From: "Goodleaf, John M" To: "'freebsd-sparc64@freebsd.org'" Date: Wed, 4 Feb 2004 09:48:29 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-FHCRC: INTERNAL Subject: 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 17:48:42 -0000 Hello, I'm trying to buildworld (CURRENT) on a Sun Ultra 5. I always hit the following error, regardless of the cvsup date: cc -O -pipe -mcpu=ultrasparc -I. -static -DGENERATOR_FILE -DTARGET_CPU_DEFAULT=TARGET_CPU_ultrasparc -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/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 -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 Stop in /usr/src/gnu/usr.bin/cc/cc_tools. *** Error code 1 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? Thanks, John