swiftlang/swift-package-manager

dsymutil emits warnings with experimental lto mode

Ouverte

#6 890 ouverte le 12 sept. 2023

 (5 commentaires) (0 réaction) (0 personne assignée)Swift (1 462 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (10 145 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur