Skip to content

Add FreeBSD x86_64 and AArch64 compiler target contracts #413

Open

Description

@LunaStev

Companion to #386, which tracks the FreeBSD std::sys platform layer. This issue covers compiler target, object, linker, CRT, and C ABI contracts.

Targets

  • x86_64-unknown-freebsd
  • aarch64-unknown-freebsd

Scope

  • Register exact ELF target specs and target-attribute values.
  • Define FreeBSD linker arguments, startup objects, dynamic loader, default libraries, and sysroot discovery/override rules.
  • Validate the x86_64 SysV and AArch64 procedure-call classifiers against FreeBSD C fixtures rather than assuming Linux compatibility.
  • Add object/link contract tests on Linux and runtime tests on a FreeBSD runner or VM when available.
  • Keep standard-library porting in Complete and validate FreeBSD std::sys providers #386.

Completion criteria

  • Both triples emit correct ELF objects.
  • wavec print target-spec exposes FreeBSD-specific runtime requirements.
  • Hosted linking succeeds with an explicit complete FreeBSD sysroot.
  • C interop fixtures pass on a real FreeBSD environment.
  • Documentation distinguishes compile-only from runtime-verified support.

Activity

  1. added
    enhancement
    help wanted
    os support
    cross-platform
    on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cross-platformenhancementhelp wantedos support

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions