--- Comment #10 from zlynx at acm dot org 2009-08-15 00:02 ---
I erased every trace of experimental GCC versions and support libraries. Then I
rebuilt GCC 4.4.2 (from SVN) using the system provided GCC 4.3.
The problem went away.
It still worries me some because it seems to indicate th
--- Comment #9 from zlynx at acm dot org 2009-07-27 21:26 ---
I built GCC using libunwind and binutils 2.19.1 and there is the same problem.
The registers are *not* being restored to the right values after the exception
return.
In the following assembly code you can clearly see that it
--- Comment #8 from zlynx at acm dot org 2009-07-24 15:47 ---
I will work on trying it with libunwind and then with binutils 2.19. Those seem
to be the differences so far.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40841
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-07-24 12:21 ---
It works on SLES11 as well.
rguent...@scandium:/tmp> g++ -v
Using built-in specs.
Target: ia64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/l
--- Comment #6 from hjl dot tools at gmail dot com 2009-07-24 01:52 ---
It works for me on RHEL 4 with gcc 4.4.1:
[...@gnu-14 tmp]$ cat foo.cc
#include
using namespace std;
void f(const char * filename)
{
ifstream is;
throw 2;
}
int main()
{
try {
f("v3");
} catch(int e) {
}
--- Comment #5 from zlynx at acm dot org 2009-07-23 22:26 ---
The actual segfault seems to happen in the .plt section. I am not entirely
clear on how this is laid out and how to find what symbol is where.
But on entry to the plt code, the r1 register is set to an invalid memory
location
--- Comment #4 from paolo dot carlini at oracle dot com 2009-07-23 21:09
---
I see, I can't reproduce it on x86_64-linux, maybe Richard can help for ia64
testing... If that's really the case, however, probably not a libstdc++-proper
issue.
--
paolo dot carlini at oracle dot com chan
--- Comment #3 from zlynx at acm dot org 2009-07-23 21:03 ---
Also note that this seems to be a IA64 problem, not x86.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40841
--- Comment #2 from zlynx at acm dot org 2009-07-23 21:01 ---
Created an attachment (id=18247)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18247&action=view)
reproduce
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40841
--- Comment #1 from paolo dot carlini at oracle dot com 2009-07-23 20:46
---
First of all, please provide a complete, small, self contained, snippet showing
the problem. Thanks.
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
-
10 matches
Mail list logo