From owner-freebsd-questions@FreeBSD.ORG Tue Mar 22 15:40:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2A2116A4CE for ; Tue, 22 Mar 2005 15:40:07 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E75D843D48 for ; Tue, 22 Mar 2005 15:40:06 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j2MFe64K022421; Tue, 22 Mar 2005 09:40:06 -0600 (CST) (envelope-from dan) Date: Tue, 22 Mar 2005 09:40:06 -0600 From: Dan Nelson To: Andrea Venturoli Message-ID: <20050322154005.GP5243@dan.emsphone.com> References: <423EFE02.3050307@netfence.it> <20050321171510.GE5243@dan.emsphone.com> <423F04D0.1090605@netfence.it> <20050321173924.GF5243@dan.emsphone.com> <423F374D.3040400@netfence.it> <20050321212024.GJ5243@dan.emsphone.com> <423FE8B9.20202@netfence.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <423FE8B9.20202@netfence.it> X-OS: FreeBSD 5.4-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-questions@freebsd.org Subject: Re: c++filt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 15:40:07 -0000 In the last episode (Mar 22), Andrea Venturoli said: > Dan Nelson wrote: > >In the last episode (Mar 21), Andrea Venturoli said: > >>Dan Nelson wrote: > > I'm reverting to the mailing list, since this is possibly getting > interesting for other people too. > > >>>The change was also committed to the RELENG_5_3 branch after 5.3 > >>>was released, so if you're tracking 5.3-stable, you should be able > >>>to just cd into /usr/src/gnu/usr.bin/cc/c++filt and run "make ; > >>>make install". > >> > >>Nope. I'm still on 5.3p5 (I usually stuck to releases) and it does > >>not work. I'll just wait for 5.4; in the meanwhile I'll have to > >>resort from time to time to that old Debian machine :) > > And I'm doing this by means of the following lines in my supfile: > > >*default host=cvsup.it.FreeBSD.org > >*default base=/usr/local/netfence/etc/cvsup > >*default prefix=/usr > > *default release=cvs tag=RELENG_5_3 > > src-all > > Still, if I follow your suggestion, I get an error: > > >/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cp-demangle.c:86:20: config.h: No such file or directory It looks like gcc and friends need to be built as one unit; config.h gets built by the cc_tools directory. Try doing your build from /usr/src/gnu/usr.bin/cc , and do the regular "make depend ; make ; make install" series. The official way to source-upgrade from any version of FreeBSD to another is to do a full buildworld/ buildkernel/ installkernel/ installworld series (even p# releases, since there may be security fixes in userland binaries), so trying to build single binaries after the fact isn't guaranteed to be easy (or work). -- Dan Nelson dnelson@allantgroup.com