Advertisement
Guest User

Untitled

a guest
Dec 8th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.69 KB | None | 0 0
  1. $ zig build-exe --single-threaded --strip -O ReleaseSmall -target msp430-freestanding-none -mcpu=msp430 blink.zig
  2. ld.lld: error: blink:(function _start: .text+0x36): relocation R_MSP430_16_BYTE out of range: 69812 is not in [-32768, 65535]; references main
  3. >>> defined in zig-cache/o/dbe2937348aadc1f49ded9100d00ff24/blink.o
  4. attempt to unwrap error: LLDReportedFailure
  5. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  6. return error.OutOfMemory;
  7. ^
  8. /home/nathan/zig/zig/lib/std/os.zig:1198:23: 0x55e3c5e900a1 in std.os.openatZ (zig1)
  9. ENOENT => return error.FileNotFound,
  10. ^
  11. /home/nathan/zig/zig/lib/std/fs.zig:763:13: 0x55e3c5d1cd5f in std.fs.Dir.openFileZ (zig1)
  12. try os.openatZ(self.fd, sub_path, os_flags, 0);
  13. ^
  14. /home/nathan/zig/zig/lib/std/fs.zig:694:9: 0x55e3c5d18a79 in std.fs.Dir.openFile (zig1)
  15. return self.openFileZ(&path_c, flags);
  16. ^
  17. /home/nathan/zig/zig/lib/std/fs.zig:1573:20: 0x55e3c5d495d7 in std.fs.Dir.readFileAllocOptions (zig1)
  18. var file = try self.openFile(file_path, .{});
  19. ^
  20. /home/nathan/zig/zig/lib/std/fs.zig:1556:9: 0x55e3c5d464ca in std.fs.Dir.readFileAlloc (zig1)
  21. return self.readFileAllocOptions(allocator, file_path, max_bytes, null, @alignOf(u8), null);
  22. ^
  23. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  24. return error.OutOfMemory;
  25. ^
  26. /home/nathan/zig/zig/lib/std/mem/Allocator.zig:319:16: 0x55e3c5ec3959 in std.mem.Allocator.resize (zig1)
  27. const rc = try self.resizeFn(self, old_byte_slice, Slice.alignment, new_byte_count, 0, @returnAddress());
  28. ^
  29. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  30. return error.OutOfMemory;
  31. ^
  32. /home/nathan/zig/zig/lib/std/mem/Allocator.zig:319:16: 0x55e3c5ec3959 in std.mem.Allocator.resize (zig1)
  33. const rc = try self.resizeFn(self, old_byte_slice, Slice.alignment, new_byte_count, 0, @returnAddress());
  34. ^
  35. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  36. return error.OutOfMemory;
  37. ^
  38. /home/nathan/zig/zig/lib/std/mem/Allocator.zig:319:16: 0x55e3c5ec3959 in std.mem.Allocator.resize (zig1)
  39. const rc = try self.resizeFn(self, old_byte_slice, Slice.alignment, new_byte_count, 0, @returnAddress());
  40. ^
  41. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  42. return error.OutOfMemory;
  43. ^
  44. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  45. return error.OutOfMemory;
  46. ^
  47. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  48. return error.OutOfMemory;
  49. ^
  50. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  51. return error.OutOfMemory;
  52. ^
  53. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  54. return error.OutOfMemory;
  55. ^
  56. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  57. return error.OutOfMemory;
  58. ^
  59. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  60. return error.OutOfMemory;
  61. ^
  62. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  63. return error.OutOfMemory;
  64. ^
  65. /home/nathan/zig/zig/lib/std/mem/Allocator.zig:319:16: 0x55e3c5ec3959 in std.mem.Allocator.resize (zig1)
  66. const rc = try self.resizeFn(self, old_byte_slice, Slice.alignment, new_byte_count, 0, @returnAddress());
  67. ^
  68. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  69. return error.OutOfMemory;
  70. ^
  71. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  72. return error.OutOfMemory;
  73. ^
  74. /home/nathan/zig/zig/lib/std/mem/Allocator.zig:319:16: 0x55e3c5ec3959 in std.mem.Allocator.resize (zig1)
  75. const rc = try self.resizeFn(self, old_byte_slice, Slice.alignment, new_byte_count, 0, @returnAddress());
  76. ^
  77. /home/nathan/zig/zig/src/link/Elf.zig:1667:9: 0x55e3c5e1b357 in link.Elf.linkWithLLD (zig1)
  78. return error.LLDReportedFailure;
  79. ^
  80. /home/nathan/zig/zig/src/link/Elf.zig:716:9: 0x55e3c5e0aa76 in link.Elf.flush (zig1)
  81. return self.linkWithLLD(comp);
  82. ^
  83. /home/nathan/zig/zig/src/link.zig:389:21: 0x55e3c5dc45b7 in link.File.flush (zig1)
  84. .elf => return @fieldParentPtr(Elf, "base", base).flush(comp),
  85. ^
  86. /home/nathan/zig/zig/src/Compilation.zig:1249:5: 0x55e3c5dbd1e5 in Compilation.update (zig1)
  87. try self.bin_file.flush(self);
  88. ^
  89. /home/nathan/zig/zig/src/main.zig:1918:5: 0x55e3c5d6b7a4 in main.updateModule (zig1)
  90. try comp.update();
  91. ^
  92. /home/nathan/zig/zig/src/main.zig:1782:21: 0x55e3c5cbfb95 in main.buildOutputType (zig1)
  93. else => |e| return e,
  94. ^
  95. /home/nathan/zig/zig/src/main.zig:160:9: 0x55e3c5c98415 in main.mainArgs (zig1)
  96. return buildOutputType(gpa, arena, args, .{ .build = .Exe });
  97. ^
  98. /home/nathan/zig/zig/lib/std/heap.zig:147:9: 0x55e3c5c94746 in std.heap.CAllocator.resize (zig1)
  99. return error.OutOfMemory;
  100. ^
  101. ???:?:?: 0x55e3c5c996c5 in ??? (???)
  102. /home/nathan/zig/zig/src/stage1.zig:45:43: 0x55e3c5c97f5d in main (zig1)
  103. stage2.mainArgs(gpa, arena, args) catch unreachable;
  104. ^
  105. Aborted
  106.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement