Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2004 23:00:27 -0800
From:      Bruce M Simpson <bms@spc.org>
To:        freebsd-hackers@FreeBSD.org
Cc:        kan@FreeBSD.org
Subject:   c++filt is broken
Message-ID:  <20041106070027.GB11401@empiric.icir.org>

next in thread | raw e-mail | index | archive | help

--2Z2K0IlrPCVsbNpk
Content-Type: multipart/mixed; boundary="32u276st3Jlj2kUU"
Content-Disposition: inline


--32u276st3Jlj2kUU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

c++filt is broken, at least on 5.3 and -CURRENT. It no longer builds
during a buildworld. This is really annoying for those of using the
base system compiler to build large C++ projects.

I've attached a Makefile which works for me; I haven't integrated it
into my local buildworld, though.

BMS

--32u276st3Jlj2kUU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=Makefile

#	$XORP$

S=	/usr/src
.PATH:	$S/contrib/gcc

PROG=	c++filt
SRCS=	cp-demangle.c dyn-string.c
CFLAGS+= -DSTANDALONE_DEMANGLER
CFLAGS+= -Dxmalloc=malloc -Dxrealloc=realloc
LDADD+=	-lgcc
NOMAN=	defined

test:	${PROG}
	${.OBJDIR}/${PROG} < ${.CURDIR}/sample

.include <bsd.prog.mk>

--32u276st3Jlj2kUU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=sample

N11__gnu_debug14_Safe_iteratorIN10__gnu_norm14_List_iteratorIP7BGPPeerEEN15__gnu_debug_def4listIS4_SaIS4_EEEEE

--32u276st3Jlj2kUU--

--2Z2K0IlrPCVsbNpk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: ''

iD8DBQFBjHaKueUpAYYNtTsRAovDAJ9tFbweHHvvtAKhrtrt+od+u7BkYQCcCw+h
nW99tmP/95rxEC41qURxE6c=
=BAOh
-----END PGP SIGNATURE-----

--2Z2K0IlrPCVsbNpk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041106070027.GB11401>