Skip to content

zig libc crashes with out of memory error on loongarch64 #21468

Open
@yxd-ym

Description

@yxd-ym

Zig Version

0.14.0-dev.1622+2ac543388

Steps to Reproduce and Observed Behavior

  1. Bootstrap a loongarch64 linux zig with ziglang/zig-bootstrap@1ad232c , either musl or gnu.
  2. Run zig libc on a loongarch64 linux machine with the bootstrapped zig
  3. The error occurs like this:
$ ~/opt/zig/musl/zig libc
error: OutOfMemory

Expected Behavior

zig libc returns correct libc related information on loongarch64 like x86_64 or aarch64 ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-loongarch32-bit and 64-bit LoongArchbugObserved behavior contradicts documented or intended behavioros-linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions