[arc:topic-zol-remove 11/23] arch/arc/kernel/head.S:99: Error: opcode 'std' not supported for target arc700
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head: bc44856c00c323436192ecb07490d6dec95f9cc3
commit: 8edf09c34e4cc21a34c2add480fa86d7dc498ed6 [11/23] ARC: head: elide ZOL, use double load/store
config: arc-randconfig-a001-20200429 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 8edf09c34e4cc21a34c2add480fa86d7dc498ed6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arc/kernel/head.S: Assembler messages:
>> arch/arc/kernel/head.S:99: Error: opcode 'std' not supported for target arc700
vim +/std +99 arch/arc/kernel/head.S
95
96 ; Clear BSS before updating any globals
97 mov r5, __bss_start
98 mov r6, __bss_stop
> 99 1: std.ab 0, [r5, 8]
100 brne r5, r6, 1b
101
102 ; Uboot - kernel ABI
103 ; r0 = [0] No uboot interaction, [1] cmdline in r2, [2] DTB in r2
104 ; r1 = magic number (always zero as of now)
105 ; r2 = pointer to uboot provided cmdline or external DTB in mem
106 ; These are handled later in handle_uboot_args()
107 st r0, [@uboot_tag]
108 st r1, [@uboot_magic]
109 st r2, [@uboot_arg]
110
111 ; setup "current" tsk and optionally cache it in dedicated r25
112 mov r9, @init_task
113 SET_CURR_TASK_ON_CPU r9, r0 ; r9 = tsk, r0 = scratch
114
115 ; setup stack (fp, sp)
116 mov fp, 0
117
118 ; tsk->thread_info is really a PAGE, whose bottom hoists stack
119 GET_TSK_STACK_BASE r9, sp ; r9 = tsk, sp = stack base(output)
120
121 j start_kernel ; "C" entry point
122 END(stext)
123
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
[linux-review:UPDATE-20200429-180730/Clay-McClure/net-Select-PTP_1588_CLOCK-in-PTP-specific-drivers/20200429-023949 1/1] cpsw.c:undefined reference to `cpts_unregister'
by kbuild test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20200429-180730/Clay-McCl...
head: 5a13d2cd5360024533dacddba685d3aa2a3e3dd2
commit: 5a13d2cd5360024533dacddba685d3aa2a3e3dd2 [1/1] net: Make PTP-specific drivers depend on PTP_1588_CLOCK
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 5a13d2cd5360024533dacddba685d3aa2a3e3dd2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw.o: in function `cpsw_ndo_stop':
>> cpsw.c:(.text+0x680): undefined reference to `cpts_unregister'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw.o: in function `cpsw_remove':
>> cpsw.c:(.text+0x81c): undefined reference to `cpts_release'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw.o: in function `cpsw_rx_handler':
>> cpsw.c:(.text+0x1324): undefined reference to `cpts_rx_timestamp'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw.o: in function `cpsw_ndo_open':
>> cpsw.c:(.text+0x15ec): undefined reference to `cpts_register'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw.o: in function `cpsw_probe':
cpsw.c:(.text+0x2468): undefined reference to `cpts_release'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw_priv.o: in function `cpsw_tx_handler':
>> cpsw_priv.c:(.text+0x108): undefined reference to `cpts_tx_timestamp'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw_priv.o: in function `cpsw_init_common':
>> cpsw_priv.c:(.text+0xc40): undefined reference to `cpts_create'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw_new.o: in function `cpsw_ndo_stop':
>> cpsw_new.c:(.text+0x9c4): undefined reference to `cpts_unregister'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw_new.o: in function `cpsw_remove':
>> cpsw_new.c:(.text+0xca8): undefined reference to `cpts_release'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw_new.o: in function `cpsw_rx_handler':
>> cpsw_new.c:(.text+0xf84): undefined reference to `cpts_rx_timestamp'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw_new.o: in function `cpsw_probe':
cpsw_new.c:(.text+0x17f8): undefined reference to `cpts_release'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/cpsw_new.o: in function `cpsw_ndo_open':
>> cpsw_new.c:(.text.unlikely+0x68c): undefined reference to `cpts_register'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
[hch-misc:set_fs-coredump 5/8] arch/x86/kernel/signal.c:521:2: error: implicit declaration of function 'copy_siginfo_to_external32'; did you mean '__copy_siginfo_to_external32'?
by kbuild test robot
tree: git://git.infradead.org/users/hch/misc.git set_fs-coredump
head: 228b031469fed785903ae5e346d6721aa5897391
commit: 45e5263d7c24d854bb446b7e69dc53729ed842bc [5/8] signal: refactor copy_siginfo_to_user32
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 45e5263d7c24d854bb446b7e69dc53729ed842bc
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/kernel/signal.c: In function 'x32_copy_siginfo_to_user':
>> arch/x86/kernel/signal.c:521:2: error: implicit declaration of function 'copy_siginfo_to_external32'; did you mean '__copy_siginfo_to_external32'? [-Werror=implicit-function-declaration]
copy_siginfo_to_external32(&new, from);
^~~~~~~~~~~~~~~~~~~~~~~~~~
__copy_siginfo_to_external32
cc1: some warnings being treated as errors
vim +521 arch/x86/kernel/signal.c
514
515 #ifdef CONFIG_X86_X32_ABI
516 static int x32_copy_siginfo_to_user(struct compat_siginfo __user *to,
517 const struct kernel_siginfo *from)
518 {
519 struct compat_siginfo new;
520
> 521 copy_siginfo_to_external32(&new, from);
522 if (from->si_signo == SIGCHLD) {
523 new._sifields._sigchld_x32._utime = from->si_utime;
524 new._sifields._sigchld_x32._stime = from->si_stime;
525 }
526 if (copy_to_user(to, &new, sizeof(struct compat_siginfo)))
527 return -EFAULT;
528 return 0;
529 }
530
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
[hch-misc:set_fs-coredump 5/8] arch/x86/kernel/signal.c:521:2: error: implicit declaration of function 'copy_siginfo_to_external32'
by kbuild test robot
tree: git://git.infradead.org/users/hch/misc.git set_fs-coredump
head: 228b031469fed785903ae5e346d6721aa5897391
commit: 45e5263d7c24d854bb446b7e69dc53729ed842bc [5/8] signal: refactor copy_siginfo_to_user32
config: x86_64-randconfig-f002-20200429 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project f30416fdde922eaa655934e050026930fefbd260)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 45e5263d7c24d854bb446b7e69dc53729ed842bc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> arch/x86/kernel/signal.c:521:2: error: implicit declaration of function 'copy_siginfo_to_external32' [-Werror,-Wimplicit-function-declaration]
copy_siginfo_to_external32(&new, from);
^
arch/x86/kernel/signal.c:521:2: note: did you mean '__copy_siginfo_to_external32'?
include/linux/compat.h:405:6: note: '__copy_siginfo_to_external32' declared here
void __copy_siginfo_to_external32(struct compat_siginfo *to,
^
1 error generated.
vim +/copy_siginfo_to_external32 +521 arch/x86/kernel/signal.c
514
515 #ifdef CONFIG_X86_X32_ABI
516 static int x32_copy_siginfo_to_user(struct compat_siginfo __user *to,
517 const struct kernel_siginfo *from)
518 {
519 struct compat_siginfo new;
520
> 521 copy_siginfo_to_external32(&new, from);
522 if (from->si_signo == SIGCHLD) {
523 new._sifields._sigchld_x32._utime = from->si_utime;
524 new._sifields._sigchld_x32._stime = from->si_stime;
525 }
526 if (copy_to_user(to, &new, sizeof(struct compat_siginfo)))
527 return -EFAULT;
528 return 0;
529 }
530
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
[skn:smccc_v1_2_soc_id 5/5] soc_id.c:undefined reference to `arm_smccc_get_version'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git smccc_v1_2_soc_id
head: 81d10aa4c67cd4241388741a7d279a38c8bcfd00
commit: 81d10aa4c67cd4241388741a7d279a38c8bcfd00 [5/5] arm/arm64: smccc: Add ARCH_SOC_ID support
config: arm-shmobile_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 81d10aa4c67cd4241388741a7d279a38c8bcfd00
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: drivers/firmware/psci/soc_id.o: in function `smccc_soc_init':
>> soc_id.c:(.init.text+0x4): undefined reference to `arm_smccc_get_version'
>> arm-linux-gnueabi-ld: soc_id.c:(.init.text+0x14): undefined reference to `arm_smccc_1_1_get_conduit'
arm-linux-gnueabi-ld: soc_id.c:(.init.text+0x34): undefined reference to `arm_smccc_1_1_get_conduit'
arm-linux-gnueabi-ld: soc_id.c:(.init.text+0x80): undefined reference to `arm_smccc_1_1_get_conduit'
arm-linux-gnueabi-ld: soc_id.c:(.init.text+0xb4): undefined reference to `arm_smccc_1_1_get_conduit'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
Re: [PATCH v13 23/25] block/rnbd: include client and server modules into kernel compilation
by kbuild test robot
Hi Danil,
I love your patch! Yet something to improve:
[auto build test ERROR on block/for-next]
[also build test ERROR on driver-core/driver-core-testing rdma/for-next linus/master v5.7-rc3 next-20200428]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Danil-Kipnis/RTRS-former-IBTRS-R...
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/block/rnbd/rnbd-clt.c:19:0:
>> drivers/block/rnbd/rnbd-clt.h:19:10: fatal error: rtrs.h: No such file or directory
#include "rtrs.h"
^~~~~~~~
compilation terminated.
--
In file included from drivers/block/rnbd/rnbd-srv.c:15:0:
>> drivers/block/rnbd/rnbd-srv.h:16:10: fatal error: rtrs.h: No such file or directory
#include "rtrs.h"
^~~~~~~~
compilation terminated.
vim +19 drivers/block/rnbd/rnbd-clt.h
9e3ecd2f9c364e6 Jack Wang 2020-04-27 18
9e3ecd2f9c364e6 Jack Wang 2020-04-27 @19 #include "rtrs.h"
9e3ecd2f9c364e6 Jack Wang 2020-04-27 20 #include "rnbd-proto.h"
9e3ecd2f9c364e6 Jack Wang 2020-04-27 21 #include "rnbd-log.h"
9e3ecd2f9c364e6 Jack Wang 2020-04-27 22
:::::: The code at line 19 was first introduced by commit
:::::: 9e3ecd2f9c364e67eaa3ad19424b0d7ad6daacaa block/rnbd: client: private header with client structs and functions
:::::: TO: Jack Wang <jinpu.wang(a)cloud.ionos.com>
:::::: CC: 0day robot <lkp(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months
[kbuild] [yyu168-linux_cet:cet 30/47] arch/x86/include/asm/fpu/internal.h:485:1: sparse: sparse: missing identifier in declaration
by Dan Carpenter
tree: https://github.com/yyu168/linux_cet.git cet
head: 80138cab012f983a4395ac70e3804739eaff02eb
commit: 0087ee9f497dcb2ae98a00a0b6c95994848c9943 [30/47] x86/cet/shstk: Handle signals for shadow stack
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-191-gc51a0382-dirty
git checkout 0087ee9f497dcb2ae98a00a0b6c95994848c9943
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> arch/x86/include/asm/fpu/internal.h:485:1: sparse: sparse: missing identifier in declaration
arch/x86/include/asm/fpu/internal.h:485:1: sparse: sparse: Expected ; at the end of type declaration
arch/x86/include/asm/fpu/internal.h:485:1: sparse: sparse: got {
arch/x86/include/asm/fpu/internal.h:487:1: sparse: sparse: Expected ; at the end of type declaration
arch/x86/include/asm/fpu/internal.h:487:1: sparse: sparse: got }
--
>> arch/x86/include/asm/fpu/internal.h:485:1: sparse: sparse: missing identifier in declaration
arch/x86/include/asm/fpu/internal.h:485:1: sparse: sparse: Expected ; at the end of type declaration
arch/x86/include/asm/fpu/internal.h:485:1: sparse: sparse: got {
arch/x86/include/asm/fpu/internal.h:487:1: sparse: sparse: Expected ; at the end of type declaration
arch/x86/include/asm/fpu/internal.h:487:1: sparse: sparse: got }
arch/x86/kernel/signal.c:282:15: sparse: sparse: undefined identifier 'copy_fpstate_to_sigframe'
# https://github.com/yyu168/linux_cet/commit/0087ee9f497dcb2ae98a00a0b6c959...
git remote add yyu168-linux_cet https://github.com/yyu168/linux_cet.git
git remote update yyu168-linux_cet
git checkout 0087ee9f497dcb2ae98a00a0b6c95994848c9943
vim +485 arch/x86/include/asm/fpu/internal.h
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 479 #ifdef CONFIG_X86_INTEL_CET
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 480 extern int save_cet_to_sigframe(int ia32, void __user *fp,
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 481 unsigned long restorer);
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 482 #else
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 483 static inline int save_cet_to_sigframe(int ia32, void __user *fp,
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 484 unsigned long restorer);
^
Extra semi-colon.
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 @485 {
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 486 return 0;
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 487 }
0087ee9f497dcb arch/x86/include/asm/fpu/internal.h Yu-cheng Yu 2017-01-05 488 #endif
87dafd41a4423c arch/x86/include/asm/fpu/internal.h Ingo Molnar 2015-05-25 489 extern int copy_fpstate_to_sigframe(void __user *buf, void __user *fp, int size);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org
2 years, 2 months
[ipsec-next:testing 1/2] net/ipv6/esp6.c:144:15: error: implicit declaration of function 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'?
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git testing
head: ce37981d9045220810dabcb9cf20a1d86202c76a
commit: 3fd2d6fdcbb7bcd1fd7110d997fb6ed6eb71dca3 [1/2] xfrm: add support for UDPv6 encapsulation of ESP
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 3fd2d6fdcbb7bcd1fd7110d997fb6ed6eb71dca3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
net/ipv6/esp6.c: In function 'esp_output_encap_csum':
>> net/ipv6/esp6.c:144:15: error: implicit declaration of function 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'? [-Werror=implicit-function-declaration]
144 | uh->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr,
| ^~~~~~~~~~~~~~~
| csum_tcpudp_magic
cc1: some warnings being treated as errors
vim +144 net/ipv6/esp6.c
133
134 static void esp_output_encap_csum(struct sk_buff *skb)
135 {
136 /* UDP encap with IPv6 requires a valid checksum */
137 if (*skb_mac_header(skb) == IPPROTO_UDP) {
138 struct udphdr *uh = udp_hdr(skb);
139 struct ipv6hdr *ip6h = ipv6_hdr(skb);
140 int len = ntohs(uh->len);
141 unsigned int offset = skb_transport_offset(skb);
142 __wsum csum = skb_checksum(skb, offset, skb->len - offset, 0);
143
> 144 uh->check = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr,
145 len, IPPROTO_UDP, csum);
146 if (uh->check == 0)
147 uh->check = CSUM_MANGLED_0;
148 }
149 }
150
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 2 months