[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/13442] New: gold screws up exception handling with --increment
From: |
naesten at gmail dot com |
Subject: |
[Bug gold/13442] New: gold screws up exception handling with --incremental flag |
Date: |
Sat, 26 Nov 2011 23:32:34 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13442
Bug #: 13442
Summary: gold screws up exception handling with --incremental
flag
Product: binutils
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: address@hidden
ReportedBy: address@hidden
CC: address@hidden
Classification: Unclassified
Host: i486-linux-gnu
For example, take this program:
% cat demo.cc
#include <exception>
#include <cstdio>
using namespace std;
main ()
{
try {
throw exception();
}
catch (exception &e) {
printf("%s\n", e.what());
}
}
// ------ 8< ------
and try this:
% g++ -o demo demo.cc -Wl,--incremental-full
% ./demo
terminate called after throwing an instance of 'std::exception'
what(): std::exception
zsh: abort ./demo
Versions and such:
% uname -a
Linux hydrogen 2.6.30-1-686 #1 SMP Sat Aug 15 19:11:58 UTC 2009 i686 GNU/Linux
% g++ --version
g++ (Debian 4.6.1-15) 4.6.1
% gold --version
GNU gold (GNU Binutils for Debian 2.22) 1.11
The C++ library also posesses Debian version 4.6.1-15.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/13442] New: gold screws up exception handling with --incremental flag,
naesten at gmail dot com <=