From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,5d8c7c82472be212,start X-Google-Attributes: gid11318c,public X-Google-Thread: fee84,5d8c7c82472be212,start X-Google-Attributes: gidfee84,public From: dschen@sun1.nhctc.edu.tw (Codex Chen) Subject: "fatal runtime exception handling" by gcc2.7.2 on DU3.2c Date: 1996/07/17 Message-ID: <4sim17$3di@news.csie.nctu.edu.tw>#1/1 X-Deja-AN: 169283788 organization: CC, National Hsin Chu Teachers College newsgroups: gnu.gcc.help,comp.unix.osf.osf1 Sorry if this has been asked before. But I didn't see any hint about this from the faq. I was encountering this error messages(or warning?) whenever I compiled with gcc 2.7.2 on the Digital UNIX 3.2c and the linker claimed: 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 ) Especially, I met this while compiling gcc-2.7.2 originally on the DU 3.2c. It happened on: ./xgcc -B./ -DIN_GCC -ifo -O4 -I./include enquire.o -o enquire /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 enquire.o). ./enquire -f > tmp-float.h It could be that the collect2 and native linker(ld) could not work well. But the enquire of the gcc seems working...? I also read about this from the INSTALL of gpc-2.6.3 distribution: ... 5) After it is, you just say "make" to make the compiler and run time system. NOTE: For alpha OSF/1 v3.2 (GCC 2.6.3): If your linker starts to output error messagaes like: 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 ) I do not know why these started to appear, but you can ... >From the solution it provided, it added the following into the programs: extern int _fpdata_size; null_routine() { int a = _fpdata_size; } And it didn't work out while compiling the gcc-2.7.2. It is said that it is the bug for the gcc-2.6.3 in DU 3.2, but I met it in the gcc-2.7.2... Thanks for any kindly hint. -- Computer Center, | dschen@sun1.nhctc.edu.tw National Hsin Chu Teachers' College | De-hsing Chen(Codex Chen) HsinChu, Taiwan 300, ROC |