안녕하세요..

저희의 부트로드 Makefile의 옵션을 보면
CFLAGS   += -march=armv4 -mtune=arm9tdmi -malignment-traps -msoft-float -fno-builtin
로  soft-float를 사용하고 있습니다.

U-boot로 컴파일을 해 보지 않아서.. 해결 방법을 드릴 수 가 없네요...

그럼 수고하세요..


>2410보드에 U-boot를 올리기 위하여 컴파일하였는데, 다음의 에러가 발생하였습니다.
>
>falinux에서 제공하는 크로스 컴파일러 3.4.3을 사용하여 컴파일 하였는데,
>
>크로스 컴파일러의 libgcc.a 에서는 hardware FP를 사용하는데
>
>U-boot에서는 software FP를 사용하기 때문에 에러가 발생합니다..
>
>해결 방법을 알고 싶습니다..
>
>/usr/bin/arm-linux-ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/libgcc.a(_divsi3.oS) uses hardware FP, whereas u-boot uses software FP
>/usr/bin/arm-linux-ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/libgcc.a(_divsi3.oS)
>/usr/bin/arm-linux-ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/libgcc.a(_umodsi3.oS) uses hardware FP, whereas u-boot uses software FP
>/usr/bin/arm-linux-ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/libgcc.a(_umodsi3.oS)
>/usr/bin/arm-linux-ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/libgcc.a(_modsi3.oS) uses hardware FP, whereas u-boot uses software FP
>/usr/bin/arm-linux-ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/libgcc.a(_modsi3.oS)
>make: *** [u-boot] 오류 1
>[root@localhost ln2410sbc_uboot-1.0.0]#
>
>