Skip to content

Instantly share code, notes, and snippets.

@leroycep
Last active August 7, 2022 23:27
Show Gist options
  • Save leroycep/dac1e02bb0bb27a4ef9da896b57e8c82 to your computer and use it in GitHub Desktop.
Save leroycep/dac1e02bb0bb27a4ef9da896b57e8c82 to your computer and use it in GitHub Desktop.
mach game compile error
downloading https://github.com/hexops/mach-gpu-dawn/releases/download/release-fbb4741/libdawn_x86_64-linux-gnu_debug.a.gz..
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 77.4M 100 77.4M 0 0 8970k 0 0:00:08 0:00:08 --:--:-- 13.2M
downloading https://github.com/hexops/mach-gpu-dawn/releases/download/release-fbb4741/headers.json.gz..
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 46762 100 46762 0 0 37047 0 0:00:01 0:00:01 --:--:-- 97k
LLD Link... ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/d4da41e746b35b2f048024a8affd3bd1/future.o):(function std::__1::future_category(): .text+0x1c5): relocation R_X86_64_PC32 out of range: -60216079945 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by future.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/16b79ffec5c4c2f88c158de5ee3eafe0/iostream.o):(function std::__1::ios_base::Init::Init(): .text+0x5ad): relocation R_X86_64_PC32 out of range: -60215835873 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by iostream.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/16b79ffec5c4c2f88c158de5ee3eafe0/iostream.o):(function _GLOBAL__I_000100: .text.startup+0x3d): relocation R_X86_64_PC32 out of range: -60215839073 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by iostream.cpp
ld.lld: error: /home/geemili/.local/share/hexops/sdk-linux-x86_64/root/usr/lib/x86_64-linux-gnu/libXau.a(AuGetBest.o):(function XauGetBestAuthByAddr: .text+0x59): relocation R_X86_64_32 out of range: 60175747592 is not in [0, 4294967295]
ld.lld: error: /home/geemili/.local/share/hexops/sdk-linux-x86_64/root/usr/lib/x86_64-linux-gnu/libXau.a(AuFileName.o):(function XauFileName: .text+0x23): relocation R_X86_64_32 out of range: 60175747595 is not in [0, 4294967295]
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/d4da41e746b35b2f048024a8affd3bd1/future.o):(function std::__1::promise<void>::~promise(): .text+0x983): relocation R_X86_64_PC32 out of range: -60216081927 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by future.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::init_weeks(): .text+0xa64b): relocation R_X86_64_PC32 out of range: -60215881711 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.local/share/hexops/sdk-linux-x86_64/root/usr/lib/x86_64-linux-gnu/libXau.a(AuFileName.o):(function XauFileName: .text+0x41): relocation R_X86_64_32 out of range: 60175747606 is not in [0, 4294967295]
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::init_wweeks(): .text+0xa85b): relocation R_X86_64_PC32 out of range: -60215882239 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/d4da41e746b35b2f048024a8affd3bd1/future.o):(function std::__1::__throw_future_error(std::__1::future_errc): .text._ZNSt3__120__throw_future_errorENS_11future_errcE+0x83): relocation R_X86_64_PC32 out of range: -60216082647 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by future.cpp
ld.lld: error: /home/geemili/.local/share/hexops/sdk-linux-x86_64/root/usr/lib/x86_64-linux-gnu/libXau.a(AuFileName.o):(function XauFileName: .text+0xb8): relocation R_X86_64_32 out of range: 60175747611 is not in [0, 4294967295]
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::init_months(): .text+0xab4d): relocation R_X86_64_PC32 out of range: -60215882993 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/e798a8fd6709ff56ab27fdd4868b7636/libc_nonshared.a(/home/geemili/.cache/zig/o/18a61b549ea36b576fd64df797b88868/atexit.o):(function atexit: .text+0x7): relocation R_X86_64_PC32 out of range: -60216099547 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by atexit.c
ld.lld: error: /home/geemili/.local/share/hexops/sdk-linux-x86_64/root/usr/lib/x86_64-linux-gnu/libXau.a(AuFileName.o):(function XauFileName: .text+0xcb): relocation R_X86_64_32S out of range: 60175747616 is not in [-2147483648, 2147483647]
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::init_wmonths(): .text+0xae3d): relocation R_X86_64_PC32 out of range: -60215883745 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.local/share/hexops/sdk-linux-x86_64/root/usr/lib/x86_64-linux-gnu/libXau.a(AuFileName.o):(function XauFileName: .text+0xf1): relocation R_X86_64_32 out of range: 60217803040 is not in [0, 4294967295]
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::init_am_pm(): .text+0xaf33): relocation R_X86_64_PC32 out of range: -60215883991 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::init_wam_pm(): .text+0xb023): relocation R_X86_64_PC32 out of range: -60215884231 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/f29eed845da3acdd85e3961d0782ae85/ios.o):(function std::__1::iostream_category(): .text+0xc5): relocation R_X86_64_PC32 out of range: -60215820745 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by ios.cpp
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x773e): relocation R_X86_64_PC32 out of range: -60180333122 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x775f): relocation R_X86_64_PC32 out of range: -60180333155 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x7780): relocation R_X86_64_PC32 out of range: -60180333188 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x77a1): relocation R_X86_64_PC32 out of range: -60180333221 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x7908): relocation R_X86_64_PC32 out of range: -60180333580 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x7929): relocation R_X86_64_PC32 out of range: -60180333613 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x794a): relocation R_X86_64_PC32 out of range: -60180333646 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.mach.gpu.NativeInstance.command_encoder_vtable.beginRenderPass: .text+0x796b): relocation R_X86_64_PC32 out of range: -60180333679 is not in [-2147483648, 2147483647]; references .LCPI93_0
>>> referenced by nan.zig:7 (/nix/store/hd8gn8hmhm4fn34iq6520f66vn7s61pi-zig-0.10.0-dev.3460+059713478/lib/std/math/nan.zig:7)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.world.tests.reference example: square is stable: .text+0xa8c3): relocation R_X86_64_PC32 out of range: -60180345795 is not in [-2147483648, 2147483647]; references .LCPI191_0
>>> referenced by world.zig:206 (/home/geemili/1_projects/gameoflife-mach/src/world.zig:206)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.world.tests.reference example: line spins: .text+0xb043): relocation R_X86_64_PC32 out of range: -60180347711 is not in [-2147483648, 2147483647]; references .LCPI196_0
>>> referenced by world.zig:218 (/home/geemili/1_projects/gameoflife-mach/src/world.zig:218)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.world.tests.example: square is stable: .text+0xb419): relocation R_X86_64_PC32 out of range: -60180348689 is not in [-2147483648, 2147483647]; references .LCPI200_0
>>> referenced by world.zig:233 (/home/geemili/1_projects/gameoflife-mach/src/world.zig:233)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.world.tests.example: line spins: .text+0xb779): relocation R_X86_64_PC32 out of range: -60180349549 is not in [-2147483648, 2147483647]; references .LCPI204_0
>>> referenced by world.zig:249 (/home/geemili/1_projects/gameoflife-mach/src/world.zig:249)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function coreUpdate: .text+0xd030): relocation R_X86_64_PC32 out of range: -60180355872 is not in [-2147483648, 2147483647]; references .LCPI219_1
>>> referenced by native.zig:687 (/home/geemili/1_projects/gameoflife-mach/libs/mach/src/platform/native.zig:687)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.world.expectGrid: .text+0xfdc1): relocation R_X86_64_PC32 out of range: -34410562793 is not in [-2147483648, 2147483647]; references __unnamed_50
>>> referenced by world.zig:310 (/home/geemili/1_projects/gameoflife-mach/src/world.zig:310)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.world.expectGrid: .text+0xfdfd): relocation R_X86_64_PC32 out of range: -34410562849 is not in [-2147483648, 2147483647]; references __unnamed_51
>>> referenced by world.zig:310 (/home/geemili/1_projects/gameoflife-mach/src/world.zig:310)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o:(function .app.world.init: .text+0x1083c): relocation R_X86_64_PC32 out of range: -34410565468 is not in [-2147483648, 2147483647]; references __unnamed_58
>>> referenced by world.zig:45 (/home/geemili/1_projects/gameoflife-mach/src/world.zig:45)
>>> defined in /home/geemili/1_projects/gameoflife-mach/zig-cache/o/5174acac607c033cb5dbeffb09f9185f/gameoflife-test.o
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<char>::__x() const: .text+0xb092): relocation R_X86_64_PC32 out of range: -60215884342 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/f29eed845da3acdd85e3961d0782ae85/ios.o):(function std::__1::__throw_failure(char const*): .text._ZNSt3__115__throw_failureEPKc+0x92): relocation R_X86_64_PC32 out of range: -60215823830 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by ios.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<wchar_t>::__x() const: .text+0xb112): relocation R_X86_64_PC32 out of range: -60215884470 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<char>::__X() const: .text+0xb192): relocation R_X86_64_PC32 out of range: -60215884598 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<wchar_t>::__X() const: .text+0xb212): relocation R_X86_64_PC32 out of range: -60215884726 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<char>::__c() const: .text+0xb292): relocation R_X86_64_PC32 out of range: -60215884854 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<wchar_t>::__c() const: .text+0xb312): relocation R_X86_64_PC32 out of range: -60215884982 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<char>::__r() const: .text+0xb392): relocation R_X86_64_PC32 out of range: -60215885110 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
ld.lld: error: /home/geemili/.cache/zig/o/892d414c75f7fa492789f2c562566b95/libc++.a(/home/geemili/.cache/zig/o/2028e38534e0e117e987a61b55e5d4b0/locale.o):(function std::__1::__time_get_c_storage<wchar_t>::__r() const: .text+0xb412): relocation R_X86_64_PC32 out of range: -60215885238 is not in [-2147483648, 2147483647]; references __dso_handle
>>> referenced by locale.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment