[SR-9939] Undefined symbols linker error when compiling with Swift 5.0 in release mode #52345
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
optimized only
Flag: An issue whose reproduction requires optimized compilation
regression
swift 5.0
Environment
macOS Mojave 10.14.2 (18C54)
Version 10.2 beta 2 (10P91b)
Apple Swift version 5.0 (swiftlang-1001.0.60.3 clang-1001.0.37.8)
Target: x86_64-apple-darwin18.2.0
ABI version: 0.7
Additional Detail from JIRA
md5: 7bf189721b739e220fbd403af4974dbc
is duplicated by:
Issue Description:
Steps to reproduce:
1. Clone this repo: https://github.com/LuizZak/SwiftRewriter
2. Checkout the branch 'swift5.0'
3. Compile with 'swift build -c=release'
Expected result:
Have the project compile successfully.
Actual result:
Compilation fails with a linker error:
Notes:
The problem does not occur if the project is compiled in debug mode.
The text was updated successfully, but these errors were encountered: