lkml.org 
[lkml]   [2006]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.19-rc5-mm1 fails to compile with gcc 4.2
    Bernhard Rosenkraenzer wrote:
    > On Sunday, 12. November 2006 09:22, Avi Kivity wrote:
    >
    >> Bernhard Rosenkraenzer wrote:
    >>
    >>> drivers/kvm/kvm_main.c: In function 'kvm_dev_ioctl_run':
    >>> drivers/kvm/kvm_main.c:153: error: 'asm' operand has impossible
    >>> constraints drivers/kvm/kvm_main.c:158: error: 'asm' operand has
    >>> impossible constraints
    >>>
    >> Smells like a gcc regression. Can you send .config?
    >>
    >> Or better yet, preprocessed source and full gcc command line (as seen on
    >> 'make V=1').
    >>
    >
    > It does look like a gcc bug -- -O0 makes it go away.
    > Details at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29808
    >

    That's a different bug, gcc generates code that the assembler can't
    handle. Might be an assembler bug.

    Can you compile it with -S and post the generated assembly?

    --
    error compiling committee.c: too many arguments to function

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-11-12 10:29    [W:0.021 / U:31.640 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site