Regressions on arm the shmobile_defconfig builds failed with clang-20 and gcc-13
First seen on the next-20250312 Good: next-20250311 Bad: next-20250312 .. next-20250319
Regressions found on arm: - gcc-13-shmobile_defconfig - gcc-8-shmobile_defconfig - clang-20-shmobile_defconfig
Regression Analysis: - New regression? Yes - Reproducible? Yes
Build regression: arm shmobile_defconfig trace.c undefined type 'struct module' Reported-by: Linux Kernel Functional Testing lkft@linaro.org
## Build log kernel/trace/trace.c: In function 'save_mod': kernel/trace/trace.c:6036:45: error: invalid use of undefined type 'struct module' 6036 | entry->mod_addr = (unsigned long)mod->mem[MOD_TEXT].base; | ^~ kernel/trace/trace.c:6036:51: error: 'MOD_TEXT' undeclared (first use in this function) 6036 | entry->mod_addr = (unsigned long)mod->mem[MOD_TEXT].base; | ^~~~~~~~
## Source * Kernel version: 6.14.0-rc7 * Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git * Git sha: ff7f9b199e3f4cc7d61df5a9a26a7cbb5c1492e6 * Git describe: next-20250319 * Project details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319
## Build * Build log: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/tes... * Build history: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/tes... * Build details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/tes... * Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2uX2E69ngTqvrymzOdYQz... * Kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2uX2E69ngTqvrymzOdYQz...
## Steps to reproduce - tuxmake --runtime podman --target-arch arm --toolchain gcc-13 --kconfig shmobile_defconfig
-- Linaro LKFT https://lkft.linaro.org
On Wed, 19 Mar 2025 at 17:01, Naresh Kamboju naresh.kamboju@linaro.org wrote:
Regressions on arm the shmobile_defconfig builds failed with clang-20 and gcc-13
First seen on the next-20250312 Good: next-20250311 Bad: next-20250312 .. next-20250319
Regressions found on arm:
- gcc-13-shmobile_defconfig
- gcc-8-shmobile_defconfig
- clang-20-shmobile_defconfig
Regression Analysis:
- New regression? Yes
- Reproducible? Yes
Build regression: arm shmobile_defconfig trace.c undefined type 'struct module' Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Anders bisected this build regression to the following commit,
# first bad commit: [dca91c1c54686914dec4dabea8bae4f365c02007] tracing: Have persistent trace instances save module addresses
Lore link, - https://lore.kernel.org/all/CA+G9fYs62qxt1PajEp2A8uUmQFeAsC2JBV2wuspbAxz_hFF...
## Build log kernel/trace/trace.c: In function 'save_mod': kernel/trace/trace.c:6036:45: error: invalid use of undefined type 'struct module' 6036 | entry->mod_addr = (unsigned long)mod->mem[MOD_TEXT].base; | ^~ kernel/trace/trace.c:6036:51: error: 'MOD_TEXT' undeclared (first use in this function) 6036 | entry->mod_addr = (unsigned long)mod->mem[MOD_TEXT].base; | ^~~~~~~~
## Source
- Kernel version: 6.14.0-rc7
- Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- Git sha: ff7f9b199e3f4cc7d61df5a9a26a7cbb5c1492e6
- Git describe: next-20250319
- Project details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319
## Build
- Build log: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/tes...
- Build history:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/tes...
- Build details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/tes...
- Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2uX2E69ngTqvrymzOdYQz...
- Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2uX2E69ngTqvrymzOdYQz...
## Steps to reproduce
- tuxmake --runtime podman --target-arch arm --toolchain gcc-13
--kconfig shmobile_defconfig
-- Linaro LKFT https://lkft.linaro.org
On Wed, 19 Mar 2025 19:42:42 +0530 Naresh Kamboju naresh.kamboju@linaro.org wrote:
On Wed, 19 Mar 2025 at 17:01, Naresh Kamboju naresh.kamboju@linaro.org wrote:
Regressions on arm the shmobile_defconfig builds failed with clang-20 and gcc-13
First seen on the next-20250312 Good: next-20250311 Bad: next-20250312 .. next-20250319
Regressions found on arm:
- gcc-13-shmobile_defconfig
- gcc-8-shmobile_defconfig
- clang-20-shmobile_defconfig
Regression Analysis:
- New regression? Yes
- Reproducible? Yes
Build regression: arm shmobile_defconfig trace.c undefined type 'struct module' Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Anders bisected this build regression to the following commit,
# first bad commit: [dca91c1c54686914dec4dabea8bae4f365c02007] tracing: Have persistent trace instances save module addresses
Lore link,
The fix should have been pushed to linux-next already.
Could you test the latest linux-next?
-- Steve
On Mon, 24 Mar 2025 at 20:02, Steven Rostedt rostedt@goodmis.org wrote:
On Wed, 19 Mar 2025 19:42:42 +0530 Naresh Kamboju naresh.kamboju@linaro.org wrote:
On Wed, 19 Mar 2025 at 17:01, Naresh Kamboju naresh.kamboju@linaro.org wrote:
Regressions on arm the shmobile_defconfig builds failed with clang-20 and gcc-13
First seen on the next-20250312 Good: next-20250311 Bad: next-20250312 .. next-20250319
Regressions found on arm:
- gcc-13-shmobile_defconfig
- gcc-8-shmobile_defconfig
- clang-20-shmobile_defconfig
Regression Analysis:
- New regression? Yes
- Reproducible? Yes
Build regression: arm shmobile_defconfig trace.c undefined type 'struct module' Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Anders bisected this build regression to the following commit,
# first bad commit: [dca91c1c54686914dec4dabea8bae4f365c02007] tracing: Have persistent trace instances save module addresses
Lore link,
The fix should have been pushed to linux-next already.
Could you test the latest linux-next?
The reported issue is fixed on tag: next-20250324. Please refer below link for more details,
Link: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250324/tes...
- Naresh