Skip to content

是否能够升级支持esp-idf v6.0? #211

Description

@hgddingjun

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

希望能够升级支持esp-idf v6.0?

Actual behavior (suspected bug)

实际执行idf.py build, 到最后链接阶段报错

linkError.txt

Error logs or terminal output

[100%] Linking CXX executable xiaozhi.elf
/home/dingjun/workspace/xiaozhi-esp32/managed_components/espressif__esp-sr/lib/esp32p4/libdl_lib.a(dl_esp32p4_sr_s8_conv2d.S.obj): in function `esp32p4_sr_s8_conv2d_11cn_bias_loop':
/home/sunxiangyu/workspace/esp_sr_lib/components/dl_lib/base/esp32p4/dl_esp32p4_sr_s8_conv2d.S:122:(.text+0x3c): relocation truncated to fit: R_RISCV_RVC_LUI against `.L01'
/home/dingjun/workspace/xiaozhi-esp32/managed_components/espressif__esp-sr/lib/esp32p4/libdl_lib.a(dl_esp32p4_sr_s8_unaligned_conv2d.S.obj): in function `esp32p4_sr_s8_unaligned_conv2d_11cn_bias_32b_multiple_loop':
/home/sunxiangyu/workspace/esp_sr_lib/components/dl_lib/base/esp32p4/dl_esp32p4_sr_s8_unaligned_conv2d.S:416:(.text+0xb0): relocation truncated to fit: R_RISCV_RVC_LUI against `.L181'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/xiaozhi.elf.dir/build.make:912: xiaozhi.elf] Error 1
make[1]: *** [CMakeFiles/Makefile2:5404: CMakeFiles/xiaozhi.elf.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make failed with exit code 2, output of the command is in the /home/dingjun/workspace/xiaozhi-esp32/build/log/idf_py_stderr_output_484347 and /home/dingjun/workspace/xiaozhi-esp32/build/log/idf_py_stdout_output_484347

Steps to reproduce the behavior

env: virtualbox7.2 + ubuntu26.04 + esp-idf v6.0
idf.py set-target esp32p4
idf.py fullclean
idf.py build

Project release version

esp-sr v2.3.1

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

ubuntu26.04

Shell

Bash

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions