arm-linux-gcc 4.2.1 编译2.6.12内核出问题
dedora 8 下arm-linux-gcc 4.2.1编译内核2.6.12出现问题,这个内核用arm-linux-gcc 3.4.1 编译却可以通过,大侠帮忙看看是什么原因,先谢谢了。问题如下:
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:245: warning: pointer targets in passing argument 1 of ‘use_config’ differ in signedness
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:299: warning: pointer targets in passing argument 1 of ‘__builtin_strchr’ differ in signedness
scripts/basic/fixdep.c:299: warning: pointer targets in assignment differ in signedness
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:113: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c: In function ‘find_export_symbols’:
scripts/basic/docproc.c:184: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:185: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c:202: warning: pointer targets in passing argument 2 of ‘add_new_symbol’ differ in signedness
scripts/basic/docproc.c: In function ‘singfunc’:
scripts/basic/docproc.c:274: warning: pointer targets in assignment differ in signedness
scripts/basic/docproc.c: In function ‘parse_file’:
scripts/basic/docproc.c:296: warning: pointer targets in assignment differ in signedness
scripts/mod/sumversion.c: In function ‘parse_file’:
scripts/mod/sumversion.c:260: warning: pointer targets in passing argument 1 of ‘grab_file’ differ in signedness
scripts/mod/sumversion.c:277: warning: pointer targets in passing argument 1 of ‘parse_string’ differ in signedness
scripts/mod/sumversion.c:283: warning: pointer targets in passing argument 1 of ‘parse_comment’ differ in signedness
scripts/mod/sumversion.c: In function ‘parse_source_files’:
scripts/mod/sumversion.c:335: warning: pointer targets in initialization differ in signedness
scripts/mod/sumversion.c:344: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
scripts/mod/sumversion.c:357: warning: pointer targets in passing argument 1 of ‘parse_file’ differ in signedness
scripts/mod/sumversion.c: In function ‘strip_rcs_crap’:
scripts/mod/sumversion.c:465: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
scripts/conmakehash.c: In function ‘getunicode’:
scripts/conmakehash.c:36: warning: pointer targets in initialization differ in signedness
scripts/conmakehash.c:44: warning: pointer targets in assignment differ in signedness
scripts/conmakehash.c:45: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/arch/debug-macro.S:20,
from arch/arm/kernel/debug.S:52:
include/asm/arch/regs-gpio.h:856:29: warning: no newline at end of file
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/mm.h:4,
from arch/arm/kernel/init_task.c:4:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/mm.h:4,
from arch/arm/kernel/init_task.c:4:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/consistent.c:12:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/consistent.c:12:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/extable.c:4:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/extable.c:4:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/fault-armv.c:11:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/fault-armv.c:11:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/fault.c:12:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/fault.c:12:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/flush.c:10:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/flush.c:10:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/kernel.h:15,
from arch/arm/mm/init.c:11:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from arch/arm/mm/init.c:11:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/ioremap.c:23:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/ioremap.c:23:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/linux/list.h:8,
from include/linux/wait.h:23,
from include/linux/fs.h:205,
from arch/arm/mm/mmap.c:5:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/wait.h:25,
from include/linux/fs.h:205,
from arch/arm/mm/mmap.c:5:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/mm-armv.c:13:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/mm-armv.c:13:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/proc-syms.c:10:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from include/linux/spinlock.h:13,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/arm/mm/proc-syms.c:10:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
In file included from include/asm/proc-fns.h:154,
from include/asm/system.h:94,
from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/kernel.h:15,
from arch/arm/mm/alignment.c:16:
include/asm/cpu-single.h:44: warning: type qualifiers ignored on function return type
In file included from include/linux/kernel.h:17,
from arch/arm/mm/alignment.c:16:
include/asm/bug.h:8: warning: type qualifiers ignored on function return type
arch/arm/mm/alignment.c: In function ‘proc_alignment_write’:
arch/arm/mm/alignment.c:116: error: read-only variable ‘__r2’ used as ‘asm’ output
arch/arm/mm/alignment.c:116: error: read-only variable ‘__r2’ used as ‘asm’ output
arch/arm/mm/alignment.c:116: error: read-only variable ‘__r2’ used as ‘asm’ output
arch/arm/mm/alignment.c:116: error: read-only variable ‘__r2’ used as ‘asm’ output
make[1]: *** [arch/arm/mm/alignment.o] Error 1
make: *** [arch/arm/mm] Error 2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
先把这一句打出来看看
arch/arm/mm/alignment.c:116