The patch titled uml: add -ffreestanding to CFLAGS has been added to the -mm tree. Its filename is uml-add-ffreestanding-to-cflags.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: uml: add -ffreestanding to CFLAGS From: Jeff Dike <jdike@xxxxxxxxxxx> This fixes the undefined reference to strcpy seen when building modules on i386. Tracked down by Al Viro. Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/um/Makefile-i386 | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/um/Makefile-i386~uml-add-ffreestanding-to-cflags arch/um/Makefile-i386 --- devel/arch/um/Makefile-i386~uml-add-ffreestanding-to-cflags 2006-06-03 19:28:46.000000000 -0700 +++ devel-akpm/arch/um/Makefile-i386 2006-06-03 19:28:46.000000000 -0700 @@ -33,5 +33,9 @@ include $(srctree)/arch/i386/Makefile.cp # prevent gcc from keeping the stack 16 byte aligned. Taken from i386. cflags-y += $(call cc-option,-mpreferred-stack-boundary=2) +# Prevent sprintf in nfsd from being converted to strcpy and resulting in +# an unresolved reference. +cflags-y += -ffreestanding + CFLAGS += $(cflags-y) USER_CFLAGS += $(cflags-y) _ Patches currently in -mm which might be from jdike@xxxxxxxxxxx are uml-add-asm-irqflagsh.patch uml-fix-wall_to_monotonic-initialization.patch uml-fix-a-typo-in-do_uml_initcalls.patch uml-__user-annotation-in-arch_prctl.patch uml-more-__user-annotations.patch uml-add-ffreestanding-to-cflags.patch uml-make-copy__user-atomic.patch uml-fix-not_dead_yet-when-directory-is-in-bad-state.patch uml-rename-and-improve-actually_do_remove.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