[Bug 1209724] New: kernel can not be built for s390x because of outside array bounds
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 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 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ihno@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |azouhr@opensuse.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 http://bugzilla.opensuse.org/show_bug.cgi?id=1209724#c1 --- Comment #1 from Sarah Kriesch <ada.lovelace@gmx.de> --- Full log file: https://build.opensuse.org/build/openSUSE:Factory:zSystems/standard/s390x/ke... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tstaudt@de.ibm.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 http://bugzilla.opensuse.org/show_bug.cgi?id=1209724#c2 --- Comment #2 from Sarah Kriesch <ada.lovelace@gmx.de> --- Hi Thomas, can you forward that to a Network Kernel Developer, please? It seems, that it is related to IPv6. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 Sarah Kriesch <ada.lovelace@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 http://bugzilla.opensuse.org/show_bug.cgi?id=1209724#c3 --- Comment #3 from Sarah Kriesch <ada.lovelace@gmx.de> --- public link: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:zSystems/... latest (working) Tumbleweed releases: https://get.opensuse.org/de/tumbleweed/ last built kernel available under: https://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/s390x/kerne... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1209724 http://bugzilla.opensuse.org/show_bug.cgi?id=1209724#c4 --- Comment #4 from Sarah Kriesch <ada.lovelace@gmx.de> --- kernel-vanilla is in the same situation with an equal error output: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:zSystems/... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com