From owner-freebsd-sparc64@FreeBSD.ORG Wed Nov 16 16:34:52 2005 Return-Path: X-Original-To: sparc@freebsd.org 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 6F95016A41F for ; Wed, 16 Nov 2005 16:34:52 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B44E543D46 for ; Wed, 16 Nov 2005 16:34:51 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.11/8.12.11/ZEIST.DE) with ESMTP id jAGGYnl0063050; Wed, 16 Nov 2005 17:34:49 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id jAGGYiXj063049; Wed, 16 Nov 2005 17:34:44 +0100 (CET) (envelope-from marius) Date: Wed, 16 Nov 2005 17:34:44 +0100 From: Marius Strobl To: Jason Message-ID: <20051116173443.A62864@newtrinity.zeist.de> References: <20051116020629.GA30015@monsterjam.org> <20051116023315.GA37305@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20051116023315.GA37305@xor.obsecurity.org>; from kris@obsecurity.org on Tue, Nov 15, 2005 at 09:33:15PM -0500 X-AntiVirus-modified: yes X-AntiVirus: checked by AntiVir Milter (version: 1.1.1-9; AVE: 6.32.0.58; VDF: 6.32.0.188; host: newtrinity.zeist.de) Cc: sparc@freebsd.org, Kris Kennaway Subject: Re: failed upgrade from 5.4-STABLE -> 6 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 16:34:52 -0000 On Tue, Nov 15, 2005 at 09:33:15PM -0500, Kris Kennaway wrote: > On Tue, Nov 15, 2005 at 09:06:29PM -0500, Jason wrote: > > ive got a 5.4 box that im trying to upgrade to 6.. > > all I did was use the RELENG_6 tag and did make world and I error out at > > > > cc -shared -nostdlib hack.c -o hack.So > > rm -f hack.c > > MAKE=/usr/obj/usr/src/make.sparc64/make sh /usr/src/sys/conf/newvers.sh GENERIC > > cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. > > -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > > -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > > -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > > -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medlow > > -msoft-float -ffreestanding -Werror vers.c > > linking kernel > > zs.o(.text+0x488): In function `zstty_attach': > > : undefined reference to `zstty_console' > > zs.o(.text+0x103c): In function `zstty_param': > > : undefined reference to `zstty_set_speed' > > *** Error code 1 > > Your kernel config is incomplete. Go back to GENERIC or carefully > inspect the differences. > Actually you have a superfluous 'device zs' in your kernel config file; zs(4) is no longer supported on sparc64 in FreeBSD 6 and onwards. It's probably a good idea to start with a new kernel config file based on GENERIC in FreeBSD 6 as lots of the console and tty driver related stuff has changed on sparc64 between FreeBSD 5 and 6. Also make sure to update /etc/ttys accordingly. Marius -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details.