repost: libg++ won't build on alphaev56-dec-osf4.0d
Manfred Hollstein
manfred@s-direktnet.de
Wed Dec 16 15:20:00 GMT 1998
On nil, 16 December 1998, 06:37:29, oliva@dcc.unicamp.br wrote:
> On Dec 15, 1998, Manfred Hollstein <manfred@s-direktnet.de> wrote:
>
> > On nil, 14 December 1998, 11:45:38, oliva@dcc.unicamp.br wrote:
>
> >> It clearly means there's something wrong with the way shared libraries
> >> are being built on DU, but I don't have the faintest idea on how to
> >> fix it :-(
>
> > Sorry, I must have missed your first posting. Could you try to find
> > out, which particular module in libstdc++.so is defining __throw?
>
> No object from libstdc++/piclist is defining __throw directly. The
> problem appears to be that libstdc++.so is being linked with libgcc
> and importing symbols from it, and then libg++ complains because it
> tries to import the same symbol into the library, but then it finds it
> in libgcc.a and libstdc++.so :-(
Could you please try the patch below and tell me, if it fixes your problem?
If so, I'll include it in the next libg++ snapshot. I simply omitted
libstdc++ from being linked to the shared libg++; as "g++" adds "-lstdc++"
anyway, there shouldn't be any drawback.
manfred
1998-12-16 Manfred Hollstein <manfred@s-direktnet.de>
* config/dec-osf.ml (SHDEPS): Don't link with -lstdc++.
diff -rup -x CVS -x RCS -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el libg++-2.8.1.2a-19981209.orig/libg++/config/dec-osf.ml libg++-2.8.1.2a-19981209/libg++/config/dec-osf.ml
--- libg++-2.8.1.2a-19981209.orig/libg++/config/dec-osf.ml Mon Aug 31 09:21:11 1998
+++ libg++-2.8.1.2a-19981209/libg++/config/dec-osf.ml Wed Dec 16 18:32:14 1998
@@ -1 +1,2 @@
BUILD_LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK)
+SHDEPS = -lm
More information about the Gcc-bugs
mailing list