Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

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

    MR Series
    2
    3
    1678
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      正野一健 LV 2 last edited by

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

      1 Reply Last reply Reply Quote Share 0
      • D
        dreamer LV 4 last edited by

        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 Reply Last reply Reply Quote Share 1
        • D
          dreamer LV 4 last edited by

          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 Reply Last reply Reply Quote Share 1
          • 1 / 1
          • First post
            Last post

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

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