From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,7272c17fbb45d9d6 X-Google-Attributes: gid11318c,public X-Google-Thread: fee84,7272c17fbb45d9d6 X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,7272c17fbb45d9d6 X-Google-Attributes: gid1164f8,public From: dsr@lns598.lns.cornell.edu (Daniel S. Riley) Subject: Re: Q: Link warnings with gcc 2.7.2 on Digital Unix 3.2c Date: 1995/12/29 Message-ID: #1/1 X-Deja-AN: 123130155 sender: dsr@lns100.lns.cornell.edu references: organization: Wilson Lab, Cornell U., Ithaca, NY 14853 newsgroups: comp.unix.osf.osf1,comp.sys.dec,gnu.gcc.help In article , Marc Goldburg wrote: marcg> When linking gcc2.7.2-compiled objects on a Digital Unix 3.2c, marcg> the following warnings appear marcg> /usr/bin/ld: marcg> Warning: Linking some objects which contain exception information [...] In article <4bvl3n$2b1@news.service.uci.edu> iglesias@draco.acs.uci.edu (Mike Iglesias) writes: iglesias> This patch is supposed to fix the problem. Rebuild gcc iglesias> after applying the patch. [...] iglesias> ! #define ASM_SPEC "-g3 -nocpp %{pg}" This patch was the workaround for the mips-tfile problem on 3.2c with gcc prior to 2.7.2. A slightly more elaborate version of this patch was incorporated into 2.7.2 so it is now obsolete, and certainly won't fix the linker warnings. You can suppress the linker warning by adding the undocumented flag '-no_excpt' to the link specs, but this turns out to be a bad idea as some third party products depend on exceptions working properly. As far as I know the warning is harmless and the only cure I know of isn't, so currently we just live with the warning message. -- Dan Riley Internet: dsr@lns598.lns.cornell.edu Wilson Lab, Cornell University HEPNET/SPAN: lns598::dsr (44630::dsr) "Distance means nothing/To me." -Kate Bush