Skip to content

Swift 6.1.2 compiler crash in MandatorySILLinker with version 3.13.0Β #382

@diegotl

Description

@diegotl

New Regression Checklist

Regression Information

  • Breaking version: [e.g. 3.13.0]
  • Last working version: [e.g. 3.12.3]

Regression Description

Same as 380 but running Swift 6.1.2 and the latest swift-crypto release from today: 3.13.0

error: compile command failed due to signal 6 (use -v to see invocation)
Assertion failed: ((callerSerializedKind == IsNotSerialized || F->hasValidLinkageForFragileRef(callerSerializedKind) || hasSharedVisibility(linkage) || F->isExternForwardDeclaration()) && "called function has wrong linkage for serialized function"), function maybeAddFunctionToWorklist at Linker.cpp:108.
(to display assertion configuration options: -Xllvm -assert-help)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
(...)
1.	Swift version 6.1.2 (swift-6.1.2-RELEASE)
2.	Compiling with effective version 5.10
3.	While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for Crypto)
4.	While running pass #46816 SILModuleTransform "MandatorySILLinker".

Swift Crypto version/commit hash

Release 3.13.0

Environment

Swift version: Swift version 6.1.2 (swift-6.1.2-RELEASE)
Target: aarch64-unknown-linux-gnu
Unix version: Linux pacotevicio-api 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:00:30 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions