* arm: gcc-8: drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element is not constant (struct group_desc) @ 2023-12-04 12:08 Naresh Kamboju 2023-12-04 15:11 ` Arnd Bergmann 0 siblings, 1 reply; 3+ messages in thread From: Naresh Kamboju @ 2023-12-04 12:08 UTC (permalink / raw) To: Linux ARM, open list, lkft-triage, Linux Regressions, moderated list:ARM/Mediatek SoC..., open list:GPIO SUBSYSTEM Cc: Linus Walleij, sean.wang, Arnd Bergmann, Russell King - ARM Linux Following build errors noticed on Linux next-20231204 tag with gcc-8 toolchain for arm and arm64. ## Test Regressions (compared to next-20231201) * arm, build - gcc-8-defconfig * arm64, build - gcc-8-defconfig Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> Build log arm and arm64: ------------ In file included from drivers/pinctrl/mediatek/pinctrl-moore.h:21, from drivers/pinctrl/mediatek/pinctrl-mt7623.c:11: drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element is not constant (struct group_desc) { \ ^ Links: - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Z43zPIMN6vxVKd9rKJFdOKXpox/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231204/testrun/21472198/suite/build/test/gcc-8-defconfig/details/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231204/testrun/21472585/suite/build/test/gcc-8-defconfig/details/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231204/testrun/21472800/suite/build/test/gcc-8-defconfig/history/ Steps to reproduce: --------------- # tuxmake --runtime podman --target-arch arm64 --toolchain gcc-8 --kconfig defconfig -- Linaro LKFT https://lkft.linaro.org ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: arm: gcc-8: drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element is not constant (struct group_desc) 2023-12-04 12:08 arm: gcc-8: drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element is not constant (struct group_desc) Naresh Kamboju @ 2023-12-04 15:11 ` Arnd Bergmann 2023-12-04 15:20 ` Andy Shevchenko 0 siblings, 1 reply; 3+ messages in thread From: Arnd Bergmann @ 2023-12-04 15:11 UTC (permalink / raw) To: Naresh Kamboju, Linux ARM, open list, lkft-triage, Linux Regressions, moderated list:ARM/Mediatek SoC..., open list:GPIO SUBSYSTEM, Andy Shevchenko Cc: Linus Walleij, sean.wang, Russell King On Mon, Dec 4, 2023, at 13:08, Naresh Kamboju wrote: > Following build errors noticed on Linux next-20231204 tag with gcc-8 toolchain > for arm and arm64. > > ## Test Regressions (compared to next-20231201) > * arm, build > - gcc-8-defconfig > > * arm64, build > - gcc-8-defconfig > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> > > Build log arm and arm64: > ------------ > In file included from drivers/pinctrl/mediatek/pinctrl-moore.h:21, > from drivers/pinctrl/mediatek/pinctrl-mt7623.c:11: > drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element > is not constant > (struct group_desc) { \ This apparently comes from c0c8dd0a7773 ("pinctrl: core: Add a convenient define PINCTRL_GROUP_DESC()") and following patches from Andy Shevchenko (added to Cc). I also checked different compiler versions and found that the new code works fine with gcc-13.2.0, but not with gcc-12 or older. Arnd ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: arm: gcc-8: drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element is not constant (struct group_desc) 2023-12-04 15:11 ` Arnd Bergmann @ 2023-12-04 15:20 ` Andy Shevchenko 0 siblings, 0 replies; 3+ messages in thread From: Andy Shevchenko @ 2023-12-04 15:20 UTC (permalink / raw) To: Arnd Bergmann Cc: Naresh Kamboju, Linux ARM, open list, lkft-triage, Linux Regressions, moderated list:ARM/Mediatek SoC..., open list:GPIO SUBSYSTEM, Linus Walleij, sean.wang, Russell King On Mon, Dec 04, 2023 at 04:11:11PM +0100, Arnd Bergmann wrote: > On Mon, Dec 4, 2023, at 13:08, Naresh Kamboju wrote: > > Following build errors noticed on Linux next-20231204 tag with gcc-8 toolchain > > for arm and arm64. > > > > ## Test Regressions (compared to next-20231201) > > * arm, build > > - gcc-8-defconfig > > > > * arm64, build > > - gcc-8-defconfig > > > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> > > > > Build log arm and arm64: > > ------------ > > In file included from drivers/pinctrl/mediatek/pinctrl-moore.h:21, > > from drivers/pinctrl/mediatek/pinctrl-mt7623.c:11: > > drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element > > is not constant > > (struct group_desc) { \ > > This apparently comes from c0c8dd0a7773 ("pinctrl: core: Add a > convenient define PINCTRL_GROUP_DESC()") and following patches > from Andy Shevchenko (added to Cc). > > I also checked different compiler versions and found that the > new code works fine with gcc-13.2.0, but not with gcc-12 or > older. Thank you, Linus already dropped problematic changes. -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-04 15:20 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-12-04 12:08 arm: gcc-8: drivers/pinctrl/mediatek/../core.h:211:21: error: initializer element is not constant (struct group_desc) Naresh Kamboju 2023-12-04 15:11 ` Arnd Bergmann 2023-12-04 15:20 ` Andy Shevchenko
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).