FeatureFuel
1

vaultwarden compiled on Alpine Linux segfaults without "RUSTFLAGS=-C target-feature=-crt-static"

Source: dani-garcia/vaultwarden#2515 · opened by @DerVerruckteFuchs
I've attempted to build vaultwarden on Alpine Linux 3.15 and 3.16, and the resulting binary segfaults when trying to run it. It seems to be a [build environment issue with OpenSSL]( The build environment fix (using RUSTFLAGS=-C target-feature=-crt-static) from the link worked for me. I used env RUSTFLAGS=-C target-feature=-crt-static cargo build..., and I have a build that runs successfully. It would probably be a good idea to set this somewhere for Alpine Linux builds.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests