lkml.org 
[lkml]   [2014]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] arm: Blacklist gcc 4.8.[012] and 4.9.0 with CONFIG_FRAME_POINTER
    Peter Hurley writes:
    > On 10/10/2014 12:36 PM, Russell King - ARM Linux wrote:
    > > On Fri, Oct 10, 2014 at 12:26:14PM -0400, Peter Hurley wrote:
    > >> gcc versions 4.8.[012] and 4.9.0 generates code that prematurely
    > >> adjusts the stack pointer such that still-to-be-referenced locals
    > >> are below the stack pointer, which allows them to be overwritten
    > >> by interrupts.
    > >
    > > I would much rather do this in asm-offsets.c, along side the other ARM
    > > specific buggy compiler test(s). I'm presently putting together such
    > > a patch.
    > >
    > > The information in the thread on linux-omap says only GCC 4.8.1 and
    > > GCC 4.8.2. Where do you get the other versions from?
    >
    > The gcc PR linked in the commit message; see the "Known to fail" field.

    The 4.8.0 release is broken, but the 4.9.0 one is not. It's unfortunate,
    but "4.9.0" may refer to "the 4.9.0 release" or to "some point after trunk
    forked 4.8 branch up to and including the 4.9.0 release point". In this
    case, it's the latter -- this can be inferred from the fact that the
    fix went into trunk in October 2013 while 4.9.0 was branched and released
    during the first half of 2014.


    \
     
     \ /
      Last update: 2014-10-11 19:01    [W:3.581 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site