Compilation error in standalone sdk 0.5.3 lib/bsp/crt.S unrecognized opcode



  • Hello,

    I try to compile the hello_world using standalone-sdk-0.5.3, the available kendryte-toolchain

    cmake .. -DPROJ=hello_world -DTOOLCHAIN=/home/k210/kendryte-toolchain/bin && make

    and I obtain this message:

    Build files have been written to: /home/k210/kendryte-standalone-sdk-0.5.3/build
    [ 2%] Building C object lib/CMakeFiles/kendryte.dir/bsp/crt.S.obj
    /home/limited/k210/kendryte-standalone-sdk-0.5.3/lib/bsp/crt.S: Assembler messages:
    /home/k210/kendryte-standalone-sdk-0.5.3/lib/bsp/crt.S:79: Error: unrecognized opcode fmv.d.x f0,x0' /home/k210/kendryte-standalone-sdk-0.5.3/lib/bsp/crt.S:80: Error: unrecognized opcodefmv.d.x f1,x0'
    /home/k210/kendryte-standalone-sdk-0.5.3/lib/bsp/crt.S:81: Error: unrecognized opcode `fmv.d.x f2,x0'
    ......
    make[2]: *** [lib/CMakeFiles/kendryte.dir/build.make:63: lib/CMakeFiles/kendryte.dir/bsp/crt.S.obj] Error 1
    make[1]: *** [CMakeFiles/Makefile2:128: lib/CMakeFiles/kendryte.dir/all] Error 2

    Has anyone solved this problem during compilation please?
    Regards
    sk



  • @hukai

    Hi,
    thanks!

    this sdk version fix the opcode error and I can finally compile some c code. 🙂 Let's moving forward now.

    Regards
    sk


  • Global Moderator |  Mod