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 合併指標
 (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
...

貢獻者指南