public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC 3.3 Prelease broken on s390
@ 2003-05-06 21:47 Ulrich Weigand
  2003-05-06 21:59 ` Richard Henderson
  2003-05-06 22:56 ` Mark Mitchell
  0 siblings, 2 replies; 30+ messages in thread
From: Ulrich Weigand @ 2003-05-06 21:47 UTC (permalink / raw)
  To: mark, rth; +Cc: gcc

Mark,

unfortunately, the prelease is seriously broken on s390; 
exception handling does not work at all.  See
http://gcc.gnu.org/ml/gcc-testresults/2003-05/msg00365.html
Every single exception-related testcase (C++ or Java) fails.

This appears to be caused by rth's recent checkin:
http://gcc.gnu.org/ml/gcc-patches/2003-05/msg00402.html
reverting the unwind-dw2.c change introduced by this patch
appears to fix the problem.

Richard, I don't quite see how this change is supposed to work:
+  tmp_sp = (_Unwind_Ptr) context->cfa;
+  _Unwind_SetGRPtr (&orig_context, __builtin_dwarf_sp_column (), &tmp_sp);

On s390, the CFA does not have the same value as the saved stack pointer,
it is biased by 96/160 bytes relative to the stack.  While I haven't
debugged the failure in detail yet, I'd assume this will screw up
stack unwinding on s390, as the next CFA will be computed incorrectly
relative to this wrong SP value ...

Do you have any suggestions how to fix this?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de

^ permalink raw reply	[flat|nested] 30+ messages in thread
[parent not found: <no.id>]

end of thread, other threads:[~2003-05-07 19:46 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06 21:47 GCC 3.3 Prelease broken on s390 Ulrich Weigand
2003-05-06 21:59 ` Richard Henderson
2003-05-06 22:28   ` Ulrich Weigand
2003-05-06 23:19     ` Richard Henderson
2003-05-06 23:42       ` Richard Henderson
2003-05-07  0:24         ` Ulrich Weigand
2003-05-07  1:22           ` Richard Henderson
2003-05-07  0:18       ` Ulrich Weigand
2003-05-06 22:56 ` Mark Mitchell
2003-05-06 23:10   ` Ulrich Weigand
     [not found] <no.id>
2003-05-07  1:13 ` Ulrich Weigand
2003-05-07  1:27   ` Richard Henderson
2003-05-07  5:53     ` Mark Mitchell
2003-05-07 14:54     ` Ulrich Weigand
2003-05-07 15:53       ` Mark Mitchell
2003-05-07 16:03         ` Joe Buck
2003-05-07 16:13           ` Mark Mitchell
2003-05-07 17:02         ` Ulrich Weigand
2003-05-07 17:09           ` Joe Buck
2003-05-07 17:11           ` Mark Mitchell
2003-05-07 19:39             ` Ulrich Weigand
2003-05-07 19:45               ` Mark Mitchell
2003-05-07 18:19           ` Jonathan Lennox
2003-05-07 18:27             ` Mark Mitchell
2003-05-07 18:30               ` Jonathan Lennox
2003-05-07 18:36                 ` Mark Mitchell
2003-05-07 18:49                 ` Daniel Jacobowitz
2003-05-07 17:51       ` Richard Henderson
2003-05-07 19:42         ` Ulrich Weigand
2003-05-07 19:46           ` Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).