Re: [BUG] linux-next: Tree for April 9 warning on CC_STACKPROTECTOR,followed by kernel panic
From: Kamalesh Babulal
Date: Thu Apr 10 2008 - 06:51:26 EST
Jacek Luczak wrote:
> Kamalesh Babulal pisze:
>> Hi Stephen,
>>
>> The next-20080409 kernel warns while booting up on a x86_64 machine.
>> When compiled the kernel with CONFIG_CC_STACKPROTECTOR=y, the warning
>> is followed by the kernel panic.
>>
>> Testing -fstack-protector-all feature
>> No -fstack-protector-stack-frame!
>> -fstack-protector-all test failed
>> ------------[ cut here ]------------
>> WARNING: at kernel/panic.c:365 __stack_chk_test+0x4b/0x50()
>> Modules linked in:
>> Pid: 1, comm: swapper Not tainted 2.6.25-rc8-next-20080409-autotest #1
>>
>> Call Trace:
>> [<ffffffff80231f5e>] warn_on_slowpath+0x51/0x63
>> [<ffffffff80232d93>] printk+0x4e/0x56
>> [<ffffffff80382fcd>] extract_entropy+0x47/0x90
>> [<ffffffff80230000>] dup_mm+0xca/0x3fd
>> [<ffffffff80231eba>] __stack_chk_test_func+0x21/0x32
>> [<ffffffff80231fbb>] __stack_chk_test+0x4b/0x50
>> [<ffffffff808ba8f1>] kernel_init+0x189/0x2f9
>> [<ffffffff804ee221>] _spin_unlock_irq+0x9/0xc
>> [<ffffffff8020cb88>] child_rip+0xa/0x12
>> [<ffffffff808ba768>] kernel_init+0x0/0x2f9
>> [<ffffffff8020cb7e>] child_rip+0x0/0x12
>>
>> ---[ end trace d88d2f3a71e3b32c ]---
>
> Hi,
>
> what version of GCC are you using?
>
> -Jacek
Hi Jacek,
I use the gcc version (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/