[opensuse-kernel] [Kernel:HEAD] slub.c compilation issues

Hi, I've just downloaded the 2.6.36-rc4 sources and wanted to build my own kernel, but I went into some compilation trouble. /usr/src/linux-2.6.36-rc4-18/mm/slub.c: In function ‘__slab_alloc’: /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1690:2: error: implicit declaration of function ‘PageSlubDebug’ /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1689:1: warning: label ‘slow_path’ defined but not used /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1643:3: error: label ‘debug’ used but not defined Attached is my config. bye Mich;

On 09/17/2010 09:00 AM, Michael Woski wrote:
Hi,
I've just downloaded the 2.6.36-rc4 sources and wanted to build my own kernel, but I went into some compilation trouble.
Yep. This is from patches.suse/SoN-05-reserve-slub.patch. We don't run into it because we don't use SLUB. Suresh, care to take a look? -Jeff
/usr/src/linux-2.6.36-rc4-18/mm/slub.c: In function ‘__slab_alloc’: /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1690:2: error: implicit declaration of function ‘PageSlubDebug’ /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1689:1: warning: label ‘slow_path’ defined but not used /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1643:3: error: label ‘debug’ used but not defined
Attached is my config.
bye Mich;
-- Jeff Mahoney SUSE Labs -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

On 09/18/2010 03:38 AM, Jeff Mahoney wrote:
On 09/17/2010 09:00 AM, Michael Woski wrote:
Hi,
I've just downloaded the 2.6.36-rc4 sources and wanted to build my own kernel, but I went into some compilation trouble.
Yep. This is from patches.suse/SoN-05-reserve-slub.patch. We don't run into it because we don't use SLUB.
Suresh, care to take a look?
Sure, I'll take a look when I resume to work tommorrow.
/usr/src/linux-2.6.36-rc4-18/mm/slub.c: In function ‘__slab_alloc’: /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1690:2: error: implicit declaration of function ‘PageSlubDebug’ /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1689:1: warning: label ‘slow_path’ defined but not used /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1643:3: error: label ‘debug’ used but not defined
Attached is my config.
bye Mich;
-- Suresh Jayaraman -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

On 09/19/2010 11:52 AM, Suresh Jayaraman wrote:
On 09/18/2010 03:38 AM, Jeff Mahoney wrote:
On 09/17/2010 09:00 AM, Michael Woski wrote:
Hi,
I've just downloaded the 2.6.36-rc4 sources and wanted to build my own kernel, but I went into some compilation trouble.
Yep. This is from patches.suse/SoN-05-reserve-slub.patch. We don't run into it because we don't use SLUB.
Suresh, care to take a look?
Sure, I'll take a look when I resume to work tommorrow.
This error is due to a recent patch that got rid of PageSlubDebug flag and started using kmem_cache flags to detect if SLUB is in debugging mode. I have fixed it in the master. Please try the upcoming KOTD.
/usr/src/linux-2.6.36-rc4-18/mm/slub.c: In function ‘__slab_alloc’: /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1690:2: error: implicit declaration of function ‘PageSlubDebug’ /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1689:1: warning: label ‘slow_path’ defined but not used /usr/src/linux-2.6.36-rc4-18/mm/slub.c:1643:3: error: label ‘debug’ used but not defined
Attached is my config.
bye Mich;
Thanks, -- Suresh Jayaraman -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (3)
-
Jeff Mahoney
-
Michael Woski
-
Suresh Jayaraman