* build failure of next-20221005 due to 9dcf746befa7 ("LoongArch: Use generic BUG() handler")
@ 2022-10-05 11:54 Sudip Mukherjee (Codethink)
0 siblings, 0 replies; only message in thread
From: Sudip Mukherjee (Codethink) @ 2022-10-05 11:54 UTC (permalink / raw)
To: Youling Tang, Huacai Chen; +Cc: loongarch, linux-kernel, linux-next
Hi All,
The builds of loongarch allmodconfig have failed to build next-20221005
with error:
./arch/loongarch/include/asm/cmpxchg.h: In function '__cmpxchg':
././include/linux/compiler_types.h:357:45: error: call to '__compiletime_assert_2' declared with attribute error: BUILD_BUG failed
357 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
././include/linux/compiler_types.h:338:25: note: in definition of macro '__compiletime_assert'
338 | prefix ## suffix(); \
| ^~~~~~
././include/linux/compiler_types.h:357:9: note: in expansion of macro '_compiletime_assert'
357 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:59:21: note: in expansion of macro 'BUILD_BUG_ON_MSG'
59 | #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
| ^~~~~~~~~~~~~~~~
./arch/loongarch/include/asm/cmpxchg.h:179:17: note: in expansion of macro 'BUILD_BUG'
179 | BUILD_BUG();
| ^~~~~~~~~
git bisect pointed to 9dcf746befa7 ("LoongArch: Use generic BUG() handler")
I will be happy to test any patch or provide any extra log if needed.
--
Regards
Sudip
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-05 11:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 11:54 build failure of next-20221005 due to 9dcf746befa7 ("LoongArch: Use generic BUG() handler") Sudip Mukherjee (Codethink)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).