The patch titled Subject: mn10300: only add -mmem-funcs to KBUILD_CFLAGS if gcc supports it has been added to the -mm tree. Its filename is mn10300-only-add-mmem-funcs-to-kbuild_cflags-if-gcc-supports-it.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Subject: mn10300: only add -mmem-funcs to KBUILD_CFLAGS if gcc supports it It seems the current (gcc 4.6.3) no longer provides this so make it conditional. As reported by Tony before, the mn10300 architecture cross-compiles with gcc-4.6.3 if -mmem-funcs is not added to KBUILD_CFLAGS. Reported-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Cc: David Howells <dhowells@xxxxxxxxxx> Cc: Koichi Yasutake <yasutake.koichi@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/mn10300/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/mn10300/Makefile~mn10300-only-add-mmem-funcs-to-kbuild_cflags-if-gcc-supports-it arch/mn10300/Makefile --- a/arch/mn10300/Makefile~mn10300-only-add-mmem-funcs-to-kbuild_cflags-if-gcc-supports-it +++ a/arch/mn10300/Makefile @@ -26,7 +26,7 @@ CHECKFLAGS += PROCESSOR := unset UNIT := unset -KBUILD_CFLAGS += -mam33 -mmem-funcs -DCPU=AM33 +KBUILD_CFLAGS += -mam33 -DCPU=AM33 $(call cc-option,-mmem-funcs,) KBUILD_AFLAGS += -mam33 -DCPU=AM33 ifeq ($(CONFIG_MN10300_CURRENT_IN_E2),y) _ Subject: Subject: mn10300: only add -mmem-funcs to KBUILD_CFLAGS if gcc supports it Patches currently in -mm which might be from geert@xxxxxxxxxxxxxx are origin.patch linux-next.patch mn10300-only-add-mmem-funcs-to-kbuild_cflags-if-gcc-supports-it.patch frv-kill-used-but-uninitialized-variable.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html