new to sparc64 -- build problems

Goodleaf, John M jgoodlea at fhcrc.org
Wed Feb 4 12:32:22 PST 2004


No problem. It's small.
_______________________________
# $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.27 2003/09/18
08:19:39 eivind Exp $
*default host=cvsup3.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
_______________________________

Thanks for your help.
-John

-----Original Message-----
From: Kris Kennaway [mailto:kris at obsecurity.org]
Sent: Wednesday, February 04, 2004 10:46 AM
To: Goodleaf, John M
Cc: 'freebsd-sparc64 at freebsd.org'
Subject: Re: new to sparc64 -- build problems


On Wed, Feb 04, 2004 at 09:48:29AM -0800, Goodleaf, John M wrote:
> 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?

Nope, buildworld is supposed to (and does, on my machines) just work.
Can you please post your cvsupfile so we can verify it?

Kris



More information about the freebsd-sparc64 mailing list