Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai_demo_sim Error #1

Open
sw0813 opened this issue Jan 31, 2019 · 3 comments
Open

ai_demo_sim Error #1

sw0813 opened this issue Jan 31, 2019 · 3 comments

Comments

@sw0813
Copy link

sw0813 commented Jan 31, 2019

[ 98%] Building C object CMakeFiles/ai_demo_sim.dir/src/ai_demo_sim/region_layer.c.obj
[100%] Linking C executable ai_demo_sim
d:/lichee_dan/toolchain_k210/bin/../lib/gcc/riscv64-unknown-elf/7.2.0/crtbegin.o: In function __do_global_dtors_aux': crtstuff.c:(.text+0x5c): relocation truncated to fit: R_RISCV_CALL against undefined symbol __deregister_frame_info'
d:/lichee_dan/toolchain_k210/bin/../lib/gcc/riscv64-unknown-elf/7.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: final link failed: Symbol needs debug section which does not exist
collect2.exe: error: ld returned 1 exit status
CMakeFiles\ai_demo_sim.dir\build.make:188: recipe for target 'ai_demo_sim' failed
mingw32-make[2]: *** [ai_demo_sim] Error 1
CMakeFiles\Makefile2:71: recipe for target 'CMakeFiles/ai_demo_sim.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/ai_demo_sim.dir/all] Error 2
Makefile:82: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

@xelll
Copy link
Contributor

xelll commented Feb 18, 2019

hi, now we move this project to https://github.com/sipeed/LicheeDan_K210_examples,you can test this code.

@sw0813
Copy link
Author

sw0813 commented Feb 20, 2019

The code from [https://github.com/sipeed/LicheeDan_K210_examples] still not working.
[100%] Linking C executable ai_demo_sim d:/lichee_dan/toolchain_k210/bin/../lib/gcc/riscv64-unknown-elf/7.2.0/crtbegin.o: In function __do_global_dtors_aux':
crtstuff.c:(.text+0x5c): relocation truncated to fit: R_RISCV_CALL against undefined symbol __deregister_frame_info' d:/lichee_dan/toolchain_k210/bin/../lib/gcc/riscv64-unknown-elf/7.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: final link failed: Symbol needs debug section which does not exist collect2.exe: error: ld returned 1 exit status mingw32-make[2]: *** [CMakeFiles\ai_demo_sim.dir\build.make:189: ai_demo_sim] Error 1 mingw32-make[1]: *** [CMakeFiles\Makefile2:72: CMakeFiles/ai_demo_sim.dir/all] Error 2 mingw32-make: *** [Makefile:83: all] Error 2

@xelll
Copy link
Contributor

xelll commented Feb 26, 2019

now we use standalone sdk, and it should use toolchain with version 8.2, i see you use 7.2, please update your toolcahin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants