- 论坛徽章:
- 0
|
我在fedora8下做的针对s3c2410的板子的新编译器GCC-4.2.1-GLIBC-2.7
在fedora下都可以编译2.6.21的内核并且在板子上跑起来
拿到debian下编译都通不过,然后出现以下错误:
/bin/sh: line 1: 7145 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -marm -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7148 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -march=armv6 -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7151 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -march=armv6k -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7154 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -march=armv5te -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7157 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mtune=arm9e -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7160 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mtune=xscale -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7163 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mtune=xscale -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7166 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mtune=arm1136j-s -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7169 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mapcs-32 -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7172 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mno-thumb-interwork -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7175 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -malignment-traps -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7178 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mshort-load-bytes -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7181 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -D__LINUX_ARM_ARCH__=4 -march=armv4t -mtune=arm9tdmi -msoft-float -Uarm -fno-optimize-sibling-calls -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7184 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -D__LINUX_ARM_ARCH__=4 -march=armv4t -mtune=arm9tdmi -msoft-float -Uarm -fno-omit-frame-pointer -g -fno-stack-protector -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7188 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -D__LINUX_ARM_ARCH__=4 -march=armv4t -mtune=arm9tdmi -msoft-float -Uarm -fno-omit-frame-pointer -g -Wdeclaration-after-statement -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
/bin/sh: line 1: 7191 浮点数例外 ( arm-s3c-linux-gnueabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -D__LINUX_ARM_ARCH__=4 -march=armv4t -mtune=arm9tdmi -msoft-float -Uarm -fno-omit-frame-pointer -g -Wno-pointer-sign -S -xc /dev/null -o "$TMP" ) >/dev/null 2>&1
CHK include/linux/version.h
make[1]: “include/asm-arm/mach-types.h”是最新的。
CHK include/linux/utsrelease.h
CC arch/arm/kernel/asm-offsets.s
/bin/sh: line 1: 7257 浮点数例外 arm-s3c-linux-gnueabi-gcc -Wp,-MD,arch/arm/kernel/.asm-offsets.s.d -nostdinc -isystem -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -D__LINUX_ARM_ARCH__=4 -march=armv4t -mtune=arm9tdmi -msoft-float -Uarm -fno-omit-frame-pointer -g -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/arm/kernel/asm-offsets.s arch/arm/kernel/asm-offsets.c
make[1]: *** [arch/arm/kernel/asm-offsets.s] 错误 136
make: *** [prepare0] 错误 2
大家给点意见啊!不论水平,给点意见都是好的! |
|