From owner-freebsd-questions@FreeBSD.ORG Tue Mar 22 09:40:38 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 1C13816A4D0 for ; Tue, 22 Mar 2005 09:40:38 +0000 (GMT) Received: from parrot.aev.net (host29-15.pool8174.interbusiness.it [81.74.15.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FCAA43D5E for ; Tue, 22 Mar 2005 09:40:34 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-125-24.37-151.net24.it [151.37.24.125]) (authenticated bits=128) by parrot.aev.net (8.13.1/8.13.1) with ESMTP id j2M9xfJs040245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 22 Mar 2005 10:59:48 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Received: from netfence.it (xanatar.ventu [10.1.2.6]) (authenticated bits=0) by soth.ventu (8.13.3/8.13.1) with ESMTP id j2M9c2dM025943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 22 Mar 2005 10:38:03 +0100 (CET) (envelope-from ml.diespammer@netfence.it) Message-ID: <423FE8B9.20202@netfence.it> Date: Tue, 22 Mar 2005 10:43:21 +0100 From: Andrea Venturoli Organization: NetFence User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: it,en,fr,de MIME-Version: 1.0 To: Dan Nelson , freebsd-questions@freebsd.org 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> In-Reply-To: <20050321212024.GJ5243@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.45 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 09:40:38 -0000 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 :) > > If your kernel version says 5.3p5, then you are tracking 5.3-stable > (cvs branch RELENG_5_3). If you were tracking -stable (cvs branch > RELENG_5), your kernel would say 5.4-PRERELEASE. If you only update > /usr/src/sys/ (i.e. just the kernel), then you are still running a > plain 5.3-RELEASE userland, which would explain why c++filt isn't > building. Then I'm tracking 5.3-stable: > soth# uname -a > FreeBSD soth.ventu 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #1: Mon Feb 28 00:34:36 > CET 2005 root@soth.ventu:/usr/obj/usr/src/sys/SOTH i386 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: > soth# cd /usr/src/gnu/usr.bin/cc/c++filt/ > soth# make > Warning: Object directory not changed from original /usr/src/gnu/usr.bin/cc/c++f > ilt > cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/src/gnu/usr.bin/c > c/c++filt/../cc_tools -I/usr/src/gnu/usr.bin/cc/c++filt/../cc_tools -I/usr/src/g > nu/usr.bin/cc/c++filt/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/c++filt/ > ../../../../contrib/gcc/config -DSTANDALONE_DEMANGLER -DIN_GCC -DVERSION=\"\" - > c /usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cp-demangle.c > /usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cp-demangle.c:86:20: con > fig.h: No such file or directory > /usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cp-demangle.c: In functi > on `d_print_resize': > /usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cp-demangle.c:2658: warn > ing: assignment makes pointer from integer without a cast > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/cc/c++filt. bye & Thanks av.