Skip to content

Linux compilation crash #72417

Open
Open
@MahdiBM

Description

@MahdiBM

Description

Project fails to build on linux.

Reproduction

Try to compile this project anyhow you want, on any Swift version.

project-manager-cms-server.zip

The compilation seems to consistently fail with:

623.2 error: compile command failed due to signal 9 (use -v to see invocation)

Multiple people have tried compiling or cross-compiling the same project and no one has had success.
See this thread in Vapor's Discord server for the full discussion.

Expected behavior

Compilation should go successfully.

Environment

Tested with on different environments. On EC2 instances or swift:5.10 image (not cross-compiling) and on a few different environments cross-compiling from Apple Silicon to amd.

I personally tried cross-compiling with Swift 5.10, on macOS 14.3 (or was it 14.2?) and Docker 4.27.1. Those seem to pretty much the latest as of writing this issue. Docker 4.28 seems to be out as well.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxPlatform: LinuxbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselftype checkerArea → compiler: Semantic analysis

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions