Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分项目使用了 as-need 参数 break 了部分连接器 #3345

Closed
10 tasks done
RevySR opened this issue Aug 1, 2022 · 3 comments
Closed
10 tasks done

部分项目使用了 as-need 参数 break 了部分连接器 #3345

RevySR opened this issue Aug 1, 2022 · 3 comments
Labels
Meta | Task List Epic | 问题或任务列表

Comments

@RevySR
Copy link

RevySR commented Aug 1, 2022

SUMMARY | 问题概要

部分项目使用了 as-need 参数 break 了部分连接器 - 例如mold

使用的项目如下:

STEPS TO REPRODUCE | 复现步骤

使用mold linker会报无法识别

OBSERVED RESULT | 观察到的结果

No response

EXPECTED RESULT | 期望的结果

No response

SOFTWARE/OS VERSIONS | 软件/系统版本信息

Gentoo

ADDITIONAL INFORMATION | 额外补充

No response

@BLumia
Copy link
Member

BLumia commented Aug 2, 2022

相关:这个是不是后续各个项目应该改用 add_link_options() 或者 target_link_options() ,并且使用 LINKER: 前缀会更合适一些?

@BLumia BLumia added the Meta | Task List Epic | 问题或任务列表 label Aug 2, 2022
wineee added a commit to wineee/dde-introduction that referenced this issue Aug 29, 2022
Log: Use as-needed to enhance compatibility with linker

relate: linuxdeepin/developer-center#3345
wineee added a commit to wineee/dde-introduction that referenced this issue Aug 31, 2022
Log: Use as-needed to enhance compatibility with linker

relate: linuxdeepin/developer-center#3345
wineee added a commit to wineee/dde-introduction that referenced this issue Sep 8, 2022
Log: Use as-needed to enhance compatibility with linker

relate: linuxdeepin/developer-center#3345
deepin-bot bot pushed a commit to linuxdeepin/dde-introduction that referenced this issue Sep 8, 2022
Log: Use as-needed to enhance compatibility with linker

relate: linuxdeepin/developer-center#3345
wineee added a commit to wineee/deepin-devicemanager that referenced this issue Sep 9, 2022
Log: Use as-needed to enhance compatibility with linker

relate: linuxdeepin/developer-center#3345
@wineee
Copy link
Member

wineee commented Sep 14, 2022

文管也有 https://github.com/linuxdeepin/dde-file-manager/blob/2fa523a00b7e5a7f267356fdf34235bfc8813e78/src/common/common.pri#L74

deepin-bot bot pushed a commit to linuxdeepin/deepin-devicemanager that referenced this issue Sep 30, 2022
Log: Use as-needed to enhance compatibility with linker

relate: linuxdeepin/developer-center#3345
@BLumia BLumia closed this as completed Oct 17, 2022
@wineee
Copy link
Member

wineee commented Oct 21, 2022

wineee added a commit to wineee/dde-grand-search that referenced this issue Oct 21, 2022
Log: Use as-needed to enhance compatibility with linker

linuxdeepin/developer-center#3345
deepin-bot bot pushed a commit to linuxdeepin/dde-grand-search that referenced this issue Oct 26, 2022
Log: Use as-needed to enhance compatibility with linker

linuxdeepin/developer-center#3345
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meta | Task List Epic | 问题或任务列表
Projects
None yet
Development

No branches or pull requests

3 participants