lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 19 Apr 2022 05:47:27 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 1943/2356]
 include/linux/sched/per_task.h:48:11: fatal error: generated/asm-offsets.h:
 No such file or directory

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   af93551cf39027d176f30b9beafc60a4c130998a
commit: 80c0e4074fec30c33ea852116b08b7a37de62224 [1943/2356] headers/deps: Optimize <linux/jump_label.h>, remove the <linux/atomic_api.h> inclusion in the CONFIG_JUMP_LABEL=y case
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220419/202204190533.RhBbw7Jd-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=80c0e4074fec30c33ea852116b08b7a37de62224
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 80c0e4074fec30c33ea852116b08b7a37de62224
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc prepare

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/sched.h:12,
                    from include/linux/sched/thread_info_api.h:5,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/powerpc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:79,
                    from arch/powerpc/kernel/asm-offsets.c:12:
>> include/linux/sched/per_task.h:48:11: fatal error: generated/asm-offsets.h: No such file or directory
      48 | # include <generated/asm-offsets.h>
         |           ^~~~~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:120: arch/powerpc/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1194: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:219: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +48 include/linux/sched/per_task.h

dcac6390a2220f Ingo Molnar 2021-09-05  42  
dcac6390a2220f Ingo Molnar 2021-09-05  43  #ifndef __PER_TASK_GEN
dcac6390a2220f Ingo Molnar 2021-09-05  44  /*
dcac6390a2220f Ingo Molnar 2021-09-05  45   * These offsets get generated via the scripts/gen-pertask.sh script,
dcac6390a2220f Ingo Molnar 2021-09-05  46   * and the pertask rules in the top level Kbuild file:
dcac6390a2220f Ingo Molnar 2021-09-05  47   */
dcac6390a2220f Ingo Molnar 2021-09-05 @48  # include <generated/asm-offsets.h>
dcac6390a2220f Ingo Molnar 2021-09-05  49  #endif
dcac6390a2220f Ingo Molnar 2021-09-05  50  

:::::: The code at line 48 was first introduced by commit
:::::: dcac6390a2220f99834d2d14650fb82f2da9136b headers/deps: per_task: Add the per_task infrastructure for x86, arm64, sparc and MIPS

:::::: TO: Ingo Molnar <mingo@...nel.org>
:::::: CC: Ingo Molnar <mingo@...nel.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ