Skip to content

Hummingbird with the Static Linux SDK #121

Closed
@diuming

Description

I try to build Hummingbird hello example with Debian12 in 2 ways

1)normal build(works very well)
  % swift build -c release
  % sudo .build/release/App
    ... info Hummingbird : [HummingbirdCore] Server started and listening on 192.168.1.31:80
2)build with static linux SDK(It doesn’t work)
  % swift build --swift-sdk aarch64-swift-linux-musl -c release
  % sudo .build/release/App
  ... info Hummingbird : [HummingbirdCore] Server started and listening on 192.168.1.31:80
  Trace/breakpoint trap

Do i forget something or it can't build with static linux SDK?

Hardware: Raspberry pi 5
OS: Linux pi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux
Swift: Swift version 6.0.1 (swift-6.0.1-RELEASE)
Swift SDK: swift-6.0.1-RELEASE_static-linux-0.0.1

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