Re: [PATCH RFC] Update kernel math-emu code from current glibc soft-fp

From: Kaz Kojima
Date: Thu Feb 19 2015 - 22:23:29 EST


Joseph Myers <joseph@xxxxxxxxxxxxxxxx> wrote:
> Please try this patch on top of the previous one. The way abort is
> redefined in the kernel code doesn't work for one place using it in an
> expression; this patch changes a comma expression to a statement
> expression. This didn't appear in my powerpc testing because the powerpc
> emulation never uses FP_FROM_INT; I'm not sure how Kaz's sh testing
> avoided the problem appearing there.

My bad. It turned out that I've configured the kernel wrongly and
CONFIG_SH_FPU_EMU isn't enabled. With the proper configuration,
the build got the similar error with sparc64 during compiling
arch/sh/math.c and your patch for op-common.h fixes it.

Regards,
kaz
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html