From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 20:23:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3DB516A4CE for ; Fri, 30 Jul 2004 20:23:33 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F18B43D1D for ; Fri, 30 Jul 2004 20:23:33 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (localhost [127.0.0.1]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i6UKMTNH077340; Fri, 30 Jul 2004 13:22:29 -0700 (PDT) (envelope-from marcel@ns1.xcllnt.net) Received: (from marcel@localhost) by ns1.xcllnt.net (8.12.11/8.12.11/Submit) id i6UKMTEj077339; Fri, 30 Jul 2004 13:22:29 -0700 (PDT) (envelope-from marcel) Date: Fri, 30 Jul 2004 13:22:29 -0700 From: Marcel Moolenaar To: Michael Nottebrock Message-ID: <20040730202229.GA77274@ns1.xcllnt.net> References: <200407302159.45444.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407302159.45444.michaelnottebrock@gmx.net> User-Agent: Mutt/1.5.5.1i cc: asa@gascom.ru cc: freebsd-current@freebsd.org Subject: Re: Funky compile error with new gcc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 20:23:33 -0000 On Fri, Jul 30, 2004 at 09:59:45PM +0200, Michael Nottebrock wrote: > The cups-base port fails in a rather strange fashion since the recent gcc > import. Does anybody have a clue what might be the cause and how to fix it? > > cc -L../cups -L../filter ?-L/usr/local/lib -Wl,-R/usr/local/lib -Wall > -fPIC ?-o pdftops pdftops.o libxpdf.a -lcups ?-lcrypt ? -lsupc++ -lm > /usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x1a): In function > `__cxa_throw': > : undefined reference to `__cxxabiv1::__unexpected_handler' opteron% nm libsupc++.a | grep unexpected_ U _ZN10__cxxabiv120__unexpected_handlerE U _ZN10__cxxabiv120__unexpected_handlerE opteron% nm libstdc++.a | grep unexpected_ 0000000000000000 D _ZN10__cxxabiv120__unexpected_handlerE U _ZN10__cxxabiv120__unexpected_handlerE U _ZN10__cxxabiv120__unexpected_handlerE You probably want to use the C++ driver for the link, add libstdc++ yourself or remove libsupc++ from the link... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net