This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: building gcc-2.8.1-980206 on alpha-unknown-linux-gnu
- To: oliva at dcc dot unicamp dot br (Alexandre Oliva)
- Subject: Re: building gcc-2.8.1-980206 on alpha-unknown-linux-gnu
- From: hjl at lucon dot org (H.J. Lu)
- Date: Sat, 14 Feb 1998 13:46:35 -0800 (PST)
- Cc: g++ at cygnus dot com, egcs at cygnus dot com, kenner at vlsi1 dot ultra dot nyu dot edu
>
> Hi!
>
> I've had a bit of trouble building gcc-2.8.1-980206 with egcs-980205's
> libstdc++ and libg++-2.8.1-980201. The problem occurs when it tries
> to build gperf in libg++: the virtual table definition for class
> exception is missing.
>
> I found out egcs seems to enable vtable-thunks by default, whereas gcc
> doesn't (and I don't understand why! any clues?), but libstdc++ and
> libg++ are both compiled with -fvtable-thunks regardless of the
> default vtable format.
>
> I think this is asking for trouble. libstdc++ and libg++ should be
> built with whatever vtable format g++ uses by default, otherwise users
> will have to compile (almost) any C++ program with this flag.
>
> If g++ uses an inapropriate vtable format by default, g++ must be
> changed to use the appropriate one.
>
DON'T USE gcc 2.8 on linux/alpha. As far as I know, it is broken.
egcs is fine. To make gcc 2.8 working, you need many changes in
config/alpha and config scripts from egcs. But I have no idea how
they will interact with gcc 2.8.
--
H.J. Lu (hjl@gnu.org)