Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 11:49:27 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Ken Seggerman <suleyman@echonyc.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: gcc 2.8.1
Message-ID:  <Pine.BSF.4.03.9905251148580.13061-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.GSO.4.10.9905241146130.8785-100000@echonyc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9905251148580.13061-100000>