swiftlang/swift-package-manager

dsymutil emits warnings with experimental lto mode

Open

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

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Swift (10,145 star) (1,462 fork)batch import
bughelp wanted

描述

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
...

贡献者指南