Re: [PATCH] CONFIG_UNWIND_INFO

From: Andrew Morton
Date: Mon Jan 16 2006 - 02:45:13 EST


"Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
>
> >>> Sam Ravnborg <sam@xxxxxxxxxxxx> 14.01.06 15:03:01 >>>
> >On Sat, Jan 14, 2006 at 04:56:35AM -0800, Andrew Morton wrote:
> >>
> >> > Index: linux/Makefile
> >> > ===================================================================
> >> > --- linux.orig/Makefile
> >> > +++ linux/Makefile
> >> > @@ -502,6 +502,10 @@ CFLAGS += $(call add-align,CONFIG_CC_AL
> >> > CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LOOPS,-loops)
> >> > CFLAGS += $(call add-align,CONFIG_CC_ALIGN_JUMPS,-jumps)
> >> >
> >> > +ifdef CONFIG_UNWIND_INFO
> >> > +CFLAGS += -fasynchronous-unwind-tables
> >> > +endif
> >Is this option available on all gcc's for all archs?
> >Otherwise you have to do:
> >CFLAGS += $(call cc-option,-fasynchronous-unwind-tables,)
>
> Yes, it is (and it has been at least since 3.2.x). Apparently the PPC backend doesn't fully support this...
>

And others might not support it either. We don't know.

Perhaps this option should be enabled only on architectures where it's known
to work, rather than disabled only on ppc64, as my fix does.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/