导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    内存检测工具 Valgrind编不进D1,不支持RISC-V架构怎么解决?

    MR Series
    2
    3
    1716
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • C
      正野一健 LV 2 最后由 编辑

      8dceca91-847e-471c-83bc-2414d465a11f-image.png
      1479639d-6896-4046-b43b-4712d3191928-image.png
      b69f63b3-8ae8-40db-b05a-ee0817297432-image.png
      这个工具不支持RiscV架构,该怎么解决?

      1 条回复 最后回复 回复 引用 分享 0
      • D
        dreamer LV 4 最后由 编辑

        D$N%P[M)WI](T[0T5%E2V]A.png

        EEQD~AYOD4}SIE_4D2YFMPH.png

        Y2L$2IP{FVKD2Q6YBZ_)@R3.png

        K8.png

        78dd746a-64a8-4bab-b0f0-82852670e2f9-image.png

        "package/valgrind/Config.in" 添加一行 default y if BR2_riscv

        用韦老师的 buildroot
        我来试一试。

        1 条回复 最后回复 回复 引用 分享 1
        • D
          dreamer LV 4 最后由 编辑

          checking dependency style of /opt/D1/buildroot-2021/output/host/bin/riscv64-unknown-linux-gnu-gcc... none
          checking for diff -u... yes
          checking for /opt/D1/buildroot-2021/output/host/bin/riscv64-unknown-linux-gnu-gcc option to accept ISO C99... (cached) -std=gnu99
          checking for a supported version of gcc... ok (8.1.0)
          checking build system type... x86_64-pc-linux-gnu
          checking host system type... riscv64-buildroot-linux-gnu
          checking for a supported CPU... no (riscv64)
          configure: error: Unsupported host architecture. Sorry
          package/pkg-generic.mk:231: recipe for target '/opt/D1/buildroot-2021/output/build/valgrind-3.16.1/.stamp_configured' failed
          make[1]: *** [/opt/D1/buildroot-2021/output/build/valgrind-3.16.1/.stamp_configured] Error 1
          Makefile:84: recipe for target '_all' failed
          make: *** [_all] Error 2
          

          确实没办法编译成功了,看了一下,要照着mips64改很多处。

          1 条回复 最后回复 回复 引用 分享 1
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策