lkml.org 
[lkml]   [2018]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectlinux-next: build failure after merge of the akpm-current tree
    Hi Andrew,

    After merging the akpm-current tree, today's linux-next build (lots of
    configuations) failed like this:

    (from the i386 defconfig build)

    In file included from include/linux/memcontrol.h:29:0,
    from include/linux/swap.h:9,
    from include/linux/suspend.h:5,
    from arch/x86/kernel/asm-offsets.c:13:
    include/linux/mm.h: In function 'get_mm_hiwater_rss':
    include/linux/mm.h:1569:9: error: first argument to '__builtin_choose_expr' not a constant
    include/linux/mm.h: In function 'get_mm_hiwater_vm':
    include/linux/mm.h:1574:9: error: first argument to '__builtin_choose_expr' not a constant

    and many more ...

    Caused by commit

    c7c133f3d5ff ("kernel.h: skip single-eval logic on literals in min()/max()")
    (and perhaps the folloups)

    Just a few of my builds actaully worked (including those I do
    during the day). For complete logs see
    http://kisskb.ellerman.id.au/kisskb/head/13556/ .

    I guess it could be compiler version specific. The failing ones are
    done with gcc 4.6.3. My successful ones with gcc 7.3.1.

    --
    Cheers,
    Stephen Rothwell
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2018-03-13 10:52    [W:3.041 / U:3.936 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site