Article View: gnu.gcc.bug
Article #6274Link warnings building/using gcc on OSF
From: Karl D. Nelson
Date: Wed, 03 Jan 1996 00:00
Date: Wed, 03 Jan 1996 00:00
22 lines
1382 bytes
1382 bytes
gcc on OSF systems produces the following link warning, both when building
gcc and occasionally when compiling other programs:
Warning: linking some objects which contain
exception information and some which do not. This may
cause fatal runtime exception handling problems."
Indeed, users on my system complain that when they compile a c++ program
with -fhandle-exceptions, they get a segmentation violation when they try
a throw(), which seems to exactly the problem warned about here.
What is the difference between the code produced by gcc and that of OSF
cc, which the linker never complains about?
I know that may OSF gcc users are frustrated by this problem. How can we
get around it? (For example, is there a way to force the compiler to
produce object code with exception information? -fhandle-exceptions
apparently does not do so.)
Thank you,
Karl.
Technical Details
Message-ID:
<Pine.SUN.3.91.960103173339.22304A-100000@sunrise.byu.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,b62eddb6ab45d0cd,start X-Google-Attributes: gid113d02,public From: nelsonm@sunrise.byu.edu (Karl D. Nelson) Subject: Link warnings building/using gcc on OSF Date: 1996/01/03 Message-ID: <Pine.SUN.3.91.960103173339.22304A-100000@sunrise.byu.edu> X-Deja-AN: 133862861 distribution: gnu sender: daemon@cis.ohio-state.edu organization: Brigham Young University, Provo UT USA newsgroups: gnu.gcc.bug