From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 07:00:41 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A48F16A4CE; Sat, 6 Nov 2004 07:00:41 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DCF143D46; Sat, 6 Nov 2004 07:00:40 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id B04EF651FA; Sat, 6 Nov 2004 07:00:38 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 46923-02-5; Sat, 6 Nov 2004 07:00:38 +0000 (GMT) Received: from empiric.dek.spc.org (dhcp120.icir.org [192.150.187.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 0EF7A651F4; Sat, 6 Nov 2004 07:00:38 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 7F4B46253; Fri, 5 Nov 2004 23:00:27 -0800 (PST) Date: Fri, 5 Nov 2004 23:00:27 -0800 From: Bruce M Simpson To: freebsd-hackers@FreeBSD.org Message-ID: <20041106070027.GB11401@empiric.icir.org> Mail-Followup-To: freebsd-hackers@FreeBSD.org, kan@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2Z2K0IlrPCVsbNpk" Content-Disposition: inline cc: kan@FreeBSD.org Subject: c++filt is broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 07:00:41 -0000 --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 --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--