Skip to content

Disable jailer build for Glibc #2102

Closed
Closed
@alindima

Description

@alindima

Currently, the jailer can be used only when Firecracker is linked with static musl, not with dynamic glibc.

The fact that the build command successfully builds the jailer with glibc is misleading and outputs jailer binaries that do not work with the corresponding Firecracker binary.

We should make sure that when we compile the source code, we only build the jailer if the specified toolchain is musl.

One way of doing this would be to modify devtool. However, we should first investigate for any options we could add in the Cargo.toml files to restrict compilation based on toolchain.

Metadata

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