From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c08d53a66e7d80e6 X-Google-Attributes: gid1164f8,public From: nbehzad@ee.ualberta.ca (Nader Behzad) Subject: Re: ALPHA 2100 and gcc/Linker Problems Date: 1996/03/20 Message-ID: <4ipi3l$vtm@pulp.ucs.ualberta.ca>#1/1 X-Deja-AN: 143214355 references: <4iduk4$c44@agate.berkeley.edu> organization: University of Alberta Electrical Engineering Department newsgroups: comp.sys.dec Hi All, I am using gcc-2.7.2 as well and I get the same warning message: 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 also get a segmentation violation in my code (run time nothing during compile time) ! My code has been working fine across: SUN, AIX, Solaris, HP, X86, SGI. Now suddenly I get this error. This makes me believe that there is something wrong with the compiler. (or the checks are much better on: OSF1 thor V3.2 41 alpha??) Peter Mardahl (peterm@landau.EECS.Berkeley.EDU) wrote: > In article , marcus wrote: > >Hi Alpha Users, > > > >I am running a DEC ALPHA 2100 with Digital UNIX. I use gcc-2.6.3 as > >patch. I reinstalled gcc, but no effect, still the same warning and my > >executables produce Segmentation faults. > >Does anywhone have the same problem and knows a workaround or a solution ? > >Thanks in before > Hmmm. I use gcc-2.7.2. I get this warning message all the time: > (I use D-UX also) Why should we get this warning message (on DEC only!)?? > 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/libiostream.a). > However, my executable works fine, and has worked all th way back > to 2.6.3. It seems like things are waiting to go wrong! > I am not using GNU's linker. In fact, I don't think there's anything > wrong with your linker, or g++, unless you're using libg++ > 2.6.3: > both have worked fine for me. > I'd check your code for correctness. Find out where the segfault is > occurring. I'd bet on an error in your code before I'd blame g++ > for this segfault you report. If it seems inexplicable, check > your code for wild pointers and memory overruns. Hmmmmm. If anyone knows anything about this problem I appreciate any hints. Thank you in advance, Sincerely, Nader -- --------------------------------------------------------------------- | | | Nader T. Behzad | | e-mail: nbehzad@ee.ualberta.ca | | WWW: http://www.ee.ualberta.ca/~nbehzad | | | |===================================================================| | | | "Whatever you do will be insignificant, but it is very | | important that you do it." --Mahatma Gandhi | | | ---------------------------------------------------------------------