-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
abi-n32The N32 ABI for 64-bit MIPSThe N32 ABI for 64-bit MIPSabi-x32The x32 ABI for 64-bit x86The x32 ABI for 64-bit x86arch-mips6464-bit MIPS64-bit MIPSarch-x86_6464-bit x8664-bit x86bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
const std = @import("std");
pub fn main() void {
var addrs: [0]usize = undefined;
_ = std.debug.captureCurrentStackTrace(.{}, &addrs);
}$ zig run repro.zig -target x86_64-linux-muslx32 -lc
thread 732695 panic: attempt to unwrap error: IncompatibleRegisterSize
error return context:
lib/std/debug/Dwarf/SelfUnwinder.zig:315:38: 0x4fb50 in regNative (repro)
if (bytes.len != @sizeOf(usize)) return error.IncompatibleRegisterSize;
^
stack trace:
aborting due to recursive panic
Aborted (core dumped) zig run repro.zig -target x86_64-linux-muslx32 -lcMetadata
Metadata
Assignees
Labels
abi-n32The N32 ABI for 64-bit MIPSThe N32 ABI for 64-bit MIPSabi-x32The x32 ABI for 64-bit x86The x32 ABI for 64-bit x86arch-mips6464-bit MIPS64-bit MIPSarch-x86_6464-bit x8664-bit x86bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.