repost: libg++ won't build on alphaev56-dec-osf4.0d

Alexandre Oliva oliva@dcc.unicamp.br
Mon Dec 14 09:03:00 GMT 1998


Anyone got any idea on how to work around this problem?  I've had to
copy libg++.a to libg++.so after a failed build and continue from then
DU4.0 for more than a month :-(

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 :-(

I know I'm supposed to be able to overcome this problem, as the
maintainer of libtool, but I'm no DU hacker :-)

Any suggestions?

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
------- Start of forwarded message -------
To: egcs-bugs@cygnus.com
Subject: libg++ won't build on alphaev56-dec-osf4.0d
From: Alexandre Oliva <oliva@dcc.unicamp.br>
Date: 27 Oct 1998 22:23:06 -200
Message-ID: <orlnm15yc5.fsf@araguaia.dcc.unicamp.br>
MIME-Version: 1.0 (generated by SEMI 1.10.1 - "Morimoto")
Content-Type: text/plain; charset=US-ASCII

After installing Mark Mitchell's patch to work around the compilation
problem for libio in the latest snapshot and restarting the build in a
completely clean tree, I found the following problem:

make[2]: Leaving directory `/usr/local/tmp/egcs/alphaev56-dec-osf4.0d/libg++/src'
/usr/local/tmp/egcs/gcc/xgcc -B/usr/local/tmp/egcs/gcc/ -B/n/temp1/gcctest/egcs/alpha-OSF1-V4.0/alphaev56-dec-osf4.0d/bin/ -g -O2 -fno-implicit-templates  -shared -o libg++.so.2.8.1.2 `cat piclist` -L../libstdc++ -lstdc++ -lm
/usr/bin/ld:
/usr/local/tmp/egcs/gcc/libgcc.a(_eh.o): __throw: multiply defined
collect2: ld returned 1 exit status
make[1]: *** [libg++.so.2.8.1.2] Error 1
make[1]: Leaving directory `/usr/local/tmp/egcs/alphaev56-dec-osf4.0d/libg++'

None of the object files from libg++ define __throw, but __throw is
defined both in libstdc++.so and libgcc.a:

000003ffbffee700 T __throw

0000000000000a20 T __throw

Any clues?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil


------- End of forwarded message -------




More information about the Gcc-bugs mailing list