已开启
[Bug-Report|缺陷反馈]: libophost_ras.so 缺少对 libregister.so 的显式依赖 #55
starfican创建于  9月30日
starfican
9月30日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

安装发布的完整 CANN 包后,发现其中的 libophost_ras.so 未包含对 libregister.so 的依赖。单独编译 CANN 官方ops-ras 9.2.0 分支时,生成的 libophost_ras.so 存在该依赖。为避免整包构建过程中依赖被裁剪,需要修改 ops-ras 的链接方式,显式链接 libregister.so。

Environment / 环境信息 (Mandatory / 必填)

CANN 9.2.0,Ascend910_93,Linux aarch64。

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

  1. 安装发布的完整 CANN 包。
  2. 定位包内的 libophost_ras.so。
  3. 执行 readelf -d libophost_ras.so | grep NEEDED。
  4. 对比官方 ops-ras 9.2.0 分支单独编译生成的 libophost_ras.so。

Describe the expected behavior / 预期结果 (Mandatory / 必填)

完整 CANN 包中的 libophost_ras.so 应包含 DT_NEEDED: libregister.so,与单独编译 ops-ras 9.2.0 分支的结果保持一致

无

Special notes for this issue/备注 (Optional / 选填)

likedislike
yue-ma成员
28 天前 评论:

/assign @starfican

likedislike
CANN-robotCANN-robot成员
28 天前 将 starfican 设为负责人