swiftlang/swift-package-manager

dsymutil emits warnings with experimental lto mode

Open

#6890 opened on Sep 12, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Swift (10,145 stars) (1,462 forks)batch import
bughelp wanted

Description

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

Contributor guide