* [Bug target/62231] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
@ 2014-11-27 5:16 ` asolokha at gmx dot com
2014-11-28 12:53 ` manfred.rudigier at omicron dot at
` (16 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: asolokha at gmx dot com @ 2014-11-27 5:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Arseny Solokha <asolokha at gmx dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asolokha at gmx dot com
--- Comment #1 from Arseny Solokha <asolokha at gmx dot com> ---
Cannot reproduce this with neither 4.9.2 nor 5.0 (20141123) for
powerpc-e500v2-linux-gnuspe.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
2014-11-27 5:16 ` [Bug target/62231] " asolokha at gmx dot com
@ 2014-11-28 12:53 ` manfred.rudigier at omicron dot at
2014-11-28 17:20 ` [Bug target/62231] [4.8/4.9 regression] " ebotcazou at gcc dot gnu.org
` (15 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: manfred.rudigier at omicron dot at @ 2014-11-28 12:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #3 from manfred.rudigier at omicron dot at ---
I was probably to enthusiastic, the problem is still there, even in GCC 4.9.2.
In order to reproduce the bug, you either have to use a root file system which
was also built with GCC 4.8.3 or 4.9.2, or you just link the example program
statically (which is probably the easier thing).
The problem does not seem to be in the generated binary of the compiler, but in
one of the used libs (probably libgcc_s.so). So when I link statically with the
"-static" option, I got this stacktrace in gdb:
Program received signal SIGABRT, Aborted.
0x1003d28c in raise ()
(gdb) bt
#0 0x1003d28c in raise ()
#1 0x10018e1c in abort ()
#2 0x100100bc in uw_init_context_1 ()
#3 0x10010cdc in _Unwind_RaiseException ()
#4 0x10001db4 in __cxa_throw ()
at
/home/manrud00/crosstool-ng/.build/src/gcc-4.9.2/libstdc++-v3/libsupc++/eh_throw.cc:82
#5 0x10000c94 in doThrow() () at exception.cpp:14
#6 0x10000cb8 in main () at exception.cpp:21
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
2014-11-27 5:16 ` [Bug target/62231] " asolokha at gmx dot com
2014-11-28 12:53 ` manfred.rudigier at omicron dot at
@ 2014-11-28 17:20 ` ebotcazou at gcc dot gnu.org
2014-11-28 17:26 ` asolokha at gmx dot com
` (14 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2014-11-28 17:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-11-28
CC| |ebotcazou at gcc dot gnu.org
Target Milestone|--- |4.8.4
Summary|Exception handling broken |[4.8/4.9 regression]
|on |Exception handling broken
|powerpc-e500v2-linux-gnuspe |on
| |powerpc-e500v2-linux-gnuspe
Ever confirmed|0 |1
Severity|critical |normal
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's a known issue:
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02625.html
and
https://gcc.gnu.org/ml/gcc-patches/2014-10/msg02605.html
have the complete fix I think.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (2 preceding siblings ...)
2014-11-28 17:20 ` [Bug target/62231] [4.8/4.9 regression] " ebotcazou at gcc dot gnu.org
@ 2014-11-28 17:26 ` asolokha at gmx dot com
2014-12-01 12:32 ` rguenth at gcc dot gnu.org
` (13 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: asolokha at gmx dot com @ 2014-11-28 17:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #5 from Arseny Solokha <asolokha at gmx dot com> ---
(In reply to manfred.rudigier from comment #3)
> In order to reproduce the bug, you either have to use a root file
> system which was also built with GCC 4.8.3 or 4.9.2, or you just link the
> example program statically (which is probably the easier thing).
My root file system was built w/ 4.10.0 snapshot back in March when it hadn't
yet diverged significantly from 4.9, so it's hardly a requirement. I'll try
however to link the test case statically in Monday.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (3 preceding siblings ...)
2014-11-28 17:26 ` asolokha at gmx dot com
@ 2014-12-01 12:32 ` rguenth at gcc dot gnu.org
2014-12-01 12:42 ` asolokha at gmx dot com
` (12 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-01 12:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (4 preceding siblings ...)
2014-12-01 12:32 ` rguenth at gcc dot gnu.org
@ 2014-12-01 12:42 ` asolokha at gmx dot com
2014-12-19 13:26 ` jakub at gcc dot gnu.org
` (11 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: asolokha at gmx dot com @ 2014-12-01 12:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #6 from Arseny Solokha <asolokha at gmx dot com> ---
(In reply to manfred.rudigier from comment #3)
> I was probably to enthusiastic, the problem is still there, even in GCC
> 4.9.2. In order to reproduce the bug, you either have to use a root file
> system which was also built with GCC 4.8.3 or 4.9.2, or you just link the
> example program statically (which is probably the easier thing).
OK, when I've built the program statically I reproduced the issue.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (5 preceding siblings ...)
2014-12-01 12:42 ` asolokha at gmx dot com
@ 2014-12-19 13:26 ` jakub at gcc dot gnu.org
2014-12-22 8:55 ` manfred.rudigier at omicron dot at
` (10 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.4 |4.8.5
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (6 preceding siblings ...)
2014-12-19 13:26 ` jakub at gcc dot gnu.org
@ 2014-12-22 8:55 ` manfred.rudigier at omicron dot at
2014-12-22 23:38 ` dan.wilder at watchguard dot com
` (9 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: manfred.rudigier at omicron dot at @ 2014-12-22 8:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #8 from manfred.rudigier at omicron dot at ---
(In reply to Jakub Jelinek from comment #7)
> GCC 4.8.4 has been released.
I have tried out GCC 4.8.4 today, but it still has this issue.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (7 preceding siblings ...)
2014-12-22 8:55 ` manfred.rudigier at omicron dot at
@ 2014-12-22 23:38 ` dan.wilder at watchguard dot com
2014-12-22 23:42 ` dan.wilder at watchguard dot com
` (8 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: dan.wilder at watchguard dot com @ 2014-12-22 23:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #10 from Dan Wilder <dan.wilder at watchguard dot com> ---
Created attachment 34317
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34317&action=edit
Backport cfispan.diff to gcc-4.8.3
Attempt to backport cfispan.diff from
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02625/cfispan.diff
referenced from comment #4 here, to gcc-4.8.3 which we are using for ppc e500v2
So far as I've been able to determine so far, it works for us, passing the
repro mentioned elsewhere in this bug and also the similar repro I had
developed, and not introducing other unexpected changes. In combination with
the msg2504.html backport also attached.
gcc-4.8.4 code in the vicinity of this patch is nearly identical with 4.8.3.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (8 preceding siblings ...)
2014-12-22 23:38 ` dan.wilder at watchguard dot com
@ 2014-12-22 23:42 ` dan.wilder at watchguard dot com
2014-12-22 23:43 ` dan.wilder at watchguard dot com
` (7 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: dan.wilder at watchguard dot com @ 2014-12-22 23:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #11 from Dan Wilder <dan.wilder at watchguard dot com> ---
Created attachment 34318
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34318&action=edit
Backport msg02605 patch to gcc-4.8.3
Apply after other attachment
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (9 preceding siblings ...)
2014-12-22 23:42 ` dan.wilder at watchguard dot com
@ 2014-12-22 23:43 ` dan.wilder at watchguard dot com
2014-12-23 9:43 ` manfred.rudigier at omicron dot at
` (6 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: dan.wilder at watchguard dot com @ 2014-12-22 23:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #12 from Dan Wilder <dan.wilder at watchguard dot com> ---
I have a backport of the patches referenced in comment 4, which I applied to
the gcc-4.8.3 we are using for e500v2. If anybody would care to look at it,
comment whether it has any merit at all, try it etc, I'd be honored.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (10 preceding siblings ...)
2014-12-22 23:43 ` dan.wilder at watchguard dot com
@ 2014-12-23 9:43 ` manfred.rudigier at omicron dot at
2015-05-19 18:01 ` andri.yngvason at marel dot com
` (5 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: manfred.rudigier at omicron dot at @ 2014-12-23 9:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #13 from manfred.rudigier at omicron dot at ---
(In reply to Dan Wilder from comment #12)
> I have a backport of the patches referenced in comment 4, which I applied to
> the gcc-4.8.3 we are using for e500v2. If anybody would care to look at it,
> comment whether it has any merit at all, try it etc, I'd be honored.
I have applied your backported patches to gcc 4.8.4 and can confirm that they
fix this issue.
Thanks!
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (11 preceding siblings ...)
2014-12-23 9:43 ` manfred.rudigier at omicron dot at
@ 2015-05-19 18:01 ` andri.yngvason at marel dot com
2015-05-19 20:08 ` joseph at codesourcery dot com
` (4 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: andri.yngvason at marel dot com @ 2015-05-19 18:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Andri Yngvason <andri.yngvason at marel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andri.yngvason at marel dot com
--- Comment #14 from Andri Yngvason <andri.yngvason at marel dot com> ---
I have the same problem with 5.1 on a 603e, even though the patches from
comment #4 seem to have been applied. I get the same stack trace as seen in
comment #3.
It doesn't matter whether I compile with --with-cpu=603e or without.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (12 preceding siblings ...)
2015-05-19 18:01 ` andri.yngvason at marel dot com
@ 2015-05-19 20:08 ` joseph at codesourcery dot com
2015-05-20 9:41 ` andri.yngvason at marel dot com
` (3 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: joseph at codesourcery dot com @ 2015-05-19 20:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #15 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Any problem seen on 603e is a different issue from this (fixed)
e500-specific issue and should not be discussed in this bug.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (13 preceding siblings ...)
2015-05-19 20:08 ` joseph at codesourcery dot com
@ 2015-05-20 9:41 ` andri.yngvason at marel dot com
2015-06-23 8:16 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: andri.yngvason at marel dot com @ 2015-05-20 9:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #16 from Andri Yngvason <andri.yngvason at marel dot com> ---
Sorry, Joseph, I wasn't sure if this issue was fixed or not since the status is
"NEW". I'll report a new issue.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.8/4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (14 preceding siblings ...)
2015-05-20 9:41 ` andri.yngvason at marel dot com
@ 2015-06-23 8:16 ` rguenth at gcc dot gnu.org
2015-06-26 19:52 ` [Bug target/62231] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:26 ` jakub at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23 8:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.5 |4.9.3
--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (15 preceding siblings ...)
2015-06-23 8:16 ` rguenth at gcc dot gnu.org
@ 2015-06-26 19:52 ` jakub at gcc dot gnu.org
2015-06-26 20:26 ` jakub at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 19:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug target/62231] [4.9 regression] Exception handling broken on powerpc-e500v2-linux-gnuspe
2014-08-22 13:31 [Bug target/62231] New: Exception handling broken on powerpc-e500v2-linux-gnuspe manfred.rudigier at omicron dot at
` (16 preceding siblings ...)
2015-06-26 19:52 ` [Bug target/62231] [4.9 " jakub at gcc dot gnu.org
@ 2015-06-26 20:26 ` jakub at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62231
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.3 |4.9.4
^ permalink raw reply [flat|nested] 19+ messages in thread