From owner-freebsd-questions@FreeBSD.ORG Tue May 8 15:28:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0693616A401 for ; Tue, 8 May 2007 15:28:51 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from wmail.teledomenet.gr (wmail.teledomenet.gr [213.142.128.16]) by mx1.freebsd.org (Postfix) with ESMTP id 83EA113C489 for ; Tue, 8 May 2007 15:28:48 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris (unknown [192.168.1.71]) by wmail.teledomenet.gr (Postfix) with ESMTP id 587351C8BA1; Tue, 8 May 2007 17:57:20 +0300 (EEST) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 8 May 2007 17:51:23 +0300 User-Agent: KMail/1.9.1 References: <200705072007.10297.lane@joeandlane.com> <20070508025854.7ddffb88@gumby.homeunix.com.> <200705080843.38610.lane@joeandlane.com> In-Reply-To: <200705080843.38610.lane@joeandlane.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705081751.23917.nvass@teledomenet.gr> Cc: Lane Subject: Re: Rough go moving from 5.4-RELEASE to 6.X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2007 15:28:51 -0000 On Tuesday 08 May 2007 16:43, Lane wrote: > On Monday 07 May 2007 20:58, RW wrote: > > On Mon, 7 May 2007 20:07:09 -0500 > > > > Lane wrote: > > > I'm trying to upgrade from 5.4 to ANYTHING and I'm confounded by > > > > > > I've tried with (in /etc/cvsupfile) "tag=" each of RELENG_5, > > > RELENG_5_5, RELENG_6, and several others. It even fails when I try > > > to just get the source to RELENG_5_4. > > > > Did you check UPDATING to see that you actually had the source > > for RELENG_5_4? > > Yes. I can cvsup or "make update" to any valid release. I can verify > this by, as I mentioned, wiping out /usr/src and then running cvsup. > > > Have you tried using an empty make.conf file? > > Yes. Build still fails. > > I can > > make buildkernel > make installkernel > > and reboot into 5.4, 5.5, 6.0, 6.1 or 6.2 > > The errors occur only when I use > > make buildworld You do "rm -r /usr/obj", everytime right? > > There is this note in /usr/src/UPDATING, which I am currently tracking > as the root of my problems. However it is a bit of a stretch since I > built this system AFTER 7/2004 ... still ... it may be the root ... But > then that doesn't explain why the kernel installs ... UGH! I'm weary > ... > > 20040728: > System compiler has been upgraded to GCC 3.4.2-pre. As with any > major compiler upgrade, there are several issues to be aware of. GCC > 3.4.x has broken C++ ABI compatibility with previous releases yet again > and users will have to rebuild all their C++ programs with the new > compiler. A new unit-at-a-time optimization mode, which is default in > this compiler release, is more aggressive in removing unused static > symbols. This is the likely cause of 'make buildworld' breakages with > non-default CFLAGS where optimization level is set to -O2 or higher. > > With the upgrade of the system compiler, the kernel has been > upgraded to match the new system compiler. This makes it impossible to > build a new kernel with the old compiler. Upgrade your system via make > buildworld and make kernel (see below) to fix this problem. Did you try building 5.4-RELEASE? Just to rule out the possibility of a broken update mechanism? Just a few wild guesses... Nikos