lkml.org 
[lkml]   [2022]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectsh: compiler_types.h:358:45: error: call to '__compiletime_assert_263' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE().
Linux mainline master branch have reported the following regressions.

Regressions found on sh build failures,
- build/gcc-11-defconfig
- build/gcc-8-defconfig
- build/gcc-11-shx3_defconfig
- build/gcc-8-shx3_defconfig

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=sh
CROSS_COMPILE=sh4-linux-gnu- 'CC=sccache sh4-linux-gnu-gcc'
'HOSTCC=sccache gcc' shx3_defconfig

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=sh
CROSS_COMPILE=sh4-linux-gnu- 'CC=sccache sh4-linux-gnu-gcc'
'HOSTCC=sccache gcc'

Generating include/generated/machtypes.h
<stdin>:1517:2: warning: #warning syscall clone3 not implemented [-Wcpp]
In file included from /builds/linux/arch/sh/include/asm/hw_irq.h:6,
from /builds/linux/include/linux/irq.h:596,
from /builds/linux/include/asm-generic/hardirq.h:17,
from /builds/linux/arch/sh/include/asm/hardirq.h:9,
from /builds/linux/include/linux/hardirq.h:11,
from /builds/linux/include/linux/interrupt.h:11,
from /builds/linux/include/linux/serial_core.h:13,
from /builds/linux/include/linux/serial_sci.h:6,
from /builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:10:
/builds/linux/include/linux/sh_intc.h:100:63: warning: division
'sizeof (void *) / sizeof (void)' does not compute the number of array
elements [-Wsizeof-pointer-div]
100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 :
sizeof(a)/sizeof(*a)
| ^
/builds/linux/include/linux/sh_intc.h:107:9: note: in expansion of
macro '_INTC_ARRAY'
107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \
| ^~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of
macro 'INTC_HW_DESC'
124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs,
\
| ^~~~~~~~~~~~
/builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:309:8: note: in
expansion of macro 'DECLARE_INTC_DESC'
309 | static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups,
| ^~~~~~~~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:100:63: warning: division
'sizeof (void *) / sizeof (void)' does not compute the number of array
elements [-Wsizeof-pointer-div]
100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 :
sizeof(a)/sizeof(*a)
| ^
/builds/linux/include/linux/sh_intc.h:107:34: note: in expansion of
macro '_INTC_ARRAY'
107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \
| ^~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of
macro 'INTC_HW_DESC'
124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs,
\
| ^~~~~~~~~~~~
/builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:309:8: note: in
expansion of macro 'DECLARE_INTC_DESC'
309 | static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups,
| ^~~~~~~~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:100:63: warning: division
'sizeof (void *) / sizeof (void)' does not compute the number of array
elements [-Wsizeof-pointer-div]
100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 :
sizeof(a)/sizeof(*a)
| ^
/builds/linux/include/linux/sh_intc.h:107:34: note: in expansion of
macro '_INTC_ARRAY'
107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \
| ^~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of
macro 'INTC_HW_DESC'
124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs,
\
| ^~~~~~~~~~~~
/builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:322:8: note: in
expansion of macro 'DECLARE_INTC_DESC'
322 | static DECLARE_INTC_DESC(intc_desc_irq, "shx3-irq", vectors_irq, groups,
| ^~~~~~~~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:100:63: warning: division
'sizeof (void *) / sizeof (void)' does not compute the number of array
elements [-Wsizeof-pointer-div]
100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 :
sizeof(a)/sizeof(*a)
| ^
/builds/linux/include/linux/sh_intc.h:107:9: note: in expansion of
macro '_INTC_ARRAY'
107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \
| ^~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of
macro 'INTC_HW_DESC'
124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs,
\
| ^~~~~~~~~~~~
/builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:337:8: note: in
expansion of macro 'DECLARE_INTC_DESC'
337 | static DECLARE_INTC_DESC(intc_desc_irl, "shx3-irl", vectors_irl, groups,
| ^~~~~~~~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:100:63: warning: division
'sizeof (void *) / sizeof (void)' does not compute the number of array
elements [-Wsizeof-pointer-div]
100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 :
sizeof(a)/sizeof(*a)
| ^
/builds/linux/include/linux/sh_intc.h:107:34: note: in expansion of
macro '_INTC_ARRAY'
107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \
| ^~~~~~~~~~~
/builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of
macro 'INTC_HW_DESC'
124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs,
\
| ^~~~~~~~~~~~
/builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:337:8: note: in
expansion of macro 'DECLARE_INTC_DESC'
337 | static DECLARE_INTC_DESC(intc_desc_irl, "shx3-irl", vectors_irl, groups,
| ^~~~~~~~~~~~~~~~~
In file included from <command-line>:
In function 'follow_pmd_mask',
inlined from 'follow_pud_mask' at /builds/linux/mm/gup.c:735:9,
inlined from 'follow_p4d_mask' at /builds/linux/mm/gup.c:752:9,
inlined from 'follow_page_mask' at /builds/linux/mm/gup.c:809:9:
/builds/linux/include/linux/compiler_types.h:358:45: error: call to
'__compiletime_assert_263' declared with attribute error: Unsupported
access size for {READ,WRITE}_ONCE().
358 | _compiletime_assert(condition, msg,
__compiletime_assert_, __COUNTER__)
| ^
/builds/linux/include/linux/compiler_types.h:339:25: note: in
definition of macro '__compiletime_assert'
339 | prefix ## suffix();
\
| ^~~~~~
/builds/linux/include/linux/compiler_types.h:358:9: note: in expansion
of macro '_compiletime_assert'
358 | _compiletime_assert(condition, msg,
__compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
/builds/linux/include/asm-generic/rwonce.h:36:9: note: in expansion of
macro 'compiletime_assert'
36 | compiletime_assert(__native_word(t) || sizeof(t) ==
sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
/builds/linux/include/asm-generic/rwonce.h:49:9: note: in expansion of
macro 'compiletime_assert_rwonce_type'
49 | compiletime_assert_rwonce_type(x);
\
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builds/linux/mm/gup.c:661:18: note: in expansion of macro 'READ_ONCE'
661 | pmdval = READ_ONCE(*pmd);
| ^~~~~~~~~
make[3]: *** [/builds/linux/scripts/Makefile.build:252: mm/gup.o] Error 1
In file included from <command-line>:
/builds/linux/mm/page_vma_mapped.c: In function 'page_vma_mapped_walk':
/builds/linux/include/linux/compiler_types.h:358:45: error: call to
'__compiletime_assert_262' declared with attribute error: Unsupported
access size for {READ,WRITE}_ONCE().
358 | _compiletime_assert(condition, msg,
__compiletime_assert_, __COUNTER__)
| ^
/builds/linux/include/linux/compiler_types.h:339:25: note: in
definition of macro '__compiletime_assert'
339 | prefix ## suffix();
\
| ^~~~~~
/builds/linux/include/linux/compiler_types.h:358:9: note: in expansion
of macro '_compiletime_assert'
358 | _compiletime_assert(condition, msg,
__compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
/builds/linux/include/asm-generic/rwonce.h:36:9: note: in expansion of
macro 'compiletime_assert'
36 | compiletime_assert(__native_word(t) || sizeof(t) ==
sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
/builds/linux/include/asm-generic/rwonce.h:49:9: note: in expansion of
macro 'compiletime_assert_rwonce_type'
49 | compiletime_assert_rwonce_type(x);
\
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builds/linux/mm/page_vma_mapped.c:210:24: note: in expansion of macro
'READ_ONCE'
210 | pmde = READ_ONCE(*pvmw->pmd);
| ^~~~~~~~~
make[3]: *** [/builds/linux/scripts/Makefile.build:252:
mm/page_vma_mapped.o] Error 1
make[3]: Target 'mm/' not remade because of errors.
make[2]: *** [/builds/linux/scripts/Makefile.build:504: mm] Error 2
/builds/linux/fs/ext4/readpage.c: In function 'ext4_mpage_readpages':
/builds/linux/fs/ext4/readpage.c:405:1: warning: the frame size of
1132 bytes is larger than 1024 bytes [-Wframe-larger-than=]
405 | }
| ^
/builds/linux/fs/mpage.c: In function '__mpage_writepage':
/builds/linux/fs/mpage.c:634:1: warning: the frame size of 1144 bytes
is larger than 1024 bytes [-Wframe-larger-than=]
634 | }
| ^
/builds/linux/fs/mpage.c: In function 'do_mpage_readpage':
/builds/linux/fs/mpage.c:308:1: warning: the frame size of 1092 bytes
is larger than 1024 bytes [-Wframe-larger-than=]
308 | }
| ^
make[2]: Target './' not remade because of errors.
make[1]: *** [/builds/linux/Makefile:2008: .] Error 2

Build:
https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.1-13872-gb6bb9676f216/testrun/13772324/suite/build/test/gcc-11-shx3_defconfig/details/



--
Linaro LKFT
https://lkft.linaro.org

\
 
 \ /
  Last update: 2023-03-26 23:16    [W:0.922 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site