lkml.org 
[lkml]   [2008]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: linux-next: WARNING: at kernel/panic.c:375 __stack_chk_test+0x50/0x54()
    Kevin Winchester wrote:
    >
    > Hi Arjan,
    >
    > There doesn't seem to be an entry in MAINTAINERS for stack protector,
    > but your signoff was on the last stack protector related commit I could
    > find, so it's probably a good bet.
    >
    > I get the following in my dmesg after testing linux-next with the stack
    > protector turned on. This is an x86-64 UP box if that helps. It
    > appears to be related to the test for the feature (or perhaps that is
    > supposed to happen when the feature is tested, I'm not sure...). Config
    > below.
    >

    the important question is: exactly what gcc are you using? (and if you use a distro gcc,
    which distro)

    second question would be, what does the following command give?

    echo "int foo(void) { char X[200]; return 3; }" | $1 -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o -

    (this is the command from scripts/gcc-x86_64-has-stack-protector.sh that the kernel uses to test at compiletime
    if you have stack protector support)


    \
     
     \ /
      Last update: 2008-05-01 02:09    [W:4.879 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site