From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: arch/arm/lib/xor-neon.c:14:2: sparse: sparse: You should compile this file with '-march=armv7-a -mfloat-abi=softfp -mfpu=neon'
Date: Fri, 8 Nov 2024 20:27:16 +0800 [thread overview]
Message-ID: <202411082053.cxHgnubU-lkp@intel.com> (raw)
::::::
:::::: 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
next reply other threads:[~2024-11-08 12:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-08 12:27 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-07 11:24 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202411082053.cxHgnubU-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.