This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ Exception Handling Bug


I wrote:

>> Another possibility that has just occurred to me is that you're using
>> an old version of GNU binutils.  Some pre-2.9.1 releases would
>> incorrectly assemble exception handling directives.

On Dec  4, 1998, Mark-Andre Hopf <hopf@informatik.uni-rostock.de> wrote:

>  I guess `/egcs-1.1.1/gcc/INSTALL' needs to be modified because it says
> that `gas/binutils version 2.5.2 or later' is a must to use the compiler.

Which is correct.  binutils 2.9.1, or the newer snapshots 2.9.1.0.*,
are only needed for correct exception handling, and not everybody
cares for that.  Anyway, if you feel like submitting a patch to fix
this, please do :-)

But note that you should modify install.texi (from the CVS tree), not
INSTALL.  An update for the exception handling entry in the FAQ and/or
a new entry in the well-known bugs page would also be appreciated.


Note that binutils 2.8.1 is already out-dated, and the most recent
snapshot of binutils 2.9.1 should probably be recommended instead,
because some problems related with exception handling, particularly on
alpha platforms, were only fixed after the release 2.9.1.  :-(

Maybe H. J. Lu can provide a more accurate picture of the situation
for the FAQ...

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]