已合并
add Bsymbolic-functions for tensorpipe #83
王超创建于 2025年12月20日
add Bsymbolic-functions for tensorpipe #83
已合并
王超创建于 2025年12月20日
王超成员
2025年12月20日

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug
/kind task
/kind feature

What does this PR do / why do we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewers:

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 王超 的贡献)
王超成员
2025年12月20日 创建了 pull request,commit fcbf1bb1
ascend-robot
ascend-robot成员
2025年12月20日 评论:

Thank your for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
ascend-robot
ascend-robot成员
2025年12月20日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-Ascend/Tensorpipe li_jing_hw, yanpengquan, shaoyf, ShaoFeifan, liwei386 li_jing_hw, liwei386, dilililiwhy, wangchao430, yanpengquan
likedislike
ascend-robotascend-robot成员
2025年12月20日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
2025年12月20日 评论:

CLA Signature Pass

@wangchao430, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
王超成员
2025年12月20日 评论:

compile

likedislike
AtlasAccount
AtlasAccount成员
2025年12月20日 评论:

问题/功能描述

本次PR旨在解决CMake构建共享库时可能出现的符号冲突问题。通过添加特定的链接器选项,确保库在运行时优先解析其内部定义的函数符号,避免与外部同名符号发生冲突,从而提升共享库的稳定性、独立性和可移植性。

修改方案描述

修改方案是在tensorpipe目标的CMakeLists.txt配置中,添加了私有链接选项-Wl,-Bsymbolic-functions。该选项指示链接器在构建共享库时,优先绑定库内部定义的函数符号地址,而非依赖外部全局符号解析,这是一种标准的构建优化措施,不涉及任何业务逻辑代码的改动。

likedislike
ascend-robot
ascend-robot成员
2025年12月20日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[0733eefaa3f349eeb5beb1a213c71c12]

likedislike
ascend-robotascend-robot成员
2025年12月20日 添加了label:ci-pipeline-running
ascend-robotascend-robot成员
2025年12月20日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
2025年12月20日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
2025年12月20日 评论:
流水线 PR-pipeline_Tensorpipe#11已完成
阶段 任务名 状态 详情
编译构建 Build >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
开源片段检查 SCA >>>
流水线 PR-pipeline_Tensorpipe >>>
likedislike
zhangqiongwen成员
2025年12月20日 评论:

/approve

likedislike
zhangqiongwen成员
2025年12月20日 评论:

/check-pr

likedislike
ascend-robot
ascend-robot成员
2025年12月20日 评论:

The following labels are not ready.

lgtm: Please wait for reviewers to review the code.

approved: Please wait for committers to review the code.

likedislike
liwei386成员
2025年12月20日 评论:

/approve

likedislike
ascend-robotascend-robot成员
2025年12月20日 添加了label:approved
shaoyf成员
2025年12月20日 评论:

/approve

likedislike
ascend-robotascend-robot成员
2025年12月20日 添加了label:lgtm
ascend-robot
ascend-robot成员
2025年12月20日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who writed a comment of /approve are: liwei386, shaoyf.
Reviewers who writed a comment of /lgtm are: liwei386, shaoyf.

likedislike
ascend-robotascend-robot成员
2025年12月20日 合入了pull request