gcc 2.95.2: libgcc.a: __throw multiply defined

From: Albrecht Gebhardt <albrecht.gebhardt_at_uni-klu.ac.at>
Date: Fri, 14 Jul 2000 12:15:52 +0200 (MET DST)

Hi,

when compiling different C++ packages (this was TeXmacs, see
ftp://ftp.dante.de/tex-archive/systems/unix/TeXmacs/) with c++ from gcc
2.95.2 I get during the linking step:

c++ ...final-linking-arguments...
/usr/bin/ld:
/usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.95.2/libgcc.a(_eh.o): __throw:
multiply defined
collect2: ld returned 1 exit status
...

examining libgcc.a yields:

root_at_alpha4-stat[/tmp]# ar x libgcc.a _eh.o
root_at_alpha4-stat[/tmp]# nm _eh.o | grep __throw
$__throw..ng | 0000000000000000 | N | 0000000000000000
$__throw_type_match..ng | 0000000000000000 | N | 0000000000000000
__throw | 0000000000003520 | T | 0000000000000008
__throw_type_match | 0000000000000096 | T | 0000000000000008

so I don't know where the second reference to "__throw" comes from.

Has anyone the same problem and a solution?



Thanks

Albrecht Gebhardt

......................................................................
| Albrecht Gebhardt Tel.: (++43 463) 2700/832 |
| Institut fuer Mathematik Fax : (++43 463) 2700/834 |
| Universitaet Klagenfurt mailto:albrecht.gebhardt_at_uni-klu.ac.at |
| Villacher Str. 161 http://www-stat.uni-klu.ac.at/~agebhard |
| A-9020 Klagenfurt, Austria |
`--------------------------------------------------------------------'
Received on Fri Jul 14 2000 - 10:17:30 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT