From owner-freebsd-questions Tue May 25 11:50:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 51A6B158CA for ; Tue, 25 May 1999 11:50:44 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id LAA14440; Tue, 25 May 1999 11:49:28 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 25 May 1999 11:49:27 -0700 (PDT) From: Doug White To: Ken Seggerman Cc: questions@FreeBSD.ORG Subject: Re: gcc 2.8.1 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24 May 1999, Ken Seggerman wrote: > I have recently installed FreeBSD 3.1 from the CD-rom on my Toshiba > laptop. > > I installed gcc.2.8.1 and glibstdc++-2.8.1.1 packages from the > CD-rom. > > When I try to compile with g++ 2.8.1, I get the following errors > before anything gets compiled: > > /usr/lib/libstdc++.so: undefined reference to `__unwind_function' > /usr/lib/libstdc++.so: undefined reference to > `__find_first_exception_table_match' > /usr/lib/libstdc++.so: undefined reference to `__register_exceptions' > > The same sources compile fine with gcc 2.7.2.1 which seems to be the > default compiler with which I re-built my kernel. This should tell you something: don't stray from the default compiler unless you know what you're getting into. C++ is especially broken. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message