From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a92f45d9672968ac,start X-Google-Attributes: gid1164f8,public From: Nader Behzad Subject: gcc problems on DEC Date: 1996/03/21 Message-ID: #1/1 X-Deja-AN: 143659644 organization: University of Alberta, Edmonton, Canada x-sender: nader@fermi.amc.ab.ca content-type: TEXT/PLAIN; charset=US-ASCII mime-version: 1.0 newsgroups: comp.sys.dec Hi all, Couple of days ago I put a message on this news group wondering about the errors I am getting from the comiler. I am getting a lot of Floating exceptions. So I thought that my code is not compatible with the new gcc (2.7.2) that I just upgraded to. This code has been working fine for 2 years on ALL other platforms. But Mr. Mardahl suggested that it could be: 1) assigning invalid data (uninitialized memory) to a variable (even if we never used the variable again and didn't care about he value) or 2) doing a division by zero (which SunOS would just ignore) but after extensive testing I have come to the conclusion that there is something wrong with the OS or gcc. This is what I got from the gcc news group: In ref. to my recent posting (it has expired on or server, so I cannnot do a followup on it), Tim Mooney gave the following reply (and caught that it was not an error, but a warning. I called DEC up and got the patch and it fixed that problem. It was interesting to look at the README that came with the patch to see all of the other problems it fixed. THANKS Tim! Cheers, Douglas This was the article: When compiling gcc-2.7.2 and g++, I get the following error in several places (or one similar to it): No, you get the following *warning* in several places -- we've seen it on our alphas too. The information I've heard is that it's a relatively minor problem with DEC's ld (or possibly `as', I forget which but I think it was ld), and the warnings can safely be ignored. However, if you have a support contract with Digital you can get patch OSF350-086. It's fixes about 30 seperate problems with `ld', including: PROBLEM: (Patch ID: OSF350-086) (QAR 30052) ******** ld outputs erroneous warning messages about exception info when linking modules with no text region. >/usr/bin/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 version.o). Tim ******* Could anyone tell me where I can get this patches for my DEC (other that the DEC support group, we have left a message with them a while ago and we have not heard anything back yet!!!). Thank you in Advance, Sincerely, Nader Behzad -- --------------------------------------------------------------------- | | | Nader T. Behzad | | e-mail: nbehzad@ee.ualberta.ca | | | |===================================================================| | | | "Whatever you do will be insignificant, but it is very | | important that you do it." --Mahatma Gandhi | | | ---------------------------------------------------------------------