之前编译通过的工程今天全部编译通不过,包括官方的helloworld工程也报错



  • [ INFO] f:/kendryte/kendryteide/localpackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: f:/kendryte/kendryteide/localpackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/crtbegin.o:(.sdata.__dso_handle+0x0): multiple definition of `__dso_handle'; f:/kendryte/kendryteide/localpackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/crtbegin.o:(.sdata.__dso_handle+0x0): first defined here
    [ INFO] f:/kendryte/kendryteide/localpackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: f:/kendryte/kendryteide/localpackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/crtend.o:(.tm_clone_table+0x0): multiple definition of `__TMC_END__'; f:/kendryte/kendryteide/localpackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/crtend.o:(.tm_clone_table+0x0): first defined here
    [ INFO] collect2.exe: error: ld returned 1 exit status
    [ INFO] mingw32-make.exe[2]: *** [CMakeFiles/hello_world_standalone.dir/build.make:84: hello_world_standalone] Error 1
    [ INFO] mingw32-make.exe[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/hello_world_standalone.dir/all] Error 2
    [ INFO] mingw32-make.exe: *** [Makefile:84: all] Error 2
    [ INFO] 
    [ INFO] Build Error: F:/Kendryte/KendryteIDE/LocalPackage/cmake/bin/cmake.exe exited with code 2.
    

    不知道是不是因为SDK更新的原因0.5.6的standalone的SDK中移除了freertos的文件夹。



  • beta版吗?今天刚修复了这个问题,再试试。



  • Same for me using Kendryte IDE on Windows 10.

    Needs to be fixed or Kendryte will get bad name.