您尚未登录。

楼主 #1 2019-10-14 17:08:26

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

xboot链接报错

CROSS_COMPILE    ?=arm-eabi-
PLATFORM        ?=arm32-f1c100s   //gcc-linaro-5.3.1-2016.05-win32

报错信息

[LD] Linking ../output/xboot
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sys-copyself.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sys-copyself.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sast-kk131.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sast-kk131.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sys-mmu.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sys-mmu.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sys-decompress.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sys-decompress.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sys-clock.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sys-clock.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sys-spi-flash.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sys-spi-flash.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sys-uart.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sys-uart.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/exception.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/exception.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/sys-dram.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/sys-dram.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/spi-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/spi-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/reset-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/reset-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/pwm-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/pwm-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/uart-16550.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/uart-16550.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/irq-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/irq-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/fb-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/fb-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/cs-f1c100s-timer.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/cs-f1c100s-timer.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/key-f1c100s-lradc.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/key-f1c100s-lradc.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/clk-f1c100s-pll.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/clk-f1c100s-pll.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/i2c-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/i2c-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/ts-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/ts-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/ce-f1c100s-timer.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/ce-f1c100s-timer.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/gpio-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/gpio-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/irq-f1c100s-gpio.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/irq-f1c100s-gpio.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/arch/arm32/mach-f1c100s/driver/wdg-f1c100s.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/arch/arm32/mach-f1c100s/driver/wdg-f1c100s.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, .obj/init/version.o does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: warning: .obj/init/version.o uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file .obj/init/version.o
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_popcountsi2.o) does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: warning: e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_popcountsi2.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_popcountsi2.o)
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_fixdfdi.o) does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: warning: e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_fixdfdi.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_fixdfdi.o)
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_fixunsdfdi.o) does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: warning: e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_fixunsdfdi.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_fixunsdfdi.o)
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: error: ../output/xboot uses VFP register arguments, e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_udivmoddi4.o) does not
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: warning: e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_udivmoddi4.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1/../../../../arm-eabi/bin/ld.exe: failed to merge target specific data of file e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../lib/gcc/arm-eabi/5.3.1\libgcc.a(_udivmoddi4.o)
collect2.exe: error: ld returned 1 exit status
make.exe[1]: *** [../output/xboot] Error 1
make.exe[1]: Leaving directory `D:/workbench/TouchView/xboot/src'
make: *** [all] Error 2

离线

#2 2019-10-14 17:17:07

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

你用的是 xboot qq群里面那个 eclipse 自带的工具链?





离线

#3 2019-10-14 17:19:32

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

https://stackoverflow.com/questions/23123431/arm-linking-error-uses-vfp-register-arguments-main-elf-does-not-on-windows-8

此答案可能在表面上看起来无关紧要,但此错误消息有间接原因。

首先,“ Uses VFP register ...”错误消息是由于在您的内部版本中混合使用mfloat-abi = soft和mfloat-abi = hard选项直接导致的。对于所有要链接的对象,此设置必须一致。

此错误的间接原因可能是由于Eclipse编辑器被项目的“ .cproject”文件中的错误所迷惑。Eclipse编辑器经常重新整理文件链接,有时在更改目录结构或文件位置时会自行中断。这也会影响到gcc编译器的路径设置-项目文件的子集。虽然我不确定是什么导致了此失败,但是用备份副本替换.cproject文件可以为我解决此问题。就我而言,添加包含目录路径后,我注意到.java.null.pointer错误。我还发现,我的某些本地化工作源使用了gcc编译器的另一条路径,但并不是全部。

我将.cproject设置与较旧的副本进行了比较,并观察到导致问题的源条目的差异-即使禁用了项目设置的覆盖。通过用旧版本替换.cproject文件,问题消失了,我将其保留下来以提醒发生了什么。





离线

#4 2019-10-14 17:21:28

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

很可能是你的PATH环境变量里面还有别的 arm-linux-gcc 工具链,  导致这个错误。

或者 eclipse 自带的这个是 硬件浮点数的工具链, 而Makefile 里面指定的是软件浮点数。





离线

楼主 #5 2019-10-14 17:36:57

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

直接下载的eclipse-for-xboot-windows-x86_64 ,里面自带的

离线

#6 2019-10-14 17:43:11

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

看下里面的gcc是不是硬件浮点数?





离线

楼主 #7 2019-10-14 17:52:15

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

晕哥 说:

看下里面的gcc是不是硬件浮点数?

这个怎么看? f1c100s下的xboot.mk有软浮点 -mfloat-abi=soft

另外我改成CROSS_COMPILE    ?=E:\eclipse-for-xboot-windows-x86_64\compiler\arm-eabi\bin\arm-eabi-
也是一样的结果

离线

楼主 #8 2019-10-14 18:00:41

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

是否是5.3.1版本的问题

离线

#9 2019-10-14 18:02:00

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

我的意思是自带的这个gcc 是硬件浮点数的,你执行一下  xxx-gcc -v 看下显示结果





离线

楼主 #10 2019-10-14 18:36:39

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

> arm-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-eabi-gcc
COLLECT_LTO_WRAPPER=e:/eclipse-for-xboot-windows-x86_64/compiler/arm-eabi/bin/../libexec/gcc/arm-eabi/5.3.1/lto-wrapper.exe
Target: arm-eabi
Configured with: /home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-i386-tcwg/target/arm-eabi/snapshots/gcc-linaro-5.3-2016.05/configure SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-i386-tcwg/target/arm-eabi/_build/builds/destdir/i686-w64-mingw32 --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-i386-tcwg/target/arm-eabi/_build/builds/destdir/i686-w64-mingw32 --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-i386-tcwg/target/arm-eabi/_build/builds/destdir/i686-w64-mingw32 --with-gnu-as --with-gnu-ld --disable-libstdcxx-pch --disable-libmudflap --with-cloog=no --with-ppl=no --with-isl=no --disable-nls --enable-c99 --enable-threads=no --enable-multilib --disable-multiarch --with-multilib-list=aprofile --disable-threads --with-newlib --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-i386-tcwg/target/arm-eabi/_build/sysroots/arm-eabi --enable-lto --enable-linker-build-id --enable-long-long --enable-shared --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-i386-tcwg/target/arm-eabi/_build/builds/destdir/i686-w64-mingw32/arm-eabi/libc --enable-languages=c,c++,lto --enable-checking=release --disable-bootstrap --build=i686-pc-linux-gnu --host=i686-w64-mingw32 --target=arm-eabi --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-i386-tcwg/target/arm-eabi/_build/builds/destdir/i686-w64-mingw32
Thread model: single
gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)

离线

#11 2019-10-14 19:02:15

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

看不出来,我再问下xboot本人





离线

楼主 #12 2019-10-14 19:12:08

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

应该都这样才对啊,莫非只有我的链接不通过?

离线

#13 2019-10-14 19:17:31

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

xboot说,如果用的是他做的eclipse包不会有问题,有没有先 clean ?


下载地址:

# Download Development Tools
* [Download Eclipse Integrated Development Environment (Integrated cross toolchains)](http://pan.baidu.com/s/1i3ImG0d)
* [Download Cross Toolchains](http://pan.baidu.com/s/1dDtssIt)





离线

楼主 #14 2019-10-14 19:43:27

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

下载出处一样。晕了,先clean一下就好了

离线

楼主 #15 2019-10-14 19:51:41

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

_                   _                     
_  _ | |___ _____ _____ _| |_                   
\ \/ /|  _  |  _  |  _  |_   _|  (C) 2007-2019   
)  ( | |_| | |_| | |_| | | |____JIANJUN.JIANG__
/_/\_\|_____|_____|_____| |_____________________|
V3.0.0 (Oct 14 2019 - 19:39:39) - [sast-kk131][SAST KK131 Digital Player Based On Allwinner F1C100S]
[    0.000000] Probe device 'romdisk.0' with romdisk
[    0.000010] Probe device 'hosc' with clk-fixed
[    0.000020] Probe device 'losc' with clk-fixed
[    0.000030] Probe device 'pll-cpu' with clk-f1c100s-pll
[    0.000040] Probe device 'pll-audio' with clk-f1c100s-pll
[    0.000050] Probe device 'pll-video' with clk-f1c100s-pll
[    0.000060] Probe device 'pll-ve' with clk-f1c100s-pll
[    0.000070] Probe device 'pll-ddr' with clk-f1c100s-pll
[    0.000080] Probe device 'pll-periph' with clk-f1c100s-pll
[    0.000090] Probe device 'cpu' with clk-mux
[    0.000100] Probe device 'hclk' with clk-divider

终于看到log了,好激动啊

离线

楼主 #16 2019-10-14 19:52:44

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

对我这样的小白来说太不容易了

离线

楼主 #17 2019-10-14 20:04:40

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

这个时间是代码读取到dram后的执行时间吧,读取代码到dram花费的时间怎么看

离线

#18 2019-10-14 21:13:46

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

cris8259 说:

这个时间是代码读取到dram后的执行时间吧,读取代码到dram花费的时间怎么看

那个时间没有打印吧,要自己加上。





离线

楼主 #19 2019-10-14 22:21:57

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

xboot是不是没有f1c100s  usb 和 sdio的驱动

离线

#20 2019-10-14 22:34:29

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,224
积分: 9197

Re: xboot链接报错

sdio 不确定有没有, usb没有, 但是可以用这个: https://whycan.cn/t_1810.html





离线

楼主 #21 2019-10-14 23:00:54

cris8259
会员
注册时间: 2019-09-25
已发帖子: 262
积分: 131

Re: xboot链接报错

不管用哪个,总是缺这少那的

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn