*BSD News Article 55774


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!news.dfn.de!RRZ.Uni-Koeln.DE!bn225
From: bn225@rrz.Uni-Koeln.DE (Mathias Kretschmer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: gcc2.7.1 exceptions problem
Date: 24 Nov 1995 17:31:57 GMT
Organization: Regional Computing Center, University of Cologne
Lines: 37
Message-ID: <494vid$mj3@news.rrz.uni-koeln.de>
NNTP-Posting-Host: axp1.rrz.uni-koeln.de
X-Newsreader: TIN [version 1.2 PL2]

 Hi !

 I've got a problem with gcc-2.7.1 compiling files with c++-exceptions enabled.
 On a SUN with with Solaris 5.2 these files compile without any error or warning,
 but under FreeBSD-2.0.5 using gcc-2.7.1, glibg++-2.7.1 and binutils-2.6 i get the
 following errors:

-----
 mk@TerraX:~/src/tape> gmake
 g++  -m486 -fhandle-exceptions  -c main.cc -o main.o
 g++  -m486 -fhandle-exceptions  -c scsill.cc -o scsill.o
 g++  -m486 -fhandle-exceptions  -c scsillex.cc -o scsillex.o
 g++  -m486 -fhandle-exceptions  -c exception.cc -o exception.o
 g++  -m486 -fhandle-exceptions  -c scsillreq.cc -o scsillreq.o
 g++ -o tape main.o scsill.o scsillex.o exception.o scsillreq.o
 main.o: Undefined symbol `_terminate__Fv' referenced from text segment
 main.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: Undefined symbol `_terminate__Fv' referenced from text segment
 scsill.o: More undefined symbol _terminate__Fv refs follow
 gmake: *** [tape] Error 1
-----

 Does anybody know, how to fix this problem ???

 
 bye


     Mathias