This is the mail archive of the 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]

Re: [PATCH] framestate.c breaks when gcc is compiled with --enable-sjlj-exceptions

> > 2003-04-22  Carlos O'Donell Jr.  <carlos at baldric dot uwo dot ca>
> > 
> > 	* sysdeps/generic/unwind-dw2.c: Remove #ifndef
> > 	__USING_SJLJ_EXCEPTIONS__ so compat code is always included.
> This file comes from gcc, we only make a few local modifications to
> improve code quality, but nothing as consequential as this.  You'll have
> to bring this up with the gcc crowd, they have to change their copy.
> Then we'll take the changes.

It's a problem with glibc. If the compiler is using sjlj then all the
unwind-dw2.c code is removed (see the cpp docs for builtin compiler
#defines). We don't pull in the opposite side of 
"#ifndef __USING_SJLJ_EXCEPTIONS__" from the file "gcc/gcc/unwind-sjlj.c"

So the solution _could_ be to pull the sjlj code that defines
__frame_state_for (gcc/gcc/unwind-sjlj.c:uw_frame_state_for).

I wish the problem could go away, but it's not going to disappear until
gcc-3.4 (transition for hppa to DWARF2).


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