lkml.org 
[lkml]   [2017]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v8 09/14] lockdep: Apply crossrelease to completions
    Hi Byungchul,

    [auto build test ERROR on linus/master]
    [also build test ERROR on v4.13-rc4 next-20170804]
    [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

    url: https://github.com/0day-ci/linux/commits/Byungchul-Park/lockdep-Implement-crossrelease-feature/20170807-172617
    config: alpha-allmodconfig (attached as .config)
    compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
    reproduce:
    wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
    chmod +x ~/bin/make.cross
    # save the attached .config to linux build tree
    make.cross ARCH=alpha

    All errors (new ones prefixed by >>):

    warning: (LOCKDEP_COMPLETE) selects LOCKDEP_CROSSRELEASE which has unmet direct dependencies (PROVE_LOCKING)
    warning: (LOCKDEP_COMPLETE) selects LOCKDEP_CROSSRELEASE which has unmet direct dependencies (PROVE_LOCKING)
    In file included from include/linux/srcutree.h:28:0,
    from include/linux/srcu.h:62,
    from include/linux/notifier.h:15,
    from include/linux/memory_hotplug.h:6,
    from include/linux/mmzone.h:771,
    from include/linux/gfp.h:5,
    from include/linux/mm.h:9,
    from include/linux/pid_namespace.h:6,
    from include/linux/ptrace.h:9,
    from arch/alpha/kernel/asm-offsets.c:10:
    >> include/linux/completion.h:32:27: error: field 'map' has incomplete type
    struct lockdep_map_cross map;
    ^~~
    make[2]: *** [arch/alpha/kernel/asm-offsets.s] Error 1
    make[2]: Target '__build' not remade because of errors.
    make[1]: *** [prepare0] Error 2
    make[1]: Target 'prepare' not remade because of errors.
    make: *** [sub-make] Error 2

    vim +/map +32 include/linux/completion.h

    15
    16 /*
    17 * struct completion - structure used to maintain state for a "completion"
    18 *
    19 * This is the opaque structure used to maintain the state for a "completion".
    20 * Completions currently use a FIFO to queue threads that have to wait for
    21 * the "completion" event.
    22 *
    23 * See also: complete(), wait_for_completion() (and friends _timeout,
    24 * _interruptible, _interruptible_timeout, and _killable), init_completion(),
    25 * reinit_completion(), and macros DECLARE_COMPLETION(),
    26 * DECLARE_COMPLETION_ONSTACK().
    27 */
    28 struct completion {
    29 unsigned int done;
    30 wait_queue_head_t wait;
    31 #ifdef CONFIG_LOCKDEP_COMPLETE
    > 32 struct lockdep_map_cross map;
    33 #endif
    34 };
    35

    ---
    0-DAY kernel test infrastructure Open Source Technology Center
    https://lists.01.org/pipermail/kbuild-all Intel Corporation
    [unhandled content-type:application/gzip]
    \
     
     \ /
      Last update: 2017-08-07 12:21    [W:4.041 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site