shared libstdc++ is broken on alphaev56-dec-osf4.0d

Alexandre Oliva oliva@dcc.unicamp.br
Mon Jul 12 20:51:00 GMT 1999


On Jul 10, 1999, Jeffrey A Law <law@cygnus.com> wrote:

>   In message < orwvw8khxu.fsf@cupuacu.lsd.dcc.unicamp.br >you write:

>> Since AFAIK the only reason to link libgcc into the shared libstdc++
>> is to ensure that it's complete, so that it can be dlopened, but this
>> is not currently accomplished, I suggest that we simply stop linking
>> libstdc++ with libgcc, so that we can at least release gcc 2.95 with a
>> working shared libstdc++ on alpha-dec-osf4.0d, and then we can worry
>> about the symbol exporting problem later.

>> Jeff, is this ok for the release branch?  (Maybe for mainline too?)

> No.  I don't want to make this change, particularly this late in the
> cycle.  We're just exchanging one set of known problems for a set of
> unknown problems.

But a *very serious* set of known problems.  The way it is now,
libstdc++ on OSF4/alpha is useless for any non-trivial C++ program.
:-(

Another option would be to link libgcc into libstdc++.so with -all (so
that all objects of libgcc are copied into the shared library), and
arrange that g++ doesn't link with -lgcc in addition to -lstdc++.  But
IMHO this would be much more dangerous than the very simple
work-around I'm suggesting.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



More information about the Gcc-patches mailing list