Skip to content

[FreeBSD] extra steps required to successfully build #1592

@RivenSkaye

Description

@RivenSkaye

The README lists x86_64-unknown-freebsd as a fully supported and tested target, but the tests are not currently being run in CI.

As I mentioned in rust-lang/rust#134863 it's possible to get cranelift to build without any hiccups by setting the LD_STATIC_TLS_EXTRA environment variable to a non-zero value. A closed issue on rust-lang/rust#140092 mentions Polars having the same issue on FreeBSD 14.2 and 1024 being the magic number - though that still failed when building cranelift on my machine. So I did what any reasonable person would do and quadrupled the value to have it successfully build.

Perhaps this could be used to re-enable CI checks, as well as be either documented or applied in the y.sh script (under a conditional check for FreeBSD in uname -o)?

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