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 <[email protected]>

## 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/testrun/27672563/suite/build/test/gcc-13-shmobile_defconfig/log
* Build history:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/testrun/27672563/suite/build/test/gcc-13-shmobile_defconfig/history/
* Build details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250319/testrun/27672563/suite/build/test/gcc-13-shmobile_defconfig
* Build link: 
https://storage.tuxsuite.com/public/linaro/lkft/builds/2uX2E69ngTqvrymzOdYQz0JQ16z/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2uX2E69ngTqvrymzOdYQz0JQ16z/config

## Steps to reproduce
 - tuxmake --runtime podman --target-arch arm --toolchain gcc-13
--kconfig shmobile_defconfig


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

Reply via email to