This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]