c++filt

Andrea Venturoli ml.diespammer at netfence.it
Tue Mar 22 01:40:38 PST 2005


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 at 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.


More information about the freebsd-questions mailing list