mm/gup.c:679:22: error: call to '__compiletime_assert_382' declared with 'error' attribute: BUILD_BUG failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peter, Andrew,

I am not sure if this is one of the issues that Peter mentioned [1] to
be resolved or not eventually, but I have spotted this in the last
couple -next runs for a LLVM=1 loongarch64 defconfig build [2].

Hope that helps!

Cheers,
Miguel

[1] https://lore.kernel.org/all/ZgMzaMu7oILiNLcG@x1n/
[2]

mm/gup.c:679:22: error: call to '__compiletime_assert_382' declared
with 'error' attribute: BUILD_BUG failed
679 | unsigned long pfn = pud_pfn(pud);
| ^
./include/linux/pgtable.h:1887:23: note: expanded from macro 'pud_pfn'
1887 | #define pud_pfn(x) ({ BUILD_BUG(); 0; })
| ^
./include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG'
59 | #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed")
| ^
./include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^
note: (skipping 1 expansions in backtrace; use
-fmacro-backtrace-limit=0 to see all)
././include/linux/compiler_types.h:448:2: note: expanded from macro
'_compiletime_assert'
448 | __compiletime_assert(condition, msg, prefix, suffix)
| ^
././include/linux/compiler_types.h:441:4: note: expanded from macro
'__compiletime_assert'
441 | prefix ## suffix(); \
| ^
<scratch space>:48:1: note: expanded from here
48 | __compiletime_assert_382
| ^
1 error generated.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux