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]
Message-ID: <202207301643.B4B5Etah-lkp@intel.com>
Date:   Sat, 30 Jul 2022 16:35:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Nathan Chancellor <natechancellor@...il.com>,
        Matthias Kaehlcke <mka@...omium.org>,
        Sean Paul <seanpaul@...omium.org>,
        Guenter Roeck <groeck@...omium.org>
Subject: [jsarha:topic/chromeos-4.19-s0ix 6418/9999] cc1: error:
 arch/sh/include/mach-rsk: No such file or directory

tree:   https://github.com/jsarha/linux topic/chromeos-4.19-s0ix
head:   430bdaa0a8c38697780f45a148964d71951df11f
commit: 4fae0a1dc645742f2ecd6238813b2d30d4fb31cd [6418/9999] UPSTREAM: kbuild: add some extra warning flags unconditionally
config: sh-rsk7201_defconfig (https://download.01.org/0day-ci/archive/20220730/202207301643.B4B5Etah-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.1.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://github.com/jsarha/linux/commit/4fae0a1dc645742f2ecd6238813b2d30d4fb31cd
        git remote add jsarha https://github.com/jsarha/linux
        git fetch --no-tags jsarha topic/chromeos-4.19-s0ix
        git checkout 4fae0a1dc645742f2ecd6238813b2d30d4fb31cd
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/lib/lshrdi3.c:6:11: error: no previous prototype for '__lshrdi3' [-Werror=missing-prototypes]
       6 | long long __lshrdi3(long long u, word_type b)
         |           ^~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/lib/ashldi3.c:6:11: error: no previous prototype for '__ashldi3' [-Werror=missing-prototypes]
       6 | long long __ashldi3(long long u, word_type b)
         |           ^~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/lib/ashrdi3.c:6:11: error: no previous prototype for '__ashrdi3' [-Werror=missing-prototypes]
       6 | long long __ashrdi3(long long u, word_type b)
         |           ^~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/kernel/idle.c:35:6: error: no previous prototype for 'arch_cpu_idle_dead' [-Werror=missing-prototypes]
      35 | void arch_cpu_idle_dead(void)
         |      ^~~~~~~~~~~~~~~~~~
   arch/sh/kernel/idle.c:40:6: error: no previous prototype for 'arch_cpu_idle' [-Werror=missing-prototypes]
      40 | void arch_cpu_idle(void)
         |      ^~~~~~~~~~~~~
   arch/sh/kernel/idle.c:45:13: error: no previous prototype for 'select_idle_routine' [-Werror=missing-prototypes]
      45 | void __init select_idle_routine(void)
         |             ^~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/kernel/machvec.c: In function 'early_parse_mv':
   arch/sh/kernel/machvec.c:46:15: error: variable 'mv_comma' set but not used [-Werror=unused-but-set-variable]
      46 |         char *mv_comma;
         |               ^~~~~~~~
   arch/sh/kernel/machvec.c: In function 'sh_mv_setup':
   arch/sh/kernel/machvec.c:107:33: error: array subscript 'struct sh_machine_vector[0]' is partly outside array bounds of 'long int[1]' [-Werror=array-bounds]
     107 |                         sh_mv = *(struct sh_machine_vector *)&__machvec_start;
         |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/sh/kernel/machvec.c:16:
   arch/sh/include/asm/sections.h:7:13: note: object '__machvec_start' of size 4
       7 | extern long __machvec_start, __machvec_end;
         |             ^~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/kernel/ptrace_32.c: In function 'arch_ptrace':
   arch/sh/kernel/ptrace_32.c:383:40: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
     383 |                 if ((addr & 3) || addr < 0 ||
         |                                        ^
   arch/sh/kernel/ptrace_32.c:423:40: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
     423 |                 if ((addr & 3) || addr < 0 ||
         |                                        ^
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/kernel/return_address.c:52:7: error: no previous prototype for 'return_address' [-Werror=missing-prototypes]
      52 | void *return_address(unsigned int depth)
         |       ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/kernel/sys_sh.c:58:16: error: no previous prototype for 'sys_cacheflush' [-Werror=missing-prototypes]
      58 | asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op)
         |                ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/kernel/traps.c: In function 'is_valid_bugaddr':
   arch/sh/kernel/traps.c:119:18: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
     119 |         if (addr < PAGE_OFFSET)
         |                  ^
   cc1: all warnings being treated as errors
--
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
>> cc1: error: arch/sh/include/mach-rsk: No such file or directory [-Werror=missing-include-dirs]
   arch/sh/kernel/traps_32.c:734:6: error: no previous prototype for 'per_cpu_trap_init' [-Werror=missing-prototypes]
     734 | void per_cpu_trap_init(void)
         |      ^~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
..

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ