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

2015-02-19 Thread Kaz Kojima
Joseph Myers  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-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2015-02-19 Thread Kaz Kojima
Joseph Myers jos...@codesourcery.com 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-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/