Re: parisc: bug.h:71:17: error: invalid 'asm': operand number out of range

From: Linux regression tracking (Thorsten Leemhuis)
Date: Mon Nov 27 2023 - 04:20:18 EST


On 27.11.23 09:57, Naresh Kamboju wrote:
> The parisc tinyconfig built with gcc-11 failed on mainline v6.7-rc3.
>
> git_describe: v6.7-rc3
> git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline
>
> parisc:
> build:
> * gcc-11-tinyconfig
>
> In file included from lib/math/int_log.c:14:
> lib/math/int_log.c: In function 'intlog2':
> arch/parisc/include/asm/bug.h:71:17: error: invalid 'asm': operand
> number out of range
> 71 | asm volatile("\n"
> \
> | ^~~
>
>
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> Links:
> - https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.7-rc3/testrun/21323529/suite/build/test/gcc-11-tinyconfig/log
> - https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.7-rc3/testrun/21323529/suite/build/test/gcc-11-tinyconfig/history/
> - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Yk9c7RsS6V5pdDdOYzHSrlpZQk/

Thx for the report. FWIW & TWIMC, briefly looked into this and to my
untrained eyes it looks like the kernel test robot ran into this a few
days ago already with a randconfig and gcc13:

https://lore.kernel.org/all/202311230405.edAXyqKp-lkp@xxxxxxxxx/

Ciao, Thorsten