You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This two lines of code, when compiled with zig version 0.8.0-dev.1120+300ebbd56 results in the compile error bellow.
print("w: {d}\n", .{ if (char_count>kTgaCharPerLine) width*kTgaCharPerLineelsewidth*char_count });
print("h: {d}\n", .{ if (char_count>kTgaCharPerLine) height*kTgaCharPerLineelseheight });
I've tried create a minimal version that cause the problem without success. When a extracted this two lines of code, with it's dependencies, variables e constants, to another project the error doesn't happen.
In this attached zip is the project, in the state that, when build gives the mentioned error.
broken LLVM module found: Instruction does not dominate all uses!
%554 = getelementptr inbounds %"struct:151:32", %"struct:151:32"* %66, i32 0, i32 0, !dbg !16451
store i32 %438, i32* %554, align 4, !dbg !16452
Instruction does not dominate all uses!
%553 = getelementptr inbounds %"struct:150:32", %"struct:150:32"* %65, i32 0, i32 0, !dbg !16442
store i32 %430, i32* %553, align 4, !dbg !16445
This is a bug in the Zig compiler.thread 14719 panic:
Unable to dump stack trace: debug info stripped
bft2img...The following command terminated unexpectedly:
/usr/bin/zig build-exe /misc/projetos/util/bft2img/src/main.zig --cache-dir /misc/projetos/util/bft2img/zig-cache --global-cache-dir /home/croscato/.cache/zig --name bft2img --pkg-begin color /misc/projetos/util/bft2img/lib/color.zig --pkg-end --pkg-begin tga /misc/projetos/util/bft2img/lib/tga.zig --pkg-end -isystem /misc/projetos/util/bft2img/lib --enable-cache
error: the following build command failed with exit code 6:
/misc/projetos/util/bft2img/zig-cache/o/59ccf733c530ca41655279809d9aed7b/build /usr/bin/zig /misc/projetos/util/bft2img /misc/projetos/util/bft2img/zig-cache /home/croscato/.cache/zig
The text was updated successfully, but these errors were encountered:
Vexu
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Feb 6, 2021
This two lines of code, when compiled with zig version
0.8.0-dev.1120+300ebbd56
results in the compile error bellow.I've tried create a minimal version that cause the problem without success. When a extracted this two lines of code, with it's dependencies, variables e constants, to another project the error doesn't happen.
In this attached zip is the project, in the state that, when build gives the mentioned error.
bft2img.zip
Compile error
The text was updated successfully, but these errors were encountered: