From owner-freebsd-stable Tue May 15 9:54: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailc.telia.com (mailc.telia.com [194.22.190.4]) by hub.freebsd.org (Postfix) with ESMTP id DA77737B422 for ; Tue, 15 May 2001 09:53:55 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailc.telia.com (8.11.2/8.11.0) with ESMTP id f4FGrsw05551 for ; Tue, 15 May 2001 18:53:54 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id SAA10109 for ; Tue, 15 May 2001 18:53:54 +0200 (CEST) Received: (qmail 48611 invoked by uid 1001); 15 May 2001 16:53:52 -0000 Date: Tue, 15 May 2001 18:53:52 +0200 From: Erik Trulsson To: "Eugene M. Kim" Cc: stable@FreeBSD.ORG Subject: Re: Old compiler (3.3-stable -> 4->stable) Message-ID: <20010515185351.A48598@student.uu.se> Mail-Followup-To: "Eugene M. Kim" , stable@FreeBSD.ORG References: <20010516014155.A19796@the-7.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010516014155.A19796@the-7.net>; from ab@astralblue.net on Wed, May 16, 2001 at 01:41:55AM +0900 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 16, 2001 at 01:41:55AM +0900, Eugene M. Kim wrote: > Greetings, > > I'm having some hard time getting a machine upgraded from 3.3-stable to > 4-stable. > > src/UPDATING says I would have to recompile the kernel before trying to > make world (my system was built before the S-day). However, when I try > to compile the kernel (and modules), by doing `make kernel' in src, I > get two types of errors: > > * -mpreferred-stack-boundary, used in bsd.kern.mk, is unrecognized by > the compiler installed in the system. This can be worked around by > commenting out the offending option from bsd.kern.mk. > > * Then, while compiling sys/i386/i386/bioscall.s, as complains it has > seen an invalid x86 assembler instruction on the *standard input* (i.e. > does not say exactly where it has). > > Judging from the above, it seems that the system compiler has to be > upgraded first (i.e. make depend all install in src/gnu/usr.bin/cc and > src/gnu/usr.bin/binutils/as at least). But, as said above, my system > was built before the S-day, so I'm afraid if there'd be any side effect > caused by doing so. > > Could anyone shed a light on this? > You will probably have to do the upgrade in several steps: First upgrade to 3.5-STABLE Then go to 4.1-RELEASE And then to 4.3-STABLE And read src/UPDATING from the version you are updating to. I think the above sequence should cause the smallest amount of problems. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message