linux-next build failure
The c6x arch (no MMU) is failing to build in linux-next with:
kernel/built-in.o:(.fardata+0x3fc): undefined reference to overcommit_ratio_handler' kernel/built-in.o:(.fardata+0x420): undefined reference to overcommit_kbytes_handler' make[1]: *** [vmlinux] Error 1
Looks like this patch adds those functions to mm/mmap.c which is only used when CONFIG_MMU is defined.
commit 31bdaf7c8e8a784fd8f889371bdacb24670734c7
Author: Jerome Marchand <[email protected]>
Date: Tue Dec 17 10:45:06 2013 +1100
mm: add overcommit_kbytes sysctl variable
Quoted 6 lines · On Fri, 03 Jan 2014 10:58:49 -0500 Mark Salter <[email protected]> wrote:
The c6x arch (no MMU) is failing to build in linux-next with:
kernel/built-in.o:(.fardata+0x3fc): undefined reference to
overcommit_ratio_handler' kernel/built-in.o:(.fardata+0x420): undefined reference toovercommit_kbytes_handler' make[1]: *** [vmlinux] Error 1
Quoted 8 lines
Looks like this patch adds those functions to
mm/mmap.cwhich is only used whenCONFIG_MMUis defined.commit
31bdaf7c8e8a784fd8f889371bdacb24670734c7
Author: Jerome Marchand <[email protected]>
Date: Tue Dec 17 10:45:06 2013 +1100mm: add
overcommit_kbytessysctl variable
Please check whether that linux-next includes
http://ozlabs.org/~akpm/mmotm/broken-out/mm-add-overcommit_kbytes-sysctl-variable-fix-2.patch
Quoted 11 lines · Andrew Morton
Quoted 9 lines · On Fri, 03 Jan 2014 10:58:49 -0500 Mark Salter <[email protected]> wrote:
The c6x arch (no MMU) is failing to build in linux-next with:
kernel/built-in.o:(.fardata+0x3fc): undefined reference to
overcommit_ratio_handler' kernel/built-in.o:(.fardata+0x420): undefined reference toovercommit_kbytes_handler' make[1]: *** [vmlinux] Error 1Looks like this patch adds those functions to
mm/mmap.cwhich is only used whenCONFIG_MMUis defined.
Quoted 8 lines
Quoted 5 lines
commit
31bdaf7c8e8a784fd8f889371bdacb24670734c7
Author: Jerome Marchand <[email protected]>
Date: Tue Dec 17 10:45:06 2013 +1100mm: add
overcommit_kbytessysctl variablePlease check whether that linux-next includes
http://ozlabs.org/~akpm/mmotm/broken-out/mm-add-overcommit_kbytes-sysctl-variable-fix-2.patch
It doesn't, but today's does, so the problem went away. Looks like that patch got delayed a bit because of the holidays.