Paste: zig build error

Author: Andy
Mode: text
Date: Fri, 12 Jun 2026 05:46:50
Plain Text |
install
└─ install factor
   └─ compile exe factor Debug native 2 errors
error: fatal linker error: unhandled relocation type R_X86_64_PC64 at offset 0x1c
    note: in /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../lib/crt1.o:.sframe
error: fatal linker error: unhandled relocation type R_X86_64_PC64 at offset 0x2c
    note: in /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/../../../../lib/crt1.o:.sframe
error: 2 compilation errors
failed command: /home/andy/.local/share/mise/installs/zig/0.16.0/zig build-exe -ODebug --dep build_options -Mroot=/home/andy/Code/factor/src/main.zig -Mbuild_options=.zig-cache/c/ab28e38a4c59549f7c53212b4c5ba6f8/options.zig -lc --cache-dir .zig-cache --global-cache-dir /home/andy/.cache/zig --name factor -rdynamic --zig-lib-dir /home/andy/.local/share/mise/installs/zig/0.16.0/lib/ --listen=-

Build Summary: 1/4 steps succeeded (1 failed)
install transitive failure
└─ install factor transitive failure
   └─ compile exe factor Debug native 2 errors

error: the following build command failed with exit code 1:
.zig-cache/o/422eb0a4f482d7f4765462dc82d5241e/build /home/andy/.local/share/mise/installs/zig/0.16.0/zig /home/andy/.local/share/mise/installs/zig/0.16.0/lib /home/andy/Code/factor .zig-cache /home/andy/.cache/zig --seed 0xa758fc92 -Zdd426b3ea51ee973

New Annotation

Summary:
Author:
Mode:
Body: