swiftlang/swift-package-manager

dsymutil emits warnings with experimental lto mode

开放

#6,890 创建于 2023年9月12日

 (5 条评论) (0 个反应) (0 位负责人)Swift (1,462 个派生)batch import
bughelp wanted

仓库指标

星标
 (10,145 个星标)
PR 合并指标
 (平均合并 9天 4小时) (30 天内合并 62 个 PR)

描述

When using --experimental-lto-mode=full dsymutil complains about not being able to find (intermediate?) object files created during the LTO process. Example:

$ git clone git@github.com:apple/swift-nio.git
$ cd swift-nio
$ swift build --configuration release --experimental-lto-mode=full --verbose
warning: (arm64) /tmp/lto.o unable to open object file: No such file or directory
warning: (arm64)  could not find object file symbol for symbol _$sSo14_sa_DoubleWordaMa
warning: (arm64)  could not find object file symbol for symbol _$sSo14_sa_DoubleWordaMaTm
...

贡献者指南