You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xcode 12.5 beta 2, Big Sur. Does not repro in latest trunk snapshot or swift-5.4-DEVELOPMENT-SNAPSHOT-2021-02-12-a, might already be fixed? Hopefully the fix can make it into Xcode 12.5 beta 3.
<unknown>:0: error: fatal error encountered while reading from module 'Foundation'; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
<unknown>:0: note: module 'Foundation' full misc version is '5.4(5.4)/Apple Swift version 5.4 (swiftlang-1205.0.24.6 clang-1205.0.19.54)'
*
**
DESERIALIZATION FAILURE (please include this section in any bug report) ***
top-level value not found
Cross-reference to module 'Darwin'
... memcmp
... with type (UnsafeRawPointer, UnsafeRawPointer, Int) -> Int32
Note, the bug doesn't seem to trigger when WMO is enabled (hence why the repro is a debug build, SPM uses WMO for release builds), -O without WMO somehow triggers this here
Environment
Xcode 12.5 beta 2, Big Sur. Does not repro in latest trunk snapshot or swift-5.4-DEVELOPMENT-SNAPSHOT-2021-02-12-a, might already be fixed? Hopefully the fix can make it into Xcode 12.5 beta 3.
Additional Detail from JIRA
md5: 93739af9610fadf29cc7cd7014c6b654
Issue Description:
git clone https://github.com/apple/swift-protobuf.git
cd swift-protobuf
swift build -v -c debug -Xswiftc -O
Crash:
<unknown>:0: error: fatal error encountered while reading from module 'Foundation'; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
<unknown>:0: note: module 'Foundation' full misc version is '5.4(5.4)/Apple Swift version 5.4 (swiftlang-1205.0.24.6 clang-1205.0.19.54)'
*
**
top-level value not found
Cross-reference to module 'Darwin'
... memcmp
... with type (UnsafeRawPointer, UnsafeRawPointer, Int) -> Int32
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
<args omitted>
The text was updated successfully, but these errors were encountered: