From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fa44275f52ab2ba0,start X-Google-Attributes: gidfee84,public From: norbert@gia.rwth-aachen.de (Norbert Berzen) Subject: OSF/1 3.2D --- g++-2.7.2 --- libg++-2.7.1 Date: 1996/02/20 Message-ID: #1/1 X-Deja-AN: 140299323 organization: RWTH -Aachen / Rechnerbetrieb Informatik newsgroups: comp.unix.osf.osf1 Hello DEC Unix users, a few days ago I upgraded my DEC3000/400 from OSF-1.2 to DEC-Unix-3.2(D). When having finished the upgrade I installed gcc-2.7.2 along with libg++-2.7.1. To my surprise the compilation of the following program ... #include void main () { cout << "hello world" << endl; } ... and compiling it with ... g++ -o hello hello.cc ... produced the following output: /usr/ucb/ld: Warning: Linking some objects which contain exception information sections and some which do not. This may cause fatal runtime exception handling problems (last obj encountered without exceptions was /usr/local/lib/libstdc++.a). Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC ... but the executable `hello' just works fine! I do know the cause of the second warning (clog ...): It's because there are two symbols with identical names "clog" defined; 1st) The "clog" instance of class `ostream_withassign' which is defined in the C++ iostream library as GLOBAL DATA. 2nd) The "clog" complex logarithm function, which is defined in the math library as GLOBAL FUNC. And now, here are my questions (concerning the first warning): 1) Does anyone of you know the cause of the 1st warning? 2) Did I do something wrong when bootstrapping/installing gcc/libg++? 3) What can I do to make the things work right? Many thanks in advance Norbert -- Norbert [norbert@dune.gia.rwth-aachen.de (134.130.159.38)] N. Berzen, Geod. Inst. der RWTH-Aachen, Templergraben 55, 52056 Aachen