LKFT build plans updated with toolchain gcc-13 and here is the report.
Stable rc 6.1 arm64 builds with gcc-13 failed and the bisection is pointing to this as first bad commit,
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
Thanks Anders for bisecting this problem against Linux 6.2-rc6.
Build errors: --------------- In file included from /builds/linux/scripts/gcc-plugins/gcc-common.h:75, from /builds/linux/scripts/gcc-plugins/stackleak_plugin.c:30: /usr/lib/gcc-cross/aarch64-linux-gnu/13/plugin/include/gimple-fold.h:72:32: error: use of enum 'gsi_iterator_update' without previous declaration 72 | enum gsi_iterator_update, | ^~~~~~~~~~~~~~~~~~
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Links: -------- - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y-sanity/build/... - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y-sanity/build/... - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y-sanity/build/...
-- Linaro LKFT https://lkft.linaro.org
On Tue, Aug 08, 2023 at 10:57:30AM +0530, Naresh Kamboju wrote:
LKFT build plans updated with toolchain gcc-13 and here is the report.
Stable rc 6.1 arm64 builds with gcc-13 failed and the bisection is pointing to this as first bad commit,
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
Thanks Anders for bisecting this problem against Linux 6.2-rc6.
Build errors:
In file included from /builds/linux/scripts/gcc-plugins/gcc-common.h:75, from /builds/linux/scripts/gcc-plugins/stackleak_plugin.c:30: /usr/lib/gcc-cross/aarch64-linux-gnu/13/plugin/include/gimple-fold.h:72:32: error: use of enum 'gsi_iterator_update' without previous declaration 72 | enum gsi_iterator_update, | ^~~~~~~~~~~~~~~~~~
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
I'm slightly confused by this report. Is it the build of v6.1 that is failing? Commit e6a71160cc14 ("gcc-plugins: Reorganize gimple includes for GCC 13") was added in v6.2.
I think you're saying you need it backported to the v6.1 stable tree? ("First bad commit" is really the first good commit?)
-Kees
On Fri, 11 Aug 2023 at 02:01, Kees Cook keescook@chromium.org wrote:
On Tue, Aug 08, 2023 at 10:57:30AM +0530, Naresh Kamboju wrote:
LKFT build plans updated with toolchain gcc-13 and here is the report.
Stable rc 6.1 arm64 builds with gcc-13 failed and the bisection is pointing to this as first bad commit,
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
Thanks Anders for bisecting this problem against Linux 6.2-rc6.
Build errors:
In file included from /builds/linux/scripts/gcc-plugins/gcc-common.h:75, from /builds/linux/scripts/gcc-plugins/stackleak_plugin.c:30: /usr/lib/gcc-cross/aarch64-linux-gnu/13/plugin/include/gimple-fold.h:72:32: error: use of enum 'gsi_iterator_update' without previous declaration 72 | enum gsi_iterator_update, | ^~~~~~~~~~~~~~~~~~
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
I'm slightly confused by this report.
Sorry. I should have provided full details.
Is it the build of v6.1 that is failing?
Linux-stable-rc linux.6.1.y failing with gcc-13.
Commit e6a71160cc14 ("gcc-plugins: Reorganize gimple includes for GCC 13") was added in v6.2.
This commit is needed.
I think you're saying you need it backported to the v6.1 stable tree? ("First bad commit" is really the first good commit?)
First good commit. We need to backport this patch for linux.6.1.y
Bisect log: ------ # fixed: [6d796c50f84ca79f1722bb131799e5a5710c4700] Linux 6.2-rc6 # unfixed: [2241ab53cbb5cdb08a6b2d4688feb13971058f65] Linux 6.2-rc5 git bisect start '--term-new=fixed' '--term-old=unfixed' 'v6.2-rc6' 'v6.2-rc5' # unfixed: [9f4d0bd24e6b42555c02e137763f12c106572e63] Merge tag 'linux-kselftest-fixes-6.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest git bisect unfixed 9f4d0bd24e6b42555c02e137763f12c106572e63 # unfixed: [37d0be6a7d7d6fede952c439f8d8b9d1df5c756f] Merge tag 'gpio-fixes-for-v6.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux git bisect unfixed 37d0be6a7d7d6fede952c439f8d8b9d1df5c756f # fixed: [f851453bf19554a42eb480b65436b9500c3cf392] Merge tag 'io_uring-6.2-2023-01-27' of git://git.kernel.dk/linux git bisect fixed f851453bf19554a42eb480b65436b9500c3cf392 # unfixed: [78020233418518faa72fba11f40e1d53b9e88a2e] bootconfig: Update MAINTAINERS file to add tree and mailing list git bisect unfixed 78020233418518faa72fba11f40e1d53b9e88a2e # unfixed: [e6f2f6ac500c67164f6f6b47299aece579277c14] Merge tag 'i2c-for-6.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux git bisect unfixed e6f2f6ac500c67164f6f6b47299aece579277c14 # fixed: [be0d8f48ad97f5b775b0af3310343f676dbf318a] bcache: Silence memcpy() run-time false positive warnings git bisect fixed be0d8f48ad97f5b775b0af3310343f676dbf318a # fixed: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13 git bisect fixed e6a71160cc145e18ab45195abf89884112e02dfb # unfixed: [4acf1de35f41549e60c3c02a8defa7cb95eabdf2] kunit: memcpy: Split slow memcpy tests into MEMCPY_SLOW_KUNIT_TEST git bisect unfixed 4acf1de35f41549e60c3c02a8defa7cb95eabdf2 # first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
- Naresh
On Fri, Aug 11, 2023 at 08:47:53AM +0530, Naresh Kamboju wrote:
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
[...]
Commit e6a71160cc14 ("gcc-plugins: Reorganize gimple includes for GCC 13") was added in v6.2.
This commit is needed.
I think you're saying you need it backported to the v6.1 stable tree? ("First bad commit" is really the first good commit?)
First good commit. We need to backport this patch for linux.6.1.y
Okay! Thanks. :) Yeah, this could probably go to all the stable kernels, if someone wants to build with GCC 13 on older kernels.
On Thu, 10 Aug 2023 20:30:52 PDT (-0700), keescook@chromium.org wrote:
On Fri, Aug 11, 2023 at 08:47:53AM +0530, Naresh Kamboju wrote:
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
[...]
Commit e6a71160cc14 ("gcc-plugins: Reorganize gimple includes for GCC 13") was added in v6.2.
This commit is needed.
I think you're saying you need it backported to the v6.1 stable tree? ("First bad commit" is really the first good commit?)
First good commit. We need to backport this patch for linux.6.1.y
Okay! Thanks. :) Yeah, this could probably go to all the stable kernels, if someone wants to build with GCC 13 on older kernels.
I'm also sligtly lost in the bug report, but IIRC the GCC include changes were really a GCC version issue not a kernel version issue. In other words, any kernel would be impacted if it's built with the newer GCC so this should be backported aggressively.
So
Acked-by: Palmer Dabbelt palmer@rivosinc.com
Thanks!
On Fri, Aug 11, 2023 at 08:47:53AM +0530, Naresh Kamboju wrote:
On Fri, 11 Aug 2023 at 02:01, Kees Cook keescook@chromium.org wrote:
On Tue, Aug 08, 2023 at 10:57:30AM +0530, Naresh Kamboju wrote:
LKFT build plans updated with toolchain gcc-13 and here is the report.
Stable rc 6.1 arm64 builds with gcc-13 failed and the bisection is pointing to this as first bad commit,
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
Thanks Anders for bisecting this problem against Linux 6.2-rc6.
Build errors:
In file included from /builds/linux/scripts/gcc-plugins/gcc-common.h:75, from /builds/linux/scripts/gcc-plugins/stackleak_plugin.c:30: /usr/lib/gcc-cross/aarch64-linux-gnu/13/plugin/include/gimple-fold.h:72:32: error: use of enum 'gsi_iterator_update' without previous declaration 72 | enum gsi_iterator_update, | ^~~~~~~~~~~~~~~~~~
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
I'm slightly confused by this report.
Sorry. I should have provided full details.
Is it the build of v6.1 that is failing?
Linux-stable-rc linux.6.1.y failing with gcc-13.
I don't understand, I test here with gcc-13 for 6.4.y and 6.1.y and it's working just fine. What changed to cause this to fail now?
I'm using: gcc (GCC) 13.2.1 20230801
thanks,
greg k-h
On Fri, Aug 11, 2023 at 08:27:20AM +0200, Greg Kroah-Hartman wrote:
On Fri, Aug 11, 2023 at 08:47:53AM +0530, Naresh Kamboju wrote:
On Fri, 11 Aug 2023 at 02:01, Kees Cook keescook@chromium.org wrote:
On Tue, Aug 08, 2023 at 10:57:30AM +0530, Naresh Kamboju wrote:
LKFT build plans updated with toolchain gcc-13 and here is the report.
Stable rc 6.1 arm64 builds with gcc-13 failed and the bisection is pointing to this as first bad commit,
# first fixed commit: [e6a71160cc145e18ab45195abf89884112e02dfb] gcc-plugins: Reorganize gimple includes for GCC 13
Thanks Anders for bisecting this problem against Linux 6.2-rc6.
Build errors:
In file included from /builds/linux/scripts/gcc-plugins/gcc-common.h:75, from /builds/linux/scripts/gcc-plugins/stackleak_plugin.c:30: /usr/lib/gcc-cross/aarch64-linux-gnu/13/plugin/include/gimple-fold.h:72:32: error: use of enum 'gsi_iterator_update' without previous declaration 72 | enum gsi_iterator_update, | ^~~~~~~~~~~~~~~~~~
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
I'm slightly confused by this report.
Sorry. I should have provided full details.
Is it the build of v6.1 that is failing?
Linux-stable-rc linux.6.1.y failing with gcc-13.
I don't understand, I test here with gcc-13 for 6.4.y and 6.1.y and it's working just fine. What changed to cause this to fail now?
I'm using: gcc (GCC) 13.2.1 20230801
Anyway, it's easy enough for me to apply it, so now queued up, thanks.
greg k-h