Bug 9290 - [Anolis 23.1 GA][loongarch]在anolis23.1 6.6内核版本下编译5.10内核下的tool目录报错
Summary: [Anolis 23.1 GA][loongarch]在anolis23.1 6.6内核版本下编译5.10内核下的tool目录报错
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: ARCH(unspecified) (show other bugs) ARCH(unspecified)
Version: 6.6.25-2
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: zhangjing
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-06 14:18 UTC by gaojuxin09
Modified: 2024-06-06 14:23 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gaojuxin09 loongson_group 2024-06-06 14:18:24 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 gaojuxin09 loongson_group 2024-06-06 14:19:36 UTC
/builddir/build/BUILD/kernel-5.10.134-17_rc2.an23/linux-5.10.134-17_rc2.an23.loongarch64/tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
   14 | #error Inconsistent word size. Check asm/bitsperlong.h
      |  ^~~~~
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
In file included from /usr/include/asm/bitsperlong.h:1,
                 from /usr/include/asm-generic/int-ll64.h:12,
                 from /usr/include/asm-generic/types.h:7,
                 from /usr/include/asm/types.h:1,
                 from /builddir/build/BUILD/kernel-5.10.134-17_rc2.an23/linux-5.10.134-17_rc2.an23.loongarch64/tools/include/linux/types.h:10,
                 from /usr/include/asm/sigcontext.h:11,
                 from /usr/include/bits/sigcontext.h:30,
                 from /usr/include/signal.h:301,
                 from sigchain.c:2:
/builddir/build/BUILD/kernel-5.10.134-17_rc2.an23/linux-5.10.134-17_rc2.an23.loongarch64/tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h
   14 | #error Inconsistent word size. Check asm/bitsperlong.h
      |  ^~~~~
Comment 2 小龙 admin 2024-06-06 14:23:13 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3324