swiftlang/swift-package-manager

dsymutil emits warnings with experimental lto mode

Open

#6890 aperta il 12 set 2023

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Swift (1462 fork)batch import
bughelp wanted

Metriche repository

Star
 (10.145 star)
Metriche merge PR
 (Merge medio 9g 13h) (90 PR mergiate in 30 g)

Descrizione

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

Guida contributor