Bug ID | 1209724 |
---|---|
Summary | kernel can not be built for s390x because of outside array bounds |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | S/390-64 |
OS | Other |
Status | NEW |
Severity | Major |
Priority | P5 - None |
Component | Kernel |
Assignee | kernel-bugs@opensuse.org |
Reporter | ada.lovelace@gmx.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Multiple packages can not be built for s390x because kernel-default can not be built for openSUSE Tumbleweed. The problem exist since version kernel-default-6.2.8. I can find following error message: [ 4176s] In function 'do_ip6t_set_ctl': [ 4176s] cc1: note: source object is likely at address zero [ 4176s] CC [M] drivers/net/wwan/mhi_wwan_mbim.o [ 4177s] CC [M] net/ipv6/netfilter/ip6table_filter.o [ 4177s] CC [M] drivers/net/wwan/rpmsg_wwan_ctrl.o [ 4179s] CC [M] net/ipv6/netfilter/ip6table_mangle.o [ 4179s] CC [M] drivers/net/wwan/t7xx/t7xx_pci.o [ 4180s] CC [M] drivers/net/wwan/t7xx/t7xx_pcie_mac.o [ 4180s] CC [M] net/ipv6/netfilter/ip6table_raw.o [ 4181s] CC [M] drivers/net/wwan/t7xx/t7xx_mhccif.o [ 4181s] CC [M] net/ipv6/netfilter/ip6table_security.o [ 4182s] CC [M] drivers/net/wwan/t7xx/t7xx_state_monitor.o [ 4182s] In file included from ./arch/s390/include/generated/asm/rwonce.h:1, [ 4182s] from ../include/linux/compiler.h:247, [ 4182s] from ../include/linux/build_bug.h:5, [ 4182s] from ../include/linux/bits.h:22, [ 4182s] from ../drivers/net/wwan/t7xx/t7xx_state_monitor.c:17: [ 4182s] In function 'preempt_count', [ 4182s] inlined from 't7xx_fsm_append_event' at ../drivers/net/wwan/t7xx/t7xx_state_monitor.c:439:43: [ 4182s] ../include/asm-generic/rwonce.h:44:26: error: array subscript 0 is outside array bounds of 'const volatile int[0]' [-Werror=array-bounds=] [ 4182s] 44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) [ 4182s] | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4182s] ../include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE' [ 4182s] 50 | __READ_ONCE(x); \ [ 4182s] | ^~~~~~~~~~~ [ 4182s] ../arch/s390/include/asm/preempt.h:17:16: note: in expansion of macro 'READ_ONCE' [ 4182s] 17 | return READ_ONCE(S390_lowcore.preempt_count) & ~PREEMPT_NEED_RESCHED; [ 4182s] | ^~~~~~~~~ [ 4182s] In function 't7xx_fsm_append_event': [ 4182s] cc1: note: source object is likely at address zero [ 4182s] In function 'preempt_count', [ 4182s] inlined from 't7xx_fsm_append_event' at ../drivers/net/wwan/t7xx/t7xx_state_monitor.c:439:43: [ 4182s] ../include/asm-generic/rwonce.h:44:26: error: array subscript 0 is outside array bounds of 'const volatile int[0]' [-Werror=array-bounds=] [ 4182s] 44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) [ 4182s] | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4182s] ../include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE' [ 4182s] 50 | __READ_ONCE(x); \ [ 4182s] | ^~~~~~~~~~~ [ 4182s] ../arch/s390/include/asm/preempt.h:17:16: note: in expansion of macro 'READ_ONCE' [ 4182s] 17 | return READ_ONCE(S390_lowcore.preempt_count) & ~PREEMPT_NEED_RESCHED; [ 4182s] | ^~~~~~~~~ [ 4182s] In function 't7xx_fsm_append_event': [ 4182s] cc1: note: source object is likely at address zero [ 4182s] In function 'preempt_count', [ 4182s] inlined from 't7xx_fsm_append_event' at ../drivers/net/wwan/t7xx/t7xx_state_monitor.c:439:43: [ 4182s] ../include/asm-generic/rwonce.h:44:26: error: array subscript 0 is outside array bounds of 'const volatile int[0]' [-Werror=array-bounds=] [ 4182s] 44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x)) [ 4182s] | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4182s] ../include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE' [ 4182s] 50 | __READ_ONCE(x); \ [ 4182s] | ^~~~~~~~~~~ [ 4182s] ../arch/s390/include/asm/preempt.h:17:16: note: in expansion of macro 'READ_ONCE' [ 4182s] 17 | return READ_ONCE(S390_lowcore.preempt_count) & ~PREEMPT_NEED_RESCHED; [ 4182s] | ^~~~~~~~~ [ 4182s] In function 't7xx_fsm_append_event': [ 4182s] cc1: note: source object is likely at address zero [ 4182s] cc1: all warnings being treated as errors [ 4182s] make[5]: *** [../scripts/Makefile.build:253: drivers/net/wwan/t7xx/t7xx_state_monitor.o] Error 1