This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
framestate.c breaks when gcc is compiled with --enable-sjlj-exceptions
- From: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 21 Apr 2003 15:53:49 -0400
- Subject: framestate.c breaks when gcc is compiled with --enable-sjlj-exceptions
libc-alpha,
In sysdeps/generic/framestate.c there is a reliance on being able to
pull in a fall-back "__frame_state_for" this is not the case when sjlj
exception handling is enabled in gcc, as the included unwind-dw2.c
is empty (#ifndef __USING_SJLJ_EXCEPTIONS__)
sysdeps/generic/framestate.c
24 #define __frame_state_for fallback_frame_state_for
25 #include <unwind-dw2.c>
26 #undef __frame_state_for
Doesn't set a fallback in the above scenario.
I'm not quite sure how to fix this without breaking the compatibility
that this code is trying to assure.
c.