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

From: Helge Deller
Date: Mon Nov 27 2023 - 05:01:28 EST


On 11/27/23 10:20, Linux regression tracking (Thorsten Leemhuis) wrote:
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/

Thanks for reporting!

I've pushed a patch into the for-next git tree to fix this.
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next

Thanks!
Helge