fengb / fundude

Gameboy emulator: Zig -> wasm
https://fengb.github.io/fundude/
MIT License
181 stars 8 forks source link

zig build test failing on debian 10 x64 #58

Closed markfirmware closed 3 years ago

markfirmware commented 4 years ago

0.6.0+237c5429b

1/15 test ""...OK
2/15 Cpu.test "register arrangement"...OK
3/15 Cpu.test "flags"...OK
4/15 Cpu.test "opExecute smoke"...OK
5/15 Cpu.test ""...OK
6/15 Mmu.test "offsets"...OK
7/15 Mmu.test "Io offsets"...OK
8/15 Mmu.test "RAM echo"...Segmentation fault at address 0x7ffc7a906c06
/root/github.com/fundude/src/video.zig:373:36: 0x26426b in video.Video.updatedOam (test)
        self.cache.sprites.dirty = true;
                                   ^
/root/github.com/fundude/src/Mmu.zig:205:52: 0x25a62f in Mmu.set (test)
        0xFE00...0xFEA0 - 1 => fd.video.updatedOam(self, addr, val),
                                                   ^
/root/github.com/fundude/src/Mmu.zig:225:12: 0x206f8b in Mmu.test "RAM echo" (test)
    mmu.set(0xFE00, 69);
           ^
/root/github.com/fundude/tools/zig/lib/zig/std/special/test_runner.zig:47:28: 0x28db3e in std.special.main (test)
        } else test_fn.func();
                           ^
/root/github.com/fundude/tools/zig/lib/zig/std/start.zig:252:37: 0x25b10d in std.start.posixCallMainAndExit (test)
            const result = root.main() catch |err| {
                                    ^
/root/github.com/fundude/tools/zig/lib/zig/std/start.zig:123:5: 0x25ae4f in std.start._start (test)
    @call(.{ .modifier = .never_inline }, posixCallMainAndExit, .{});
    ^

Tests failed. Use the following command to reproduce the failure:
/root/github.com/fundude/zig-cache/o/vpOiD7rqCb3uUPsAOA9FmWI7Df2bfSDhiZ5xEx7KQM61WOi_31Uhrwv2j-5y2hEe/test
The following command exited with error code 255:
/root/github.com/fundude/tools/zig/zig test /root/github.com/fundude/src/main.zig --cache-dir /root/github.com/fundude/zig-cache --name test 

Build failed. The following command failed:
/root/github.com/fundude/zig-cache/o/41maahmKmZ37rfIz2Q_UXe4tjiok440HCd1JCRsx3irQ6sh3uaeShCsZvgYicEfT/build /root/github.com/fundude/tools/zig/zig /root/github.com/fundude /root/github.com/fundude/zig-cache test