Re: c++filt

2005-03-22 Thread Andrea Venturoli
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 [EMAIL PROTECTED]:/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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c++filt

2005-03-22 Thread Dan Nelson
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
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c++filt

2005-03-22 Thread Andrea Venturoli
Dan Nelson wrote:
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 :)
Thanks.
 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


c++filt

2005-03-21 Thread Andrea Venturoli
Hello.
The above program (from gcc) doesn't exist in base system, and AFAIK no 
ports installs it.
Why? And where/how can I find it?

 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c++filt

2005-03-21 Thread Dan Nelson
In the last episode (Mar 21), Andrea Venturoli said:
 The above program (from gcc) doesn't exist in base system, and AFAIK
 no ports installs it.

It will be in 5.4; it was accidentally broken during the gcc 3.4.2
import and no-one noticed.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: c++filt

2005-03-21 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-03-21, Andrea Venturoli scribbled these
curious markings:
 The above program (from gcc) doesn't exist in base system, and AFAIK no 
 ports installs it.
 Why? And where/how can I find it?

[(12:15:27) [EMAIL PROTECTED] ~] uname -rs
FreeBSD 5.4-PRERELEASE
[(12:15:45) [EMAIL PROTECTED] ~] which c++filt
/usr/bin/c++filt
[(12:15:47) [EMAIL PROTECTED] ~]

[(12:16:00) [EMAIL PROTECTED] ~] uname -rs
FreeBSD 4.10-STABLE
[(12:16:05) [EMAIL PROTECTED] ~] which c++filt
/usr/bin/c++filt
[(12:16:07) [EMAIL PROTECTED] ~]

Which version are you running? Did you install all of the distributions?

(Yes, I know that my systems are out of date. But with GNOME 2.10, Xorg
6.8.2, *AND* KDE 3.4 all hitting the ports tree in very short order, system
upgrades have fallen behind.)

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCPwIpk/lo7zvzJioRAsA4AKCrXgrqieC5X8hdUXIHbUP1IPJJwwCghisW
NyruN5cNIsCozPonQpvr3K8=
=CIHP
-END PGP SIGNATURE-

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated. -- Ken Thompson
If you ask the wrong questions, you get answers like 42 and God.
Unix is user friendly. However, it isn't idiot friendly.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]