Skip to content

Please support building with the swift-6 "static linux sdk" #292

Open
@marcelo-paredes

Description

@marcelo-paredes

Describe the feature

In the context of aws-sdk-swift, swift build --swift-sdk aarch64-swift-linux-musl fails in this module because of including execinfo.h which is not available under musl.

Use Case

building a static executable using the aws-sdk-swift module under macOS or Linux that can be copied and executed in another linux machine without the need to carry dynamic libararies/shared objects with it.

Proposed Solution

detect support building with musl.

Other Information

I just cloned the repository to see if I could provide more information but when I tried to build it I get errors like

/home/marcelo/repo/aws-crt-swift/Source/AwsCommonRuntimeKit/CommonRuntimeKit.swift:1:8: error: no such module 'AwsCEventStream'
 1 | import AwsCEventStream
   |        `- error: no such module 'AwsCEventStream'
 2 | import AwsCAuth
 3 | 

so maybe there's something I'm not doing before executing swift build

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions