build error with DEBUG_STRICT_USER_COPY_CHECKS on at mm/migrate.c:1009
Arjan hi
building with ARCH=i386 allmodconfig will give me the below compilation error. I'm on FC12 [gcc (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20)]
In file included from arch/x86/include/asm/uaccess.h:571,
from include/linux/uaccess.h:5,
from include/linux/highmem.h:6,
from include/linux/pagemap.h:10,
from include/linux/mempolicy.h:62,
from include/linux/migrate.h:5,
from mm/migrate.c:15:In function 'copy_from_user',
inlined from 'do_pages_stat' at mm/migrate.c:1009:arch/x86/include/asm/uaccess_32.h:213: error: call to 'copy_from_user_overflow' declared with attribute error: copy_from_user() buffer size is not provably correct
un-setting DEBUG_STRICT_USER_COPY_CHECKS, (It was turned on by allmodconfig) will let the kernel compile.
I thought you might want to know
Boaz