Closed markrileybot closed 2 years ago
I really hope this doesn't have anything to do with my PR https://github.com/aarch64-switch-rs/nx/pull/17 :|
Building and generating NRO... Triple: aarch64-nintendo-switch Compiling gpu-simple v0.1.0 (/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple) error: linking with `rust-lld` failed: exit status: 1-simple(bin) | = note: "rust-lld" "-flavor" "gnu" "-T/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch.ld" "/tmp/rustc61fWNG/symbols.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.119k3e6kz8fcxn98.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.178ujp6el85s29av.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.19lxbf9kzbiosbgs.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.1qem3cayb9rx06pz.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.1qyhnkcq0zcgr6dp.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.1ublm09ov3x2r2u8.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.1wvnm76mzi0cmrmg.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.246ti0es9qgof90r.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.26p1c0czb76pcfuq.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.270lunh83ahfdbo4.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.2aoi2vo9qxjdbp4a.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.2clruzva45gatiki.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.2mnau2mxbipj8njq.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.2rjy49l2nfv4q4vb.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.2seoudltia1hwlgk.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.2t2q2svqi4tg3c1u.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.3ayg1zc8noo97fdf.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.3lza4xn3fbgde4eh.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.3pww4ml8e1q5aouw.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.3wqxm14vkdfri9ak.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.3yxekt1h4yta96ib.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.409p00nvaojflj6i.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.4a843127vcwah4k7.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.4igeuxav00hjoh3w.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.4k1omcd0it105988.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.4ljgetsxf8jo8dyd.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.4t04ilnx2kgxhpyp.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.4wgg5xwvtegjw4m1.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.51pea50s9cx9xsbg.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.57bxj4kff8bxtq01.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.59rue2g5ciqgj3ua.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.5e263mlrwdpp43l2.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.cd44s3xreph6pqj.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.i38bhjmst6tvlb9.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.koof6f9rvisdkpd.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.lf4q0hgi9tn7pm1.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.x9ukoon6zh3lv6c.rcgu.o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.4z3yrq8nam980c99.rcgu.o" "--as-needed" "-L" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps" "-L" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/debug/deps" "-L" "/home/mriley/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-nintendo-switch/lib" "-Bstatic" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libui2d-c6dfa84346ce7616.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/librusttype-2c6013b8bd6dd678.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libab_glyph_rasterizer-c0190f5dfb10a2e6.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/liblibm-d8ad65945d4773b6.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libowned_ttf_parser-803ac62ebf098fb5.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libttf_parser-92893deda30e56c9.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libfont8x8-1c14b2217d2e12ae.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libnx-185ecb50b21dc5b9.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/liblogpacket-1ddb255f80068be7.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libarrayvec-9c2ed9823a0bd9f1.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/liblinked_list_allocator-c8b550c252832990.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libstatic_assertions-7282627957e61930.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/liballoc-7e3eb7ef033f7209.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/librustc_std_workspace_core-e0ef13e80ee66544.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libcore-b3d6cfa4f3b24496.rlib" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libcompiler_builtins-e21a2ab93a6dfad4.rlib" "-Bdynamic" "--eh-frame-hdr" "-znoexecstack" "-L" "/home/mriley/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-nintendo-switch/lib" "-o" "/home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/gpu_simple-50c519b6b869d340.elf" "--gc-sections" "-pie" = note: rust-lld: error: /home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libnx-185ecb50b21dc5b9.rlib(nx-185ecb50b21dc5b9.nx.768a02a9-cgu.3.rcgu.o):(function __nx_rrt0_entry: .text.__nx_rrt0_entry+0x4c): relocation R_AARCH64_ADR_PREL_LO21 out of range: 1428916 is not in [-1048576, 1048575]; references __bss_start >>> referenced by rrt0.rs:258 (src/rrt0.rs:258) rust-lld: error: /home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libnx-185ecb50b21dc5b9.rlib(nx-185ecb50b21dc5b9.nx.768a02a9-cgu.3.rcgu.o):(function __nx_rrt0_entry: .text.__nx_rrt0_entry+0x94): relocation R_AARCH64_ADR_PREL_LO21 out of range: 1429076 is not in [-1048576, 1048575]; references __bss_end >>> referenced by rrt0.rs:260 (src/rrt0.rs:260) rust-lld: error: /home/mriley/projects/aarch64-switch-rs/examples/graphics/gpu-simple/target/aarch64-nintendo-switch/debug/deps/libnx-185ecb50b21dc5b9.rlib(nx-185ecb50b21dc5b9.nx.768a02a9-cgu.3.rcgu.o):(function __nx_rrt0_entry: .text.__nx_rrt0_entry+0x10c): relocation R_AARCH64_ADR_PREL_LO21 out of range: 1428516 is not in [-1048576, 1048575]; references __dynamic_start >>> referenced by rrt0.rs:273 (src/rrt0.rs:273) error: aborting due to previous error error: could not compile `gpu-simple` due to 2 previous errors```
This has nothing with that PR, it's the same discussed here which actually latest nx should be fine with (last changes regarding RRT0 here)
OOOOF....sorry I missed those
I really hope this doesn't have anything to do with my PR https://github.com/aarch64-switch-rs/nx/pull/17 :|