All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
@ 2022-08-07 11:24 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-08-07 11:24 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2828 bytes --]

:::::: 
:::::: Manual check reason: "only Kconfig file updated"
:::::: Manual check reason: "low confidence static check first_new_problem: arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'"
:::::: 

BCC: lkp(a)intel.com
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: "Justin M. Forbes" <jforbes@fedoraproject.org>
CC: "Jason A. Donenfeld" <zx2c4@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1612c382ffbdf1f673caec76502b1c00e6d35363
commit: e56e18985596617ae426ed5997fb2e737cffb58b lib/crypto: add prompts back to crypto libraries
date:   7 months ago
:::::: branch date: 11 hours ago
:::::: commit date: 7 months ago
config: arm-randconfig-s053-20220804 (https://download.01.org/0day-ci/archive/20220807/202208071903.Z1uxLzC5-lkp(a)intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e56e18985596617ae426ed5997fb2e737cffb58b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout e56e18985596617ae426ed5997fb2e737cffb58b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm SHELL=/bin/bash

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

sparse warnings: (new ones prefixed by >>)
>> arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'

vim +14 arch/arm/lib/xor-neon.c

01956597cbc46d Ard Biesheuvel    2013-05-17  12  
01956597cbc46d Ard Biesheuvel    2013-05-17  13  #ifndef __ARM_NEON__
de9c0d49d85dc5 Nathan Chancellor 2019-02-02 @14  #error You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
01956597cbc46d Ard Biesheuvel    2013-05-17  15  #endif
01956597cbc46d Ard Biesheuvel    2013-05-17  16  

:::::: The code at line 14 was first introduced by commit
:::::: de9c0d49d85dc563549972edc5589d195cd5e859 ARM: 8833/1: Ensure that NEON code always compiles with Clang

:::::: TO: Nathan Chancellor <natechancellor@gmail.com>
:::::: CC: Russell King <rmk+kernel@armlinux.org.uk>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
@ 2024-11-08 12:27 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-11-08 12:27 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Kent Overstreet <kent.overstreet@linux.dev>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   906bd684e4b1e517dd424a354744c5b0aebef8af
commit: cd575ddf57af004913ff5a994aa5f3203216fa68 bcachefs: Erasure coding
date:   1 year, 1 month ago
:::::: branch date: 13 hours ago
:::::: commit date: 1 year, 1 month ago
config: arm-randconfig-r131-20241108 (https://download.01.org/0day-ci/archive/20241108/202411082053.cxHgnubU-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce: (https://download.01.org/0day-ci/archive/20241108/202411082053.cxHgnubU-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202411082053.cxHgnubU-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
--
   lib/raid6/recov_neon_inner.c: note: in included file:
   /opt/cross/clang-592c0fe55f/lib/clang/20/include/arm_neon.h:28:2: sparse: sparse: "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
   lib/raid6/recov_neon_inner.c: note: in included file:
   lib/raid6/neon.h:15:50: sparse: sparse: Expected ) in function declarator
   lib/raid6/neon.h:15:50: sparse: sparse: got *
   lib/raid6/neon.h:19:50: sparse: sparse: Expected ) in function declarator
   lib/raid6/neon.h:19:50: sparse: sparse: got *
   lib/raid6/recov_neon_inner.c:16:19: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:16:19: sparse: sparse: got vqtbl1q_u8
   lib/raid6/recov_neon_inner.c:20:33: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:20:33: sparse: sparse: got pair
   lib/raid6/recov_neon_inner.c:21:9: sparse: sparse: Expected ; at the end of type declaration
   lib/raid6/recov_neon_inner.c:21:9: sparse: sparse: got }
>> lib/raid6/recov_neon_inner.c:23:9: sparse: sparse: Trying to use reserved word 'return' as identifier
   lib/raid6/recov_neon_inner.c:23:16: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:23:16: sparse: sparse: got vcombine_u8
   lib/raid6/recov_neon_inner.c:25:1: sparse: sparse: Expected ; at the end of type declaration
   lib/raid6/recov_neon_inner.c:25:1: sparse: sparse: got }
   lib/raid6/recov_neon_inner.c:33:20: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:33:20: sparse: sparse: got pm1
   lib/raid6/recov_neon_inner.c:34:20: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:34:20: sparse: sparse: got qm0
   lib/raid6/recov_neon_inner.c:35:20: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:35:20: sparse: sparse: got qm1
   lib/raid6/recov_neon_inner.c:36:20: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:36:20: sparse: sparse: got x0f
   lib/raid6/recov_neon_inner.c:50:9: sparse: sparse: Trying to use reserved word 'while' as identifier
   lib/raid6/recov_neon_inner.c:50:16: sparse: sparse: missing type declaration for parameter 'bytes'
   lib/raid6/recov_neon_inner.c:51:28: sparse: sparse: Expected ; at end of statement
   lib/raid6/recov_neon_inner.c:51:28: sparse: sparse: got vx
   lib/raid6/recov_neon_inner.c:76:1: sparse: sparse: Expected ; at the end of type declaration
   lib/raid6/recov_neon_inner.c:76:1: sparse: sparse: got }
   lib/raid6/recov_neon_inner.c:82:20: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:82:20: sparse: sparse: got qm1
   lib/raid6/recov_neon_inner.c:83:20: sparse: sparse: Expected ; at end of declaration
   lib/raid6/recov_neon_inner.c:83:20: sparse: sparse: got x0f
   lib/raid6/recov_neon_inner.c:92:9: sparse: sparse: Trying to use reserved word 'while' as identifier
   lib/raid6/recov_neon_inner.c:92:16: sparse: sparse: missing type declaration for parameter 'bytes'
   lib/raid6/recov_neon_inner.c:93:28: sparse: sparse: Expected ; at end of statement
   lib/raid6/recov_neon_inner.c:93:28: sparse: sparse: got vx
   lib/raid6/recov_neon_inner.c:111:1: sparse: sparse: Expected ; at the end of type declaration
   lib/raid6/recov_neon_inner.c:111:1: sparse: sparse: got }
   lib/raid6/recov_neon_inner.c:53:17: sparse: sparse: undefined identifier 'px'
   lib/raid6/recov_neon_inner.c:53:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:54:17: sparse: sparse: undefined identifier 'vx'
   lib/raid6/recov_neon_inner.c:54:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:56:17: sparse: sparse: undefined identifier 'vy'
   lib/raid6/recov_neon_inner.c:56:22: sparse: sparse: undefined identifier 'vshrq_n_u8'
   lib/raid6/recov_neon_inner.c:57:17: sparse: sparse: undefined identifier 'vx'
   lib/raid6/recov_neon_inner.c:57:22: sparse: sparse: undefined identifier 'vqtbl1q_u8'
   lib/raid6/recov_neon_inner.c:58:17: sparse: sparse: undefined identifier 'vy'
   lib/raid6/recov_neon_inner.c:58:22: sparse: sparse: undefined identifier 'vqtbl1q_u8'
   lib/raid6/recov_neon_inner.c:59:17: sparse: sparse: undefined identifier 'qx'
   lib/raid6/recov_neon_inner.c:59:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:61:17: sparse: sparse: undefined identifier 'vy'
   lib/raid6/recov_neon_inner.c:61:22: sparse: sparse: undefined identifier 'vshrq_n_u8'
   lib/raid6/recov_neon_inner.c:62:17: sparse: sparse: undefined identifier 'vx'
   lib/raid6/recov_neon_inner.c:62:22: sparse: sparse: undefined identifier 'vqtbl1q_u8'
   lib/raid6/recov_neon_inner.c:63:17: sparse: sparse: undefined identifier 'vy'
   lib/raid6/recov_neon_inner.c:63:22: sparse: sparse: undefined identifier 'vqtbl1q_u8'
   lib/raid6/recov_neon_inner.c:64:17: sparse: sparse: undefined identifier 'vx'
   lib/raid6/recov_neon_inner.c:64:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:65:17: sparse: sparse: undefined identifier 'db'
   lib/raid6/recov_neon_inner.c:65:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:67:17: sparse: sparse: undefined identifier 'vst1q_u8'
   lib/raid6/recov_neon_inner.c:68:17: sparse: sparse: undefined identifier 'vst1q_u8'
   lib/raid6/recov_neon_inner.c:71:17: sparse: sparse: undefined identifier 'p'
   lib/raid6/recov_neon_inner.c:72:17: sparse: sparse: undefined identifier 'q'
   lib/raid6/recov_neon_inner.c:73:17: sparse: sparse: undefined identifier 'dp'
   lib/raid6/recov_neon_inner.c:74:17: sparse: sparse: undefined identifier 'dq'
   lib/raid6/recov_neon_inner.c:95:17: sparse: sparse: undefined identifier 'vx'
   lib/raid6/recov_neon_inner.c:95:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:97:17: sparse: sparse: undefined identifier 'vy'
   lib/raid6/recov_neon_inner.c:97:22: sparse: sparse: undefined identifier 'vshrq_n_u8'
   lib/raid6/recov_neon_inner.c:98:17: sparse: sparse: undefined identifier 'vx'
   lib/raid6/recov_neon_inner.c:98:22: sparse: sparse: undefined identifier 'vqtbl1q_u8'
   lib/raid6/recov_neon_inner.c:99:17: sparse: sparse: undefined identifier 'vy'
   lib/raid6/recov_neon_inner.c:99:22: sparse: sparse: undefined identifier 'vqtbl1q_u8'
   lib/raid6/recov_neon_inner.c:100:17: sparse: sparse: undefined identifier 'vx'
   lib/raid6/recov_neon_inner.c:100:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:101:17: sparse: sparse: undefined identifier 'vy'
   lib/raid6/recov_neon_inner.c:101:22: sparse: sparse: undefined identifier 'veorq_u8'
   lib/raid6/recov_neon_inner.c:103:17: sparse: sparse: undefined identifier 'vst1q_u8'
   lib/raid6/recov_neon_inner.c:104:17: sparse: sparse: undefined identifier 'vst1q_u8'
   lib/raid6/recov_neon_inner.c:107:17: sparse: sparse: undefined identifier 'p'
   lib/raid6/recov_neon_inner.c:108:17: sparse: sparse: undefined identifier 'q'
   lib/raid6/recov_neon_inner.c:109:17: sparse: sparse: undefined identifier 'dq'

vim +14 arch/arm/lib/xor-neon.c

01956597cbc46d Ard Biesheuvel    2013-05-17  12  
01956597cbc46d Ard Biesheuvel    2013-05-17  13  #ifndef __ARM_NEON__
de9c0d49d85dc5 Nathan Chancellor 2019-02-02 @14  #error You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
01956597cbc46d Ard Biesheuvel    2013-05-17  15  #endif
01956597cbc46d Ard Biesheuvel    2013-05-17  16  

:::::: The code at line 14 was first introduced by commit
:::::: de9c0d49d85dc563549972edc5589d195cd5e859 ARM: 8833/1: Ensure that NEON code always compiles with Clang

:::::: TO: Nathan Chancellor <natechancellor@gmail.com>
:::::: CC: Russell King <rmk+kernel@armlinux.org.uk>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-08 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 12:27 arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-08-07 11:24 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.