[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Yz1wXUklaN66j8Lt@debian>
Date: Wed, 5 Oct 2022 12:54:05 +0100
From: "Sudip Mukherjee (Codethink)" <sudipm.mukherjee@...il.com>
To: Youling Tang <tangyouling@...ngson.cn>,
Huacai Chen <chenhuacai@...ngson.cn>
Cc: loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-next@...r.kernel.org
Subject: build failure of next-20221005 due to 9dcf746befa7 ("LoongArch: Use
generic BUG() handler")
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
Powered by blists - more mailing lists