From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 07:01:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CCBA16A4CE; Thu, 5 Aug 2004 07:01:45 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F49643D31; Thu, 5 Aug 2004 07:01:45 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i7571WNQ026482; Thu, 5 Aug 2004 00:01:32 -0700 From: Kent Stewart To: freebsd-current@freebsd.org Date: Thu, 5 Aug 2004 00:01:41 -0700 User-Agent: KMail/1.6.2 References: <20040805055630.GA45424@users.altadena.net> <20040805061958.GA46953@freefall.freebsd.org> In-Reply-To: <20040805061958.GA46953@freefall.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408050001.41564.kstewart@owt.com> cc: Alexander Kabaev cc: Pete Carah Subject: Re: Ports broken by compiler upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 07:01:45 -0000 On Wednesday 04 August 2004 11:19 pm, Alexander Kabaev wrote: > On Wed, Aug 04, 2004 at 10:56:30PM -0700, Pete Carah wrote: > > Many ports that compile in C++ are broken by the recent > > compiler upgrade; the packages distribution hasn't caught > > up *at all* either. I know part of the reason is that some > > of the affected ports don't compile at all with the new > > compiler (by trying). I presume that the converse probably > > holds too; once the ports are fixed then the resulting > > packages probably won't work on a current dated before > > last week. It might be a good idea to keep an older > > package directory around for a while for those not-quite- > > so-adventurous types... > > > > Two examples, artsd and aspell both abort instantly with > > undefined symbols; either the name-mangling has changed > > or one or another library has changed, or both. Aspell > > is needed for pan2 to work and artsd is obvious to those > > who like sound in kde. Neither compiles completely as-is > > (artsd itself actually does but several needed "extension" > > modules don't, leaving things less than useful). > > > > This may be old news but... It is not quite enough to > > make sure that the main tree compiles with a newly-committed > > compiler - some of the ports are so widely used (e.g. XFree86) > > that they could be considered to be fairly essential. > > GCC snapshots were available for ports people to test their ports > quite some time in advance. Expecting gcc maintainers to fix all > major ports to work with each new GCC version directy contradicts the > goal of having in-tree compiler updated more often than once every > 100 years. > > I would gladly respond to any bug report, indicating the trouble > with compiler itself, though. > I consider changing compilers like this to be the equivalent of the libintl.so.* changes. You have to think that the interfaces in the headers have changed and everything needs to be rebuilt using the new compiler. Since I updated XFree86 to xorg, I couldn't do a portupgrade -pufa easily. The upgrade had to be done more piece meal. What I have found, with one exception (libxine), is that a -Rf portupgrade did wonders on making individual ports compile again. FWIW, I am not having any problem building artsd or aspell. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html