building gcc-2.8.1-980206 on alpha-unknown-linux-gnu
H.J. Lu
hjl@lucon.org
Sat Feb 14 14:09:00 GMT 1998
>
> 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)
More information about the Gcc
mailing list