[lkml]   [2007]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: 2.6.22-rc4-mm2: kvm compile breakage with X86_CMPXCHG64=n
    On Tue, Jun 12, 2007 at 02:07:18AM +0200, Adrian Bunk wrote:

    > I'm getting the following compile error with CONFIG_X86_CMPXCHG64=n
    > (with -Werror-implicit-function-declaration - otherwise it would be a
    > link error):

    We really should just get that flag into mainline so that it breaks
    for people before they submit patches. We run into this constantly.

    Add -Werror-implicit-function-declaration
    This makes builds fail sooner if something is implicitly defined instead
    of having to wait half an hour for it to fail at the linking stage.

    Signed-off-by: Dave Jones <>

    --- linux-2.6/Makefile~ 2007-06-04 16:46:24.000000000 -0400
    +++ linux-2.6/Makefile 2007-06-04 16:46:53.000000000 -0400
    @@ -313,7 +313,8 @@ LINUXINCLUDE := -Iinclude \

    CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
    - -fno-strict-aliasing -fno-common
    + -fno-strict-aliasing -fno-common \
    + -Werror-implicit-function-declaration

    # Read KERNELRELEASE from include/config/kernel.release (if it exists)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-12 05:27    [W:0.020 / U:41.148 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site