Re: [PATCH v2] fix ___SYNC () build error when PROFILE_ALL_BRANCHES is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Genjian,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.4-rc1 next-20230512]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Genjian/fix-___SYNC-build-error-when-PROFILE_ALL_BRANCHES-is-enabled/20230427-230626
base:   linus/master
patch link:    https://lore.kernel.org/r/20230427150332.2978867-1-zhanggenjian%40kylinos.cn
patch subject: [PATCH v2] fix ___SYNC () build error when PROFILE_ALL_BRANCHES is enabled
config: mips-decstation_defconfig (https://download.01.org/0day-ci/archive/20230514/202305140702.w0bg48FH-lkp@xxxxxxxxx/config)
compiler: mipsel-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/intel-lab-lkp/linux/commit/6eb50851d61ca808629a062e0545704eba5be950
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Genjian/fix-___SYNC-build-error-when-PROFILE_ALL_BRANCHES-is-enabled/20230427-230626
        git checkout 6eb50851d61ca808629a062e0545704eba5be950
        # 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=mips olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202305140702.w0bg48FH-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   init/main.c:779:20: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes]
     779 | void __init __weak arch_post_acpi_subsys_init(void) { }
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
   init/main.c:791:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes]
     791 | void __init __weak mem_encrypt_init(void) { }
         |                    ^~~~~~~~~~~~~~~~
   init/main.c:793:20: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes]
     793 | void __init __weak poking_init(void) { }
         |                    ^~~~~~~~~~~
   {standard input}: Assembler messages:
   {standard input}:2288: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
>> {standard input}:2288: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:131: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:131: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:245: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:245: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:139: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:898: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:67: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:149: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   arch/mips/kernel/syscall.c:51:16: warning: no previous prototype for 'sysm_pipe' [-Wmissing-prototypes]
      51 | asmlinkage int sysm_pipe(void)
         |                ^~~~~~~~~
   {standard input}: Assembler messages:
   {standard input}:356: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:356: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:178: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:878: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:90: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:169: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:35: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:513: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:100: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:138: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
--
   {standard input}: Assembler messages:
   {standard input}:44: Error: non-constant expression in ".if" statement
>> {standard input}: Error: end of file inside conditional
   {standard input}:332: Error: here is the start of the unterminated conditional
   {standard input}: Warning: missing .end at end of assembly
..

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux