Created
January 17, 2021 14:09
-
-
Save sharpobject/9d479900d636d74b28a2027c127e6390 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ zig run -O Debug main.zig --pkg-begin wz wz/src/main.zig --pkg-begin hzzp hzzp/src/main.zig --pkg-end --pkg-end --pkg-begin ssl ssl.zig --pkg-end -I/opt/homebrew/Cellar/openssl@1.1/1.1.1i/include -L/opt/homebrew/Cellar/openssl@1.1/1.1.1i/lib -lssl -lcrypto -lc -lSystem | |
Undefined symbol: /Users/sharpobject/.cache/zig/o/c6c151e8e49487d5ebd3ffa11eaf42e0/main.o: _stderr | |
symbol(s) not found | |
thread 17106523 panic: attempt to unwrap error: FileNotFound | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/Progress.zig:286:18: 0x10077c763 in std.Progress.bufWrite (zig1) | |
} else |err| switch (err) { | |
^ | |
/Users/sharpobject/repos/zig/lib/std/fs.zig:918:42: 0x1005f7e9f in std.fs.Dir.createFileZ (zig1) | |
_ = os.fcntl(fd, os.F_SETFL, fl_flags) catch |err| switch (err) { | |
^ | |
/Users/sharpobject/repos/zig/lib/std/crypto/siphash.zig:220:35: 0x1005f3c7b in std.crypto.siphash.SipHash(u128,1,3).final (zig1) | |
mem.writeIntLittle(T, out, self.state.final(self.buf[0..self.buf_len])); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/log.zig:189:0: 0x1006253fb in std.log.scoped(default).err (zig1) | |
pub fn err( | |
/Users/sharpobject/repos/zig/lib/std/log.zig:124:8: 0x1006228d7 in std.log.log (zig1) | |
) void { | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/array_list.zig:182:34: 0x1007b8d9b in std.array_list.ArrayListAligned(std.dwarf.FileEntry,null).append (zig1) | |
const new_item_ptr = try self.addOne(); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/array_list.zig:182:34: 0x1007b8d9b in std.array_list.ArrayListAligned(std.dwarf.FileEntry,null).append (zig1) | |
const new_item_ptr = try self.addOne(); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap/arena_allocator.zig:73:42: 0x10062e93f in std.heap.arena_allocator.ArenaAllocator.alloc (zig1) | |
const cur_buf = cur_node.data[@sizeOf(BufNode)..]; | |
^ | |
/Users/sharpobject/repos/zig/lib/std/array_list.zig:182:34: 0x1007b8d9b in std.array_list.ArrayListAligned(std.dwarf.FileEntry,null).append (zig1) | |
const new_item_ptr = try self.addOne(); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/array_list.zig:182:34: 0x1007b8d9b in std.array_list.ArrayListAligned(std.dwarf.FileEntry,null).append (zig1) | |
const new_item_ptr = try self.addOne(); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/Progress.zig:286:18: 0x10077c763 in std.Progress.bufWrite (zig1) | |
} else |err| switch (err) { | |
^ | |
/Users/sharpobject/repos/zig/lib/std/fs.zig:918:42: 0x1005f7e9f in std.fs.Dir.createFileZ (zig1) | |
_ = os.fcntl(fd, os.F_SETFL, fl_flags) catch |err| switch (err) { | |
^ | |
/Users/sharpobject/repos/zig/lib/std/crypto/siphash.zig:220:35: 0x1005f3c7b in std.crypto.siphash.SipHash(u128,1,3).final (zig1) | |
mem.writeIntLittle(T, out, self.state.final(self.buf[0..self.buf_len])); | |
^ | |
/Users/sharpobject/repos/zig/src/link/MachO.zig:696:33: 0x1007056fb in link.MachO.linkWithLLD (zig1) | |
defer rpath_table.deinit(); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/fs.zig:1872:23: 0x1006ecf5f in std.fs.Dir.copyFile (zig1) | |
var in_file = try source_dir.openFile(source_path, .{}); | |
^ | |
/Users/sharpobject/repos/zig/src/Compilation.zig:1458:15: 0x1006a946b in Compilation.performAllTheWork (zig1) | |
defer self.work_queue_wait_group.wait(); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/fmt.zig:0:0: 0x1006a2703 in std.fmt.format (zig1) | |
/Users/sharpobject/repos/zig/src/main.zig:2057:74: 0x10064438b in main.cmdTranslateC (zig1) | |
fatal("unable to process '{s}': {s}", .{ c_source_file.src_path, @errorName(err) }); | |
^ | |
/Users/sharpobject/repos/zig/src/main.zig:0:9: 0x100598713 in main.buildOutputType (zig1) | |
/Users/sharpobject/repos/zig/src/main.zig:162:37: 0x100570def in main.mainArgs (zig1) | |
return buildOutputType(gpa, arena, args, .{ .build = .Exe }); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/array_list.zig:182:34: 0x1007b8d9b in std.array_list.ArrayListAligned(std.dwarf.FileEntry,null).append (zig1) | |
const new_item_ptr = try self.addOne(); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
/Users/sharpobject/repos/zig/lib/std/heap.zig:142:46: 0x10056df73 in std.heap.CAllocator.resize (zig1) | |
const full_len = alignedAllocSize(buf.ptr); | |
^ | |
???:?:?: 0x10c0e7597 in ___zig_fail_unwrap (???) | |
/Users/sharpobject/repos/zig/lib/std/debug.zig:0:0: 0x10057075f in std.debug.panicExtra (zig1) | |
???:?:?: 0x19f7a4f33 in ??? (???) | |
Panicked during a panic. Aborting. | |
Abort trap: 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment