Skip to content

Improve *BSD native ABI detection #9089

Closed
@LemonBoy

Description

@LemonBoy

At the moment zig detects the native ABI as .gnu, that may cause some problems as many *BSD libcs are not fully gnu-compliant (eg. NetBSD has no sincos, a GNU extension, but since we're passing LLVM the wrong triple we end up with some missing symbols).

cc @mikdusan as I guess you'd love some BSD action

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.frontendTokenization, parsing, AstGen, Sema, and Liveness.os-freebsdos-openbsd

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions