Skip to content

Create statically linked musl binaries? #28

@yedayak

Description

@yedayak

Currently you can't run the released binaries on debian 10, rhel 8 or ubuntu 18.04, since they have GLIBC versions below 2.29. The unknown-linux-gnu binary in the release requires GLIBC 2.29:

$ objdump -T phraze  | grep 'GLIBC_2\.2[^.]'
0000000000000000  w   DF *UND*  0000000000000000 (GLIBC_2.25) getrandom
0000000000000000      DF *UND*  0000000000000000 (GLIBC_2.29) log2
0000000000000000  w   DF *UND*  0000000000000000 (GLIBC_2.28) statx

I think a good solution to this will be to create statically linked musl binaries, which should be able to run on any linux, regardless of glibc version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions