From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ba33,11af15607bd0af82 X-Google-Attributes: gid10ba33,public X-Google-Thread: fee84,77653ffe51c35a24 X-Google-Attributes: gidfee84,public From: rdh@microunity.com (Dale Hagglund) Subject: Re: gcc 2.7.2, ld warnings on Digital UNIX v3.2 Date: 1996/05/01 Message-ID: #1/1 X-Deja-AN: 152356395 sender: rdh@kephalos.microunity.com references: <4ktph9$o2n@odo.amherst.com> <4kubph$b90@vertex.tor.hookup.net> followup-to: gnu.g++.help organization: MicroUnity Systems Engineering newsgroups: comp.unix.osf.osf1,gnu.g++.help In article, <4lo9l0$n8g@disunms.epfl.ch>, Radenko Kalajdzic writes: radenko> [snip rebuild notes] radenko> + /usr/bin/ld: radenko> + Warning: clog defined as GLOBAL DATA but is defined in a shared radenko> + lib as a GLOBAL FUNC radenko> + /usr/bin/ld: radenko> + ------ In article <4m6a4n$em2@valhalla.cs.wright.edu> pedwards@valhalla.cs.wright.edu (Phil Edwards) writes: pedwards> The problem is due to a conflict between iostream.h pedwards> and libm.a. [Both declare a "clog", one as a pedwards> function, and the other as data.] pedwards> The solution is one of: pedwards> 1) Ignore it. ld(1) is just confused because pedwards> the kind folks at GNU are making stupid pedwards> assumptions again. In addition to the message above, users of g++ here get the message mentioned above, but they also get an additional warning out of the linker when linking with g++ built for an ``alpha-dec-osf3.2''. Warning: Linking some objects which contain exception information and some which do not. This may cause fatal runtime exception handling problems (last obj encountered with out exceptions was [libstdc++.a]. This sounds rather ominous. Should I be concerned, or does can solution (1) be used here as well? Just to be clear, this is with gcc-2.7.2 and libg++-2.7.1. Thanks in advance . . . Dale. -- Dale Hagglund rdh@microunity.com MicroUnity Systems Engineering +1 408 734 8100 "The right thing, and two shillings, will get you a cup of tea." --R.P.Gabriel