Navigation

    全志在线开发者论坛

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

    perf如何配置Makefile文件链接 libunwind-riscv.so

    D1系列-RISC-V
    2
    3
    181
    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.
    • Y
      yang_wang LV 2 last edited by yang_wang

      在tina-d1-h中给perf连上 linunwind 库。 目前,我修改了 /home/allwinner/tina-d1-h/package/libs/libunwind 和 /home/allwinner/tina-d1-h/package/devel/perf 这两个目录下的Makefile. 将生成的perf, 通过 ldd -r perf ; 并未发现链接上 linunwind库(我用的是libunwind-riscv.so).

      d7d75b19-2dba-4d0c-a540-b23c8eb4901a-92f739f663821b4cfd7d0bf0df24470.png

      edc9fe33-c608-444f-8764-1da5f6ff781c-fc970c165a219557ba5f8ab6d807065.png

      PKG_NAME:=libunwind
      PKG_VERSION:=1.6.2
      PKG_RELEASE:=2
      libunwind版本是 1.6.2, 支持 Linux RISC-V 64-bit
      https://github.com/libunwind/libunwind

      372a336e-4497-467c-a3bf-5ffe7668132a-libunwind编译出的图.png

      1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        可以直接extra-provide跳过

        Y 1 Reply Last reply Reply Quote Share 0
        • Y
          yang_wang LV 2 @YuzukiTsuru last edited by

          @yuzukitsuru 怎么样才可以跳过啊?为什么要跳过? 我现在就是需要在RISC-V上的perf链接linunwind这个库

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

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

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