https://bugzilla.novell.com/show_bug.cgi?id=670019 https://bugzilla.novell.com/show_bug.cgi?id=670019#c0 Summary: Kernel 2.6.34.7-0.7-desktop (mm/slub.c) fails to build without CONFIG_NUMA set Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i386 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: ishapic@mail.ru QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=412603) --> (http://bugzilla.novell.com/attachment.cgi?id=412603) Patch that solves the problem by moving the #ifdef CONFIG_NUMA as in untouched source User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-3.1 Firefox/3.6.13 When compiling the last desktop kernel (2.6.34.7-0.7) from provided sources with the parameter CONFIG_NUMA _un_set, file "mm/slub.c" fails to build due to undeclared kmalloc_large_node() referenced in __kmalloc_node_track_caller(). Reproducible: Always Steps to Reproduce: 1. "make defconfig" in kernel root - will generate config with CONFIG_NUMA unset. 2. "make" in kernel root. 3. Wait until "mm/slub.c" starts to compile. Actual Results: Compiler output: ---- mm/slub.c: In function ‘__kmalloc_node_track_caller’: mm/slub.c:3447:3: error: implicit declaration of function ‘kmalloc_large_node’ mm/slub.c:3447:3: warning: return makes pointer from integer without a cast ---- Expected Results: Expected slub.o ;) This happens because kmalloc_large_node() is under #ifdef CONFIG_NUMA, while __kmalloc_node_track_caller() isn't. In untouched sources, kmalloc_large_node() isn't limited to CONFIG_NUMA. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.