Registry Mirror
Skip to content

self-hosted x86 backend has formatted panics disabled #21529

Closed

Description

@andrewrk

zig/src/target.zig

Lines 589 to 596 in 085cc54

.panic_unwrap_error => switch (backend) {
.stage2_c, .stage2_llvm => true,
else => false,
},
.safety_check_formatted => switch (backend) {
.stage2_c, .stage2_llvm => true,
else => false,
},

After #21520, this causes:

+ ./zig2 build -Dno-lib
install
+- install zig
   +- zig build-exe zig Debug native 705 errors
error: fatal linker error: cannot expand segment seg(0)(__TEXT_ZIG) in virtual memory
    note: TODO: emit relocations to memory locations in self-hosted backends
    note: as a workaround, try increasing pre-allocated virtual memory of each segment

Activity

  1. added
    enhancement
    arch-x86_64
    on Sep 27, 2024
  2. added this to the 0.14.0 milestone on Sep 27, 2024
  3. jacobly0 commented on Jan 5, 2025

    @jacobly0
    Member

    I wasn't following frontend changes enough since this issue was opened to know what it is even supposed to be tracking now.

  4. andrewrk commented on Jan 5, 2025

    @andrewrk
    MemberAuthor

    Closed by 4f8d244

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

    arch-x86_64backend-self-hostedenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions