Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson.build: enable LTO and -O3 for C schedulers #1155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JohnRTitor
Copy link
Contributor

@JohnRTitor JohnRTitor commented Jan 4, 2025

Follow-up of #1011.

We can also set b_lto_mode to thin. Clang is especially good with thin-lto I hear. (https://mesonbuild.com/Builtin-options.html#base-options)

CC #1010
CC @ptr1337 @htejun

@htejun htejun enabled auto-merge January 4, 2025 23:25
@JohnRTitor
Copy link
Contributor Author

Looks like linker fails when we use LTO.

/nix/store/j7p46r8v9gcpbxx89pbqlh61zhd33gzv-binutils-2.43.1/bin/ld: /build/source/build/bpftool/src/libbpf/libbpf.a: error adding symbols: archive has no index; run ranlib to add one
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@sirlucjan
Copy link
Contributor

/usr/bin/meson --internal exe --unpickle /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/meson-private/meson_exe_cargo_59c58fbc71558b247ce3e9f35a34239e102035cc.dat
while executing ['/usr/bin/cargo', 'build', '--manifest-path=../Cargo.toml', '--target-dir=.', '--quiet', '--release']
--- stdout ---

--- stderr ---
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lucjan/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcrfg1ol/symbols.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_mitosis-34151d6e98073f11/build_script_build-34151d6e98073f11.build_script_build.bc2c3e6d18e21051-cgu.0.rcgu.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_mitosis-34151d6e98073f11/build_script_build-34151d6e98073f11.0s906g9rvhx2mx28zjltsrs8d.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libhex-83403409742dc010.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwalkdir-a966b7b4ee4ba639.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsame_file-2e62b18347bfce5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbindgen-eed66304f94c14eb.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libprettyplease-6537902aebdc453f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libshlex-2b44e6f7ab58c93b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustc_hash-53813e055a66627d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitertools-7541cf9010e5bca0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libeither-cdc0c0d163a381d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcexpr-c5f8225380f97961.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libnom-92051a1637880c92.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libclang_sys-71ef9c21609ebe5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibloading-3efec2300b22848e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtar-f723ae56290767b8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libxattr-0e5443f4da6a8c40.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfiletime-9bf01a3468aeefa1.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libversion_compare-f67c2f2dae1cf5b2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_stats-3b69943f42d5075f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam-10930b08fedd0e9f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_deque-83224450e6fb2f08.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_channel-f0dee27bbea9500f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_queue-60e9494b1023341b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_epoch-5dac3497c3d6091d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_utils-bac0cdd4cdf74896.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsyn-32327b99d1f1b270.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libquote-d41782b8c0417460.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libproc_macro2-801d4695bd7547ae.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libunicode_ident-ab0d5330ad1b8d0a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6810b1bf165937b3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitvec-b4a928d03b178dc2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwyz-75472d68455b63ac.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtap-0819057555169876.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libradium-30ff086968591daa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfunty-9d56fa9e7fc7c729.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_metadata-4b17405352de0cd8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde_json-1106115853c1beb6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitoa-af47795a905972d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libryu-2e3ee2b53f271de6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libthiserror-e86952b7e4aa267c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_platform-179ba00b71582145.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcamino-252eac5e9982893f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemmap2-ce2f4fdd507d632c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libvsprintf-63a1cf2d02210a96.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibc-14ab5c7cf804952e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_sys-337aa28c98f3edd4.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsemver-d56cb70a7f9e7f89.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde-631f6453132c5a0b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtempfile-0ee80ec883eead3b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfastrand-2ec41802384475ff.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustix-43733b7c25d82c41.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitflags-6c06f902504895fa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblinux_raw_sys-dcaf2c3f74b05155.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcfg_if-e52f337b200154a7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libonce_cell-df44a2712601ec2e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libglob-335775b1c460ecb7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsscanf-380063939aea4f32.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex-c19ef2031348f041.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_automata-797ddac14499b945.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libaho_corasick-46c6fb61c4d2baf6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemchr-b08ba4b14184482c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_syntax-bd34a593e45130d6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblazy_static-8b323a5e2845acfd.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libconst_format-8d4005d3962f47a9.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libanyhow-ef5f2e946ea2857c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblog-6007ff70b5d75fa7.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b0676ecc57f2ddba.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c04a69e932d89c8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-053e17ad0fa1febf.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-22929c0fa06437da.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7736b28c981d9257.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de9c7b5c37df24fd.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ad0072c62f843108.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2d6d30129744b44d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-a1344e56ead8004e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f4bba34233b4ecda.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-61f9beeb6003ca9a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-48bd93e2e47bcf8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-43e2ac90240525c0.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc7626daef30737.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c514d1bb470d716.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4ea7ad2de766f682.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ffdecbae2fbe9bf9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4c44cda8e8779880.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3746f3634cfda487.rlib" "-Wl,-Bdynamic" "-ldl" "-lelf" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/libbpf/src" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/libbpf-sys-6899e817bade3910/out" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/vsprintf-bf544a4dd164b8a7/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_mitosis-34151d6e98073f11/build_script_build-34151d6e98073f11" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-lelf" "-lz" "-lzstd"
  = note: /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::MapData::new':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x1f): undefined reference to `bpf_map__name'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0xf1): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x20d): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x218): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x23c): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x250): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::get_raw_map_name':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17ha9c2ab0e32d0e8a1E+0x15): undefined reference to `bpf_map__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_c_skel_constructor':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0xa2): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0x12d): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_types':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen14gen_skel_types17hed4739df82cb2d84E+0x65): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_getters':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_struct_ops_getters17h99df1570f3465d85E+0x15): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_init':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x1b): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x81): undefined reference to `bpf_map__type'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen8gen_skel17hb11588cb9a0165baE+0x3e5): undefined reference to `bpf_object__open_mem'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x33): undefined reference to `bpf_linker__new'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x3f): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker8add_file17heb6f5ae3d4b7da04E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_declaration_impl':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x287): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x334): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x48b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_default':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x167): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x23d): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o):libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12size_of_type17h951483b147e41194E+0x11e): more undefined references to `btf__type_by_id' follow
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.09.rcgu.o): in function `<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next':
          libbpf_cargo.714c56ea3812b765-cgu.09:(.text._ZN106_$LT$core..iter..adapters..GenericShunt$LT$I$C$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h9b3a9fbdd1f2b6c7E+0x33): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::from_bpf_object':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0xf): undefined reference to `bpf_object__btf'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0x24): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::name_at':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf7name_at17h66c63f4d56f516d6E+0x7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::len':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf3len17h625f4543b267768bE+0x7): undefined reference to `btf__type_cnt'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::ptr_size':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf8ptr_size17h38d0cd39edf73208E+0xb): undefined reference to `btf__pointer_size'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `<libbpf_rs::btf::Btf as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x13): undefined reference to `btf__free'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x1e): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::next_type':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x3b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x4e): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::skip_mods_and_typedefs':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x38): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x3f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::alignment':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1b7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1f3): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x254): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x2b5): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x31b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x332): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.04.rcgu.o): in function `libbpf_rs::program::ProgramImpl::name':
          libbpf_rs.7d705f394687631-cgu.04:(.text._ZN9libbpf_rs7program11ProgramImpl4name17hf072d56a7021ba31E+0x6): undefined reference to `bpf_program__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Composite::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types9Composite16c_to_rust_member17hcc640d3ebdaada93E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types4Enum16c_to_rust_member17h6bc6e33170349047E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum64::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types6Enum6416c_to_rust_member17heea28bfccea5de6aE+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::MapIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN85_$LT$libbpf_rs..object..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4f63ae4b1ce91cf1E+0xd): undefined reference to `bpf_object__next_map'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::ProgIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN86_$LT$libbpf_rs..object..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h741fa54e39b1d409E+0xd): undefined reference to `bpf_object__next_program'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::Object as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN67_$LT$libbpf_rs..object..Object$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0976f0ed6b40af08E+0x5): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `libbpf_rs::linker::Linker::link':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN9libbpf_rs6linker6Linker4link17h903461fe0b2a10caE+0xa): undefined reference to `bpf_linker__finalize'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `<libbpf_rs::linker::Linker as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN67_$LT$libbpf_rs..linker..Linker$u20$as$u20$core..ops..drop..Drop$GT$4drop17h90e22eb37f778331E+0x5): undefined reference to `bpf_linker__free'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `scx_mitosis` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lucjan/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustc1bnpqN/symbols.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_rusty-6b07595fe21deec7/build_script_build-6b07595fe21deec7.build_script_build.55aea998de7cfa90-cgu.0.rcgu.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_rusty-6b07595fe21deec7/build_script_build-6b07595fe21deec7.6x21cgcg623emwsjgyuo83zdz.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libhex-83403409742dc010.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwalkdir-a966b7b4ee4ba639.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsame_file-2e62b18347bfce5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbindgen-eed66304f94c14eb.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libprettyplease-6537902aebdc453f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libshlex-2b44e6f7ab58c93b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustc_hash-53813e055a66627d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitertools-7541cf9010e5bca0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libeither-cdc0c0d163a381d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcexpr-c5f8225380f97961.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libnom-92051a1637880c92.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libclang_sys-71ef9c21609ebe5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibloading-3efec2300b22848e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtar-f723ae56290767b8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libxattr-0e5443f4da6a8c40.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfiletime-9bf01a3468aeefa1.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libversion_compare-f67c2f2dae1cf5b2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_stats-3b69943f42d5075f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam-10930b08fedd0e9f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_deque-83224450e6fb2f08.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_channel-f0dee27bbea9500f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_queue-60e9494b1023341b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_epoch-5dac3497c3d6091d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_utils-bac0cdd4cdf74896.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsyn-32327b99d1f1b270.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libquote-d41782b8c0417460.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libproc_macro2-801d4695bd7547ae.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libunicode_ident-ab0d5330ad1b8d0a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6810b1bf165937b3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitvec-b4a928d03b178dc2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwyz-75472d68455b63ac.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtap-0819057555169876.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libradium-30ff086968591daa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfunty-9d56fa9e7fc7c729.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_metadata-4b17405352de0cd8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde_json-1106115853c1beb6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitoa-af47795a905972d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libryu-2e3ee2b53f271de6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libthiserror-e86952b7e4aa267c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_platform-179ba00b71582145.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcamino-252eac5e9982893f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemmap2-ce2f4fdd507d632c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libvsprintf-63a1cf2d02210a96.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibc-14ab5c7cf804952e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_sys-337aa28c98f3edd4.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsemver-d56cb70a7f9e7f89.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde-631f6453132c5a0b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtempfile-0ee80ec883eead3b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfastrand-2ec41802384475ff.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustix-43733b7c25d82c41.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitflags-6c06f902504895fa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblinux_raw_sys-dcaf2c3f74b05155.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcfg_if-e52f337b200154a7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libonce_cell-df44a2712601ec2e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libglob-335775b1c460ecb7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsscanf-380063939aea4f32.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex-c19ef2031348f041.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_automata-797ddac14499b945.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libaho_corasick-46c6fb61c4d2baf6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemchr-b08ba4b14184482c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_syntax-bd34a593e45130d6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblazy_static-8b323a5e2845acfd.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libconst_format-8d4005d3962f47a9.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libanyhow-ef5f2e946ea2857c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblog-6007ff70b5d75fa7.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b0676ecc57f2ddba.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c04a69e932d89c8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-053e17ad0fa1febf.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-22929c0fa06437da.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7736b28c981d9257.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de9c7b5c37df24fd.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ad0072c62f843108.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2d6d30129744b44d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-a1344e56ead8004e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f4bba34233b4ecda.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-61f9beeb6003ca9a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-48bd93e2e47bcf8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-43e2ac90240525c0.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc7626daef30737.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c514d1bb470d716.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4ea7ad2de766f682.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ffdecbae2fbe9bf9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4c44cda8e8779880.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3746f3634cfda487.rlib" "-Wl,-Bdynamic" "-ldl" "-lelf" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/libbpf/src" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/libbpf-sys-6899e817bade3910/out" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/vsprintf-bf544a4dd164b8a7/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_rusty-6b07595fe21deec7/build_script_build-6b07595fe21deec7" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-lelf" "-lz" "-lzstd"
  = note: /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib(scx_utils-257bef0ad31fc6f0.scx_utils.1ce37c982ed92d4-cgu.06.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker3new17h5d0f6788ffcb424bE+0x30): undefined reference to `bpf_linker__new'
          /usr/bin/ld: scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker3new17h5d0f6788ffcb424bE+0x3c): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib(scx_utils-257bef0ad31fc6f0.scx_utils.1ce37c982ed92d4-cgu.06.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker8add_file17h81025f5f47ff7f96E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::MapData::new':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x1f): undefined reference to `bpf_map__name'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0xf1): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x20d): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x218): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x23c): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x250): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::get_raw_map_name':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17ha9c2ab0e32d0e8a1E+0x15): undefined reference to `bpf_map__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_c_skel_constructor':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0xa2): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0x12d): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_types':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen14gen_skel_types17hed4739df82cb2d84E+0x65): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_getters':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_struct_ops_getters17h99df1570f3465d85E+0x15): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_init':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x1b): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x81): undefined reference to `bpf_map__type'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen8gen_skel17hb11588cb9a0165baE+0x3e5): undefined reference to `bpf_object__open_mem'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x33): undefined reference to `bpf_linker__new'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x3f): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker8add_file17heb6f5ae3d4b7da04E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_declaration_impl':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x287): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x334): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x48b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_default':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x167): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x23d): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o):libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12size_of_type17h951483b147e41194E+0x11e): more undefined references to `btf__type_by_id' follow
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.09.rcgu.o): in function `<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next':
          libbpf_cargo.714c56ea3812b765-cgu.09:(.text._ZN106_$LT$core..iter..adapters..GenericShunt$LT$I$C$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h9b3a9fbdd1f2b6c7E+0x33): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::from_bpf_object':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0xf): undefined reference to `bpf_object__btf'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0x24): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::name_at':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf7name_at17h66c63f4d56f516d6E+0x7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::len':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf3len17h625f4543b267768bE+0x7): undefined reference to `btf__type_cnt'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::ptr_size':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf8ptr_size17h38d0cd39edf73208E+0xb): undefined reference to `btf__pointer_size'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `<libbpf_rs::btf::Btf as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x13): undefined reference to `btf__free'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x1e): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::next_type':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x3b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x4e): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::skip_mods_and_typedefs':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x38): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x3f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::alignment':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1b7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1f3): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x254): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x2b5): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x31b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x332): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.04.rcgu.o): in function `libbpf_rs::program::ProgramImpl::name':
          libbpf_rs.7d705f394687631-cgu.04:(.text._ZN9libbpf_rs7program11ProgramImpl4name17hf072d56a7021ba31E+0x6): undefined reference to `bpf_program__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Composite::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types9Composite16c_to_rust_member17hcc640d3ebdaada93E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types4Enum16c_to_rust_member17h6bc6e33170349047E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum64::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types6Enum6416c_to_rust_member17heea28bfccea5de6aE+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::MapIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN85_$LT$libbpf_rs..object..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4f63ae4b1ce91cf1E+0xd): undefined reference to `bpf_object__next_map'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::ProgIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN86_$LT$libbpf_rs..object..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h741fa54e39b1d409E+0xd): undefined reference to `bpf_object__next_program'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::Object as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN67_$LT$libbpf_rs..object..Object$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0976f0ed6b40af08E+0x5): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `libbpf_rs::linker::Linker::link':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN9libbpf_rs6linker6Linker4link17h903461fe0b2a10caE+0xa): undefined reference to `bpf_linker__finalize'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `<libbpf_rs::linker::Linker as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN67_$LT$libbpf_rs..linker..Linker$u20$as$u20$core..ops..drop..Drop$GT$4drop17h90e22eb37f778331E+0x5): undefined reference to `bpf_linker__free'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `scx_rusty` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lucjan/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcxYCiGK/symbols.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_lavd-2debdfca64a3af72/build_script_build-2debdfca64a3af72.build_script_build.1d9af47f07e247c5-cgu.0.rcgu.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_lavd-2debdfca64a3af72/build_script_build-2debdfca64a3af72.4hw4m467j3jqh4ep0zv8717nb.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libhex-83403409742dc010.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwalkdir-a966b7b4ee4ba639.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsame_file-2e62b18347bfce5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbindgen-eed66304f94c14eb.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libprettyplease-6537902aebdc453f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libshlex-2b44e6f7ab58c93b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustc_hash-53813e055a66627d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitertools-7541cf9010e5bca0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libeither-cdc0c0d163a381d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcexpr-c5f8225380f97961.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libnom-92051a1637880c92.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libclang_sys-71ef9c21609ebe5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibloading-3efec2300b22848e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtar-f723ae56290767b8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libxattr-0e5443f4da6a8c40.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfiletime-9bf01a3468aeefa1.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libversion_compare-f67c2f2dae1cf5b2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_stats-3b69943f42d5075f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam-10930b08fedd0e9f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_deque-83224450e6fb2f08.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_channel-f0dee27bbea9500f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_queue-60e9494b1023341b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_epoch-5dac3497c3d6091d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_utils-bac0cdd4cdf74896.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsyn-32327b99d1f1b270.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libquote-d41782b8c0417460.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libproc_macro2-801d4695bd7547ae.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libunicode_ident-ab0d5330ad1b8d0a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6810b1bf165937b3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitvec-b4a928d03b178dc2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwyz-75472d68455b63ac.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtap-0819057555169876.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libradium-30ff086968591daa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfunty-9d56fa9e7fc7c729.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_metadata-4b17405352de0cd8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde_json-1106115853c1beb6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitoa-af47795a905972d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libryu-2e3ee2b53f271de6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libthiserror-e86952b7e4aa267c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_platform-179ba00b71582145.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcamino-252eac5e9982893f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemmap2-ce2f4fdd507d632c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libvsprintf-63a1cf2d02210a96.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibc-14ab5c7cf804952e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_sys-337aa28c98f3edd4.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsemver-d56cb70a7f9e7f89.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde-631f6453132c5a0b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtempfile-0ee80ec883eead3b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfastrand-2ec41802384475ff.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustix-43733b7c25d82c41.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitflags-6c06f902504895fa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblinux_raw_sys-dcaf2c3f74b05155.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcfg_if-e52f337b200154a7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libonce_cell-df44a2712601ec2e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libglob-335775b1c460ecb7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsscanf-380063939aea4f32.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex-c19ef2031348f041.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_automata-797ddac14499b945.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libaho_corasick-46c6fb61c4d2baf6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemchr-b08ba4b14184482c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_syntax-bd34a593e45130d6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblazy_static-8b323a5e2845acfd.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libconst_format-8d4005d3962f47a9.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libanyhow-ef5f2e946ea2857c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblog-6007ff70b5d75fa7.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b0676ecc57f2ddba.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c04a69e932d89c8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-053e17ad0fa1febf.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-22929c0fa06437da.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7736b28c981d9257.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de9c7b5c37df24fd.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ad0072c62f843108.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2d6d30129744b44d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-a1344e56ead8004e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f4bba34233b4ecda.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-61f9beeb6003ca9a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-48bd93e2e47bcf8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-43e2ac90240525c0.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc7626daef30737.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c514d1bb470d716.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4ea7ad2de766f682.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ffdecbae2fbe9bf9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4c44cda8e8779880.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3746f3634cfda487.rlib" "-Wl,-Bdynamic" "-ldl" "-lelf" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/libbpf/src" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/libbpf-sys-6899e817bade3910/out" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/vsprintf-bf544a4dd164b8a7/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_lavd-2debdfca64a3af72/build_script_build-2debdfca64a3af72" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-lelf" "-lz" "-lzstd"
  = note: /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::MapData::new':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x1f): undefined reference to `bpf_map__name'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0xf1): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x20d): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x218): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x23c): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x250): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::get_raw_map_name':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17ha9c2ab0e32d0e8a1E+0x15): undefined reference to `bpf_map__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_c_skel_constructor':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0xa2): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0x12d): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_types':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen14gen_skel_types17hed4739df82cb2d84E+0x65): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_getters':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_struct_ops_getters17h99df1570f3465d85E+0x15): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_init':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x1b): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x81): undefined reference to `bpf_map__type'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen8gen_skel17hb11588cb9a0165baE+0x3e5): undefined reference to `bpf_object__open_mem'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x33): undefined reference to `bpf_linker__new'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x3f): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker8add_file17heb6f5ae3d4b7da04E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_declaration_impl':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x287): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x334): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x48b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_default':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x167): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x23d): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o):libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12size_of_type17h951483b147e41194E+0x11e): more undefined references to `btf__type_by_id' follow
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.09.rcgu.o): in function `<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next':
          libbpf_cargo.714c56ea3812b765-cgu.09:(.text._ZN106_$LT$core..iter..adapters..GenericShunt$LT$I$C$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h9b3a9fbdd1f2b6c7E+0x33): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::from_bpf_object':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0xf): undefined reference to `bpf_object__btf'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0x24): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::name_at':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf7name_at17h66c63f4d56f516d6E+0x7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::len':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf3len17h625f4543b267768bE+0x7): undefined reference to `btf__type_cnt'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::ptr_size':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf8ptr_size17h38d0cd39edf73208E+0xb): undefined reference to `btf__pointer_size'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `<libbpf_rs::btf::Btf as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x13): undefined reference to `btf__free'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x1e): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::next_type':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x3b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x4e): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::skip_mods_and_typedefs':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x38): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x3f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::alignment':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1b7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1f3): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x254): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x2b5): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x31b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x332): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.04.rcgu.o): in function `libbpf_rs::program::ProgramImpl::name':
          libbpf_rs.7d705f394687631-cgu.04:(.text._ZN9libbpf_rs7program11ProgramImpl4name17hf072d56a7021ba31E+0x6): undefined reference to `bpf_program__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Composite::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types9Composite16c_to_rust_member17hcc640d3ebdaada93E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types4Enum16c_to_rust_member17h6bc6e33170349047E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum64::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types6Enum6416c_to_rust_member17heea28bfccea5de6aE+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::MapIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN85_$LT$libbpf_rs..object..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4f63ae4b1ce91cf1E+0xd): undefined reference to `bpf_object__next_map'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::ProgIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN86_$LT$libbpf_rs..object..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h741fa54e39b1d409E+0xd): undefined reference to `bpf_object__next_program'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::Object as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN67_$LT$libbpf_rs..object..Object$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0976f0ed6b40af08E+0x5): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `libbpf_rs::linker::Linker::link':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN9libbpf_rs6linker6Linker4link17h903461fe0b2a10caE+0xa): undefined reference to `bpf_linker__finalize'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `<libbpf_rs::linker::Linker as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN67_$LT$libbpf_rs..linker..Linker$u20$as$u20$core..ops..drop..Drop$GT$4drop17h90e22eb37f778331E+0x5): undefined reference to `bpf_linker__free'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `scx_lavd` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lucjan/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcpeuV4i/symbols.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scxtop-5789bdd0593696e1/build_script_build-5789bdd0593696e1.build_script_build.c6b196b07dad33cb-cgu.0.rcgu.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scxtop-5789bdd0593696e1/build_script_build-5789bdd0593696e1.7zxukxamybfvwzdoe9mwdbr65.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libhex-83403409742dc010.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwalkdir-a966b7b4ee4ba639.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsame_file-2e62b18347bfce5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbindgen-eed66304f94c14eb.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libprettyplease-6537902aebdc453f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libshlex-2b44e6f7ab58c93b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustc_hash-53813e055a66627d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitertools-7541cf9010e5bca0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libeither-cdc0c0d163a381d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcexpr-c5f8225380f97961.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libnom-92051a1637880c92.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libclang_sys-71ef9c21609ebe5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibloading-3efec2300b22848e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtar-f723ae56290767b8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libxattr-0e5443f4da6a8c40.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfiletime-9bf01a3468aeefa1.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libversion_compare-f67c2f2dae1cf5b2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_stats-3b69943f42d5075f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam-10930b08fedd0e9f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_deque-83224450e6fb2f08.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_channel-f0dee27bbea9500f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_queue-60e9494b1023341b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_epoch-5dac3497c3d6091d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_utils-bac0cdd4cdf74896.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsyn-32327b99d1f1b270.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libquote-d41782b8c0417460.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libproc_macro2-801d4695bd7547ae.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libunicode_ident-ab0d5330ad1b8d0a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6810b1bf165937b3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitvec-b4a928d03b178dc2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwyz-75472d68455b63ac.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtap-0819057555169876.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libradium-30ff086968591daa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfunty-9d56fa9e7fc7c729.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_metadata-4b17405352de0cd8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde_json-1106115853c1beb6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitoa-af47795a905972d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libryu-2e3ee2b53f271de6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libthiserror-e86952b7e4aa267c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_platform-179ba00b71582145.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcamino-252eac5e9982893f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemmap2-ce2f4fdd507d632c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libvsprintf-63a1cf2d02210a96.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibc-14ab5c7cf804952e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_sys-337aa28c98f3edd4.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsemver-d56cb70a7f9e7f89.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde-631f6453132c5a0b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtempfile-0ee80ec883eead3b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfastrand-2ec41802384475ff.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustix-43733b7c25d82c41.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitflags-6c06f902504895fa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblinux_raw_sys-dcaf2c3f74b05155.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcfg_if-e52f337b200154a7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libonce_cell-df44a2712601ec2e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libglob-335775b1c460ecb7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsscanf-380063939aea4f32.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex-c19ef2031348f041.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_automata-797ddac14499b945.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libaho_corasick-46c6fb61c4d2baf6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemchr-b08ba4b14184482c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_syntax-bd34a593e45130d6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblazy_static-8b323a5e2845acfd.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libconst_format-8d4005d3962f47a9.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libanyhow-ef5f2e946ea2857c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblog-6007ff70b5d75fa7.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b0676ecc57f2ddba.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c04a69e932d89c8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-053e17ad0fa1febf.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-22929c0fa06437da.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7736b28c981d9257.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de9c7b5c37df24fd.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ad0072c62f843108.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2d6d30129744b44d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-a1344e56ead8004e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f4bba34233b4ecda.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-61f9beeb6003ca9a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-48bd93e2e47bcf8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-43e2ac90240525c0.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc7626daef30737.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c514d1bb470d716.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4ea7ad2de766f682.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ffdecbae2fbe9bf9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4c44cda8e8779880.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3746f3634cfda487.rlib" "-Wl,-Bdynamic" "-ldl" "-lelf" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/libbpf/src" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/libbpf-sys-6899e817bade3910/out" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/vsprintf-bf544a4dd164b8a7/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scxtop-5789bdd0593696e1/build_script_build-5789bdd0593696e1" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-lelf" "-lz" "-lzstd"
  = note: /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib(scx_utils-257bef0ad31fc6f0.scx_utils.1ce37c982ed92d4-cgu.06.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker3new17h5d0f6788ffcb424bE+0x30): undefined reference to `bpf_linker__new'
          /usr/bin/ld: scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker3new17h5d0f6788ffcb424bE+0x3c): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib(scx_utils-257bef0ad31fc6f0.scx_utils.1ce37c982ed92d4-cgu.06.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker8add_file17h81025f5f47ff7f96E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::MapData::new':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x1f): undefined reference to `bpf_map__name'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0xf1): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x20d): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x218): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x23c): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x250): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::get_raw_map_name':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17ha9c2ab0e32d0e8a1E+0x15): undefined reference to `bpf_map__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_c_skel_constructor':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0xa2): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0x12d): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_types':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen14gen_skel_types17hed4739df82cb2d84E+0x65): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_getters':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_struct_ops_getters17h99df1570f3465d85E+0x15): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_init':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x1b): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x81): undefined reference to `bpf_map__type'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen8gen_skel17hb11588cb9a0165baE+0x3e5): undefined reference to `bpf_object__open_mem'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x33): undefined reference to `bpf_linker__new'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x3f): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker8add_file17heb6f5ae3d4b7da04E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_declaration_impl':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x287): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x334): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x48b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_default':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x167): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x23d): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o):libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12size_of_type17h951483b147e41194E+0x11e): more undefined references to `btf__type_by_id' follow
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.09.rcgu.o): in function `<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next':
          libbpf_cargo.714c56ea3812b765-cgu.09:(.text._ZN106_$LT$core..iter..adapters..GenericShunt$LT$I$C$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h9b3a9fbdd1f2b6c7E+0x33): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::from_bpf_object':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0xf): undefined reference to `bpf_object__btf'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0x24): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::name_at':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf7name_at17h66c63f4d56f516d6E+0x7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::len':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf3len17h625f4543b267768bE+0x7): undefined reference to `btf__type_cnt'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::ptr_size':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf8ptr_size17h38d0cd39edf73208E+0xb): undefined reference to `btf__pointer_size'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `<libbpf_rs::btf::Btf as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x13): undefined reference to `btf__free'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x1e): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::next_type':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x3b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x4e): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::skip_mods_and_typedefs':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x38): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x3f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::alignment':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1b7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1f3): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x254): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x2b5): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x31b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x332): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.04.rcgu.o): in function `libbpf_rs::program::ProgramImpl::name':
          libbpf_rs.7d705f394687631-cgu.04:(.text._ZN9libbpf_rs7program11ProgramImpl4name17hf072d56a7021ba31E+0x6): undefined reference to `bpf_program__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Composite::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types9Composite16c_to_rust_member17hcc640d3ebdaada93E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types4Enum16c_to_rust_member17h6bc6e33170349047E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum64::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types6Enum6416c_to_rust_member17heea28bfccea5de6aE+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::MapIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN85_$LT$libbpf_rs..object..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4f63ae4b1ce91cf1E+0xd): undefined reference to `bpf_object__next_map'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::ProgIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN86_$LT$libbpf_rs..object..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h741fa54e39b1d409E+0xd): undefined reference to `bpf_object__next_program'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::Object as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN67_$LT$libbpf_rs..object..Object$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0976f0ed6b40af08E+0x5): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `libbpf_rs::linker::Linker::link':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN9libbpf_rs6linker6Linker4link17h903461fe0b2a10caE+0xa): undefined reference to `bpf_linker__finalize'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `<libbpf_rs::linker::Linker as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN67_$LT$libbpf_rs..linker..Linker$u20$as$u20$core..ops..drop..Drop$GT$4drop17h90e22eb37f778331E+0x5): undefined reference to `bpf_linker__free'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `scxtop` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lucjan/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcBojRcN/symbols.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_flash-98cb58e00f117a71/build_script_build-98cb58e00f117a71.build_script_build.37e7a95cc89ef8b4-cgu.0.rcgu.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_flash-98cb58e00f117a71/build_script_build-98cb58e00f117a71.03ug5ijn75xn9mm54a2aipt67.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libhex-83403409742dc010.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwalkdir-a966b7b4ee4ba639.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsame_file-2e62b18347bfce5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbindgen-eed66304f94c14eb.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libprettyplease-6537902aebdc453f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libshlex-2b44e6f7ab58c93b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustc_hash-53813e055a66627d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitertools-7541cf9010e5bca0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libeither-cdc0c0d163a381d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcexpr-c5f8225380f97961.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libnom-92051a1637880c92.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libclang_sys-71ef9c21609ebe5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibloading-3efec2300b22848e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtar-f723ae56290767b8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libxattr-0e5443f4da6a8c40.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfiletime-9bf01a3468aeefa1.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libversion_compare-f67c2f2dae1cf5b2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_stats-3b69943f42d5075f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam-10930b08fedd0e9f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_deque-83224450e6fb2f08.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_channel-f0dee27bbea9500f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_queue-60e9494b1023341b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_epoch-5dac3497c3d6091d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_utils-bac0cdd4cdf74896.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsyn-32327b99d1f1b270.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libquote-d41782b8c0417460.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libproc_macro2-801d4695bd7547ae.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libunicode_ident-ab0d5330ad1b8d0a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6810b1bf165937b3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitvec-b4a928d03b178dc2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwyz-75472d68455b63ac.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtap-0819057555169876.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libradium-30ff086968591daa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfunty-9d56fa9e7fc7c729.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_metadata-4b17405352de0cd8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde_json-1106115853c1beb6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitoa-af47795a905972d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libryu-2e3ee2b53f271de6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libthiserror-e86952b7e4aa267c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_platform-179ba00b71582145.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcamino-252eac5e9982893f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemmap2-ce2f4fdd507d632c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libvsprintf-63a1cf2d02210a96.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibc-14ab5c7cf804952e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_sys-337aa28c98f3edd4.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsemver-d56cb70a7f9e7f89.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde-631f6453132c5a0b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtempfile-0ee80ec883eead3b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfastrand-2ec41802384475ff.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustix-43733b7c25d82c41.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitflags-6c06f902504895fa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblinux_raw_sys-dcaf2c3f74b05155.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcfg_if-e52f337b200154a7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libonce_cell-df44a2712601ec2e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libglob-335775b1c460ecb7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsscanf-380063939aea4f32.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex-c19ef2031348f041.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_automata-797ddac14499b945.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libaho_corasick-46c6fb61c4d2baf6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemchr-b08ba4b14184482c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_syntax-bd34a593e45130d6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblazy_static-8b323a5e2845acfd.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libconst_format-8d4005d3962f47a9.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libanyhow-ef5f2e946ea2857c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblog-6007ff70b5d75fa7.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b0676ecc57f2ddba.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c04a69e932d89c8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-053e17ad0fa1febf.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-22929c0fa06437da.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7736b28c981d9257.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de9c7b5c37df24fd.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ad0072c62f843108.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2d6d30129744b44d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-a1344e56ead8004e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f4bba34233b4ecda.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-61f9beeb6003ca9a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-48bd93e2e47bcf8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-43e2ac90240525c0.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc7626daef30737.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c514d1bb470d716.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4ea7ad2de766f682.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ffdecbae2fbe9bf9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4c44cda8e8779880.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3746f3634cfda487.rlib" "-Wl,-Bdynamic" "-ldl" "-lelf" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/libbpf/src" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/libbpf-sys-6899e817bade3910/out" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/vsprintf-bf544a4dd164b8a7/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_flash-98cb58e00f117a71/build_script_build-98cb58e00f117a71" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-lelf" "-lz" "-lzstd"
  = note: /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::MapData::new':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x1f): undefined reference to `bpf_map__name'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0xf1): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x20d): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x218): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x23c): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x250): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::get_raw_map_name':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17ha9c2ab0e32d0e8a1E+0x15): undefined reference to `bpf_map__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_c_skel_constructor':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0xa2): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0x12d): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_types':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen14gen_skel_types17hed4739df82cb2d84E+0x65): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_getters':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_struct_ops_getters17h99df1570f3465d85E+0x15): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_init':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x1b): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x81): undefined reference to `bpf_map__type'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen8gen_skel17hb11588cb9a0165baE+0x3e5): undefined reference to `bpf_object__open_mem'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x33): undefined reference to `bpf_linker__new'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x3f): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker8add_file17heb6f5ae3d4b7da04E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_declaration_impl':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x287): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x334): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x48b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_default':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x167): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x23d): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o):libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12size_of_type17h951483b147e41194E+0x11e): more undefined references to `btf__type_by_id' follow
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.09.rcgu.o): in function `<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next':
          libbpf_cargo.714c56ea3812b765-cgu.09:(.text._ZN106_$LT$core..iter..adapters..GenericShunt$LT$I$C$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h9b3a9fbdd1f2b6c7E+0x33): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::from_bpf_object':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0xf): undefined reference to `bpf_object__btf'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0x24): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::name_at':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf7name_at17h66c63f4d56f516d6E+0x7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::len':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf3len17h625f4543b267768bE+0x7): undefined reference to `btf__type_cnt'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::ptr_size':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf8ptr_size17h38d0cd39edf73208E+0xb): undefined reference to `btf__pointer_size'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `<libbpf_rs::btf::Btf as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x13): undefined reference to `btf__free'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x1e): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::next_type':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x3b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x4e): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::skip_mods_and_typedefs':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x38): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x3f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::alignment':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1b7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1f3): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x254): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x2b5): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x31b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x332): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.04.rcgu.o): in function `libbpf_rs::program::ProgramImpl::name':
          libbpf_rs.7d705f394687631-cgu.04:(.text._ZN9libbpf_rs7program11ProgramImpl4name17hf072d56a7021ba31E+0x6): undefined reference to `bpf_program__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Composite::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types9Composite16c_to_rust_member17hcc640d3ebdaada93E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types4Enum16c_to_rust_member17h6bc6e33170349047E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum64::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types6Enum6416c_to_rust_member17heea28bfccea5de6aE+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::MapIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN85_$LT$libbpf_rs..object..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4f63ae4b1ce91cf1E+0xd): undefined reference to `bpf_object__next_map'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::ProgIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN86_$LT$libbpf_rs..object..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h741fa54e39b1d409E+0xd): undefined reference to `bpf_object__next_program'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::Object as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN67_$LT$libbpf_rs..object..Object$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0976f0ed6b40af08E+0x5): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `libbpf_rs::linker::Linker::link':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN9libbpf_rs6linker6Linker4link17h903461fe0b2a10caE+0xa): undefined reference to `bpf_linker__finalize'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `<libbpf_rs::linker::Linker as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN67_$LT$libbpf_rs..linker..Linker$u20$as$u20$core..ops..drop..Drop$GT$4drop17h90e22eb37f778331E+0x5): undefined reference to `bpf_linker__free'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `scx_flash` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lucjan/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustc5uxai6/symbols.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_bpfland-9a793f1e5f04fd8f/build_script_build-9a793f1e5f04fd8f.build_script_build.1096e908a76dae29-cgu.0.rcgu.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_bpfland-9a793f1e5f04fd8f/build_script_build-9a793f1e5f04fd8f.784au2vd96086s3tk1xtnnn7z.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libhex-83403409742dc010.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwalkdir-a966b7b4ee4ba639.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsame_file-2e62b18347bfce5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbindgen-eed66304f94c14eb.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libprettyplease-6537902aebdc453f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libshlex-2b44e6f7ab58c93b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustc_hash-53813e055a66627d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitertools-7541cf9010e5bca0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libeither-cdc0c0d163a381d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcexpr-c5f8225380f97961.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libnom-92051a1637880c92.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libclang_sys-71ef9c21609ebe5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibloading-3efec2300b22848e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtar-f723ae56290767b8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libxattr-0e5443f4da6a8c40.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfiletime-9bf01a3468aeefa1.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libversion_compare-f67c2f2dae1cf5b2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_stats-3b69943f42d5075f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam-10930b08fedd0e9f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_deque-83224450e6fb2f08.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_channel-f0dee27bbea9500f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_queue-60e9494b1023341b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_epoch-5dac3497c3d6091d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_utils-bac0cdd4cdf74896.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsyn-32327b99d1f1b270.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libquote-d41782b8c0417460.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libproc_macro2-801d4695bd7547ae.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libunicode_ident-ab0d5330ad1b8d0a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6810b1bf165937b3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitvec-b4a928d03b178dc2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwyz-75472d68455b63ac.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtap-0819057555169876.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libradium-30ff086968591daa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfunty-9d56fa9e7fc7c729.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_metadata-4b17405352de0cd8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde_json-1106115853c1beb6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitoa-af47795a905972d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libryu-2e3ee2b53f271de6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libthiserror-e86952b7e4aa267c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_platform-179ba00b71582145.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcamino-252eac5e9982893f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemmap2-ce2f4fdd507d632c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libvsprintf-63a1cf2d02210a96.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibc-14ab5c7cf804952e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_sys-337aa28c98f3edd4.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsemver-d56cb70a7f9e7f89.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde-631f6453132c5a0b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtempfile-0ee80ec883eead3b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfastrand-2ec41802384475ff.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustix-43733b7c25d82c41.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitflags-6c06f902504895fa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblinux_raw_sys-dcaf2c3f74b05155.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcfg_if-e52f337b200154a7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libonce_cell-df44a2712601ec2e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libglob-335775b1c460ecb7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsscanf-380063939aea4f32.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex-c19ef2031348f041.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_automata-797ddac14499b945.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libaho_corasick-46c6fb61c4d2baf6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemchr-b08ba4b14184482c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_syntax-bd34a593e45130d6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblazy_static-8b323a5e2845acfd.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libconst_format-8d4005d3962f47a9.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libanyhow-ef5f2e946ea2857c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblog-6007ff70b5d75fa7.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b0676ecc57f2ddba.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c04a69e932d89c8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-053e17ad0fa1febf.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-22929c0fa06437da.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7736b28c981d9257.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de9c7b5c37df24fd.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ad0072c62f843108.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2d6d30129744b44d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-a1344e56ead8004e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f4bba34233b4ecda.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-61f9beeb6003ca9a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-48bd93e2e47bcf8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-43e2ac90240525c0.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc7626daef30737.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c514d1bb470d716.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4ea7ad2de766f682.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ffdecbae2fbe9bf9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4c44cda8e8779880.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3746f3634cfda487.rlib" "-Wl,-Bdynamic" "-ldl" "-lelf" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/libbpf/src" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/libbpf-sys-6899e817bade3910/out" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/vsprintf-bf544a4dd164b8a7/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_bpfland-9a793f1e5f04fd8f/build_script_build-9a793f1e5f04fd8f" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-lelf" "-lz" "-lzstd"
  = note: /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::MapData::new':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x1f): undefined reference to `bpf_map__name'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0xf1): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x20d): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x218): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x23c): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x250): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::get_raw_map_name':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17ha9c2ab0e32d0e8a1E+0x15): undefined reference to `bpf_map__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_c_skel_constructor':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0xa2): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0x12d): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_types':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen14gen_skel_types17hed4739df82cb2d84E+0x65): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_getters':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_struct_ops_getters17h99df1570f3465d85E+0x15): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_init':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x1b): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x81): undefined reference to `bpf_map__type'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen8gen_skel17hb11588cb9a0165baE+0x3e5): undefined reference to `bpf_object__open_mem'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x33): undefined reference to `bpf_linker__new'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x3f): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker8add_file17heb6f5ae3d4b7da04E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_declaration_impl':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x287): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x334): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x48b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_default':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x167): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x23d): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o):libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12size_of_type17h951483b147e41194E+0x11e): more undefined references to `btf__type_by_id' follow
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.09.rcgu.o): in function `<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next':
          libbpf_cargo.714c56ea3812b765-cgu.09:(.text._ZN106_$LT$core..iter..adapters..GenericShunt$LT$I$C$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h9b3a9fbdd1f2b6c7E+0x33): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::from_bpf_object':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0xf): undefined reference to `bpf_object__btf'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0x24): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::name_at':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf7name_at17h66c63f4d56f516d6E+0x7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::len':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf3len17h625f4543b267768bE+0x7): undefined reference to `btf__type_cnt'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::ptr_size':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf8ptr_size17h38d0cd39edf73208E+0xb): undefined reference to `btf__pointer_size'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `<libbpf_rs::btf::Btf as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x13): undefined reference to `btf__free'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x1e): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::next_type':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x3b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x4e): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::skip_mods_and_typedefs':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x38): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x3f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::alignment':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1b7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1f3): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x254): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x2b5): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x31b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x332): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.04.rcgu.o): in function `libbpf_rs::program::ProgramImpl::name':
          libbpf_rs.7d705f394687631-cgu.04:(.text._ZN9libbpf_rs7program11ProgramImpl4name17hf072d56a7021ba31E+0x6): undefined reference to `bpf_program__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Composite::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types9Composite16c_to_rust_member17hcc640d3ebdaada93E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types4Enum16c_to_rust_member17h6bc6e33170349047E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum64::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types6Enum6416c_to_rust_member17heea28bfccea5de6aE+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::MapIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN85_$LT$libbpf_rs..object..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4f63ae4b1ce91cf1E+0xd): undefined reference to `bpf_object__next_map'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::ProgIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN86_$LT$libbpf_rs..object..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h741fa54e39b1d409E+0xd): undefined reference to `bpf_object__next_program'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::Object as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN67_$LT$libbpf_rs..object..Object$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0976f0ed6b40af08E+0x5): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `libbpf_rs::linker::Linker::link':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN9libbpf_rs6linker6Linker4link17h903461fe0b2a10caE+0xa): undefined reference to `bpf_linker__finalize'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `<libbpf_rs::linker::Linker as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN67_$LT$libbpf_rs..linker..Linker$u20$as$u20$core..ops..drop..Drop$GT$4drop17h90e22eb37f778331E+0x5): undefined reference to `bpf_linker__free'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `scx_bpfland` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/lucjan/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcChlB71/symbols.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_layered-fe2108b4c885a5a3/build_script_build-fe2108b4c885a5a3.build_script_build.90de97cf9bfc5348-cgu.0.rcgu.o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_layered-fe2108b4c885a5a3/build_script_build-fe2108b4c885a5a3.atozl4zynx45vk74l43ak2e7n.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libhex-83403409742dc010.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwalkdir-a966b7b4ee4ba639.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsame_file-2e62b18347bfce5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbindgen-eed66304f94c14eb.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libprettyplease-6537902aebdc453f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libshlex-2b44e6f7ab58c93b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustc_hash-53813e055a66627d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitertools-7541cf9010e5bca0.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libeither-cdc0c0d163a381d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcexpr-c5f8225380f97961.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libnom-92051a1637880c92.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libclang_sys-71ef9c21609ebe5b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibloading-3efec2300b22848e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtar-f723ae56290767b8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libxattr-0e5443f4da6a8c40.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfiletime-9bf01a3468aeefa1.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libversion_compare-f67c2f2dae1cf5b2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_stats-3b69943f42d5075f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam-10930b08fedd0e9f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_deque-83224450e6fb2f08.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_channel-f0dee27bbea9500f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_queue-60e9494b1023341b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_epoch-5dac3497c3d6091d.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcrossbeam_utils-bac0cdd4cdf74896.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsyn-32327b99d1f1b270.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libquote-d41782b8c0417460.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libproc_macro2-801d4695bd7547ae.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libunicode_ident-ab0d5330ad1b8d0a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6810b1bf165937b3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitvec-b4a928d03b178dc2.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libwyz-75472d68455b63ac.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtap-0819057555169876.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libradium-30ff086968591daa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfunty-9d56fa9e7fc7c729.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_metadata-4b17405352de0cd8.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde_json-1106115853c1beb6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libitoa-af47795a905972d3.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libryu-2e3ee2b53f271de6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libthiserror-e86952b7e4aa267c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcargo_platform-179ba00b71582145.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcamino-252eac5e9982893f.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemmap2-ce2f4fdd507d632c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libvsprintf-63a1cf2d02210a96.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibc-14ab5c7cf804952e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_sys-337aa28c98f3edd4.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsemver-d56cb70a7f9e7f89.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libserde-631f6453132c5a0b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libtempfile-0ee80ec883eead3b.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libfastrand-2ec41802384475ff.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/librustix-43733b7c25d82c41.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libbitflags-6c06f902504895fa.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblinux_raw_sys-dcaf2c3f74b05155.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libcfg_if-e52f337b200154a7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libonce_cell-df44a2712601ec2e.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libglob-335775b1c460ecb7.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libsscanf-380063939aea4f32.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex-c19ef2031348f041.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_automata-797ddac14499b945.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libaho_corasick-46c6fb61c4d2baf6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libmemchr-b08ba4b14184482c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libregex_syntax-bd34a593e45130d6.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblazy_static-8b323a5e2845acfd.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libconst_format-8d4005d3962f47a9.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libanyhow-ef5f2e946ea2857c.rlib" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblog-6007ff70b5d75fa7.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b0676ecc57f2ddba.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c04a69e932d89c8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-053e17ad0fa1febf.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-22929c0fa06437da.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7736b28c981d9257.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de9c7b5c37df24fd.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-ad0072c62f843108.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-2d6d30129744b44d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-a1344e56ead8004e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f4bba34233b4ecda.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-61f9beeb6003ca9a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-48bd93e2e47bcf8a.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-43e2ac90240525c0.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc7626daef30737.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c514d1bb470d716.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4ea7ad2de766f682.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-ffdecbae2fbe9bf9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4c44cda8e8779880.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3746f3634cfda487.rlib" "-Wl,-Bdynamic" "-ldl" "-lelf" "-lz" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/libbpf/src" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/libbpf-sys-6899e817bade3910/out" "-L" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/vsprintf-bf544a4dd164b8a7/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/./release/build/scx_layered-fe2108b4c885a5a3/build_script_build-fe2108b4c885a5a3" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-lelf" "-lz" "-lzstd"
  = note: /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib(scx_utils-257bef0ad31fc6f0.scx_utils.1ce37c982ed92d4-cgu.06.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker3new17h5d0f6788ffcb424bE+0x30): undefined reference to `bpf_linker__new'
          /usr/bin/ld: scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker3new17h5d0f6788ffcb424bE+0x3c): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/libscx_utils-257bef0ad31fc6f0.rlib(scx_utils-257bef0ad31fc6f0.scx_utils.1ce37c982ed92d4-cgu.06.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          scx_utils.1ce37c982ed92d4-cgu.06:(.text._ZN9libbpf_rs6linker6Linker8add_file17h81025f5f47ff7f96E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::MapData::new':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x1f): undefined reference to `bpf_map__name'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0xf1): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x20d): undefined reference to `bpf_map__is_internal'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x218): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x23c): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen7MapData3new17h670f7102f5de18d4E+0x250): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::get_raw_map_name':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen16get_raw_map_name17ha9c2ab0e32d0e8a1E+0x15): undefined reference to `bpf_map__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_c_skel_constructor':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0xa2): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_c_skel_constructor17h073ae6dc8f1feabdE+0x12d): undefined reference to `bpf_map__map_flags'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_types':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen14gen_skel_types17hed4739df82cb2d84E+0x65): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_getters':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen27gen_skel_struct_ops_getters17h99df1570f3465d85E+0x15): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel_struct_ops_init':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x1b): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen24gen_skel_struct_ops_init17h3e029e0ee512a92fE+0x81): undefined reference to `bpf_map__type'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.01.rcgu.o): in function `libbpf_cargo::gen::gen_skel':
          libbpf_cargo.714c56ea3812b765-cgu.01:(.text._ZN12libbpf_cargo3gen8gen_skel17hb11588cb9a0165baE+0x3e5): undefined reference to `bpf_object__open_mem'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::new':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x33): undefined reference to `bpf_linker__new'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker3new17h8ef42088f1492ccbE+0x3f): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.13.rcgu.o): in function `libbpf_rs::linker::Linker::add_file':
          libbpf_cargo.714c56ea3812b765-cgu.13:(.text._ZN9libbpf_rs6linker6Linker8add_file17heb6f5ae3d4b7da04E+0x32): undefined reference to `bpf_linker__add_file'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_declaration_impl':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x287): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x334): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf21type_declaration_impl17h0026fc9c7472a2bcE+0x48b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o): in function `libbpf_cargo::gen::btf::type_default':
          libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x167): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12type_default17hf59b89893b1b4edfE+0x23d): undefined reference to `btf__type_by_id'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.00.rcgu.o):libbpf_cargo.714c56ea3812b765-cgu.00:(.text._ZN12libbpf_cargo3gen3btf12size_of_type17h951483b147e41194E+0x11e): more undefined references to `btf__type_by_id' follow
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_cargo-143c91bd8ded3a21.rlib(libbpf_cargo-143c91bd8ded3a21.libbpf_cargo.714c56ea3812b765-cgu.09.rcgu.o): in function `<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next':
          libbpf_cargo.714c56ea3812b765-cgu.09:(.text._ZN106_$LT$core..iter..adapters..GenericShunt$LT$I$C$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h9b3a9fbdd1f2b6c7E+0x33): undefined reference to `bpf_map__autocreate'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::from_bpf_object':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0xf): undefined reference to `bpf_object__btf'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf15from_bpf_object17hc4901f6c0b89d9e4E+0x24): undefined reference to `libbpf_get_error'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::name_at':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf7name_at17h66c63f4d56f516d6E+0x7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::len':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf3len17h625f4543b267768bE+0x7): undefined reference to `btf__type_cnt'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::Btf::ptr_size':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf3Btf8ptr_size17h38d0cd39edf73208E+0xb): undefined reference to `btf__pointer_size'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `<libbpf_rs::btf::Btf as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x13): undefined reference to `btf__free'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN61_$LT$libbpf_rs..btf..Btf$u20$as$u20$core..ops..drop..Drop$GT$4drop17h4404055919ca5747E+0x1e): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::next_type':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x3b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9next_type17hfae50e9e3067f283E+0x4e): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::skip_mods_and_typedefs':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x38): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType22skip_mods_and_typedefs17hb325e951f7897b73E+0x3f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.01.rcgu.o): in function `libbpf_rs::btf::BtfType::alignment':
          libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1b7): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x1f3): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x254): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x2b5): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x31b): undefined reference to `btf__type_by_id'
          /usr/bin/ld: libbpf_rs.7d705f394687631-cgu.01:(.text._ZN9libbpf_rs3btf7BtfType9alignment17ha59b1b5dd533f79dE+0x332): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.04.rcgu.o): in function `libbpf_rs::program::ProgramImpl::name':
          libbpf_rs.7d705f394687631-cgu.04:(.text._ZN9libbpf_rs7program11ProgramImpl4name17hf072d56a7021ba31E+0x6): undefined reference to `bpf_program__name'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Composite::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types9Composite16c_to_rust_member17hcc640d3ebdaada93E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types4Enum16c_to_rust_member17h6bc6e33170349047E+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.10.rcgu.o): in function `libbpf_rs::btf::types::Enum64::c_to_rust_member':
          libbpf_rs.7d705f394687631-cgu.10:(.text._ZN9libbpf_rs3btf5types6Enum6416c_to_rust_member17heea28bfccea5de6aE+0x1f): undefined reference to `btf__name_by_offset'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::MapIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN85_$LT$libbpf_rs..object..MapIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4f63ae4b1ce91cf1E+0xd): undefined reference to `bpf_object__next_map'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::ProgIter as core::iter::traits::iterator::Iterator>::next':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN86_$LT$libbpf_rs..object..ProgIter$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h741fa54e39b1d409E+0xd): undefined reference to `bpf_object__next_program'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.12.rcgu.o): in function `<libbpf_rs::object::Object as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.12:(.text._ZN67_$LT$libbpf_rs..object..Object$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0976f0ed6b40af08E+0x5): undefined reference to `bpf_object__close'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `libbpf_rs::linker::Linker::link':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN9libbpf_rs6linker6Linker4link17h903461fe0b2a10caE+0xa): undefined reference to `bpf_linker__finalize'
          /usr/bin/ld: /home/lucjan/Pracownia/Repo/scx-scheds/scx-scheds-git/src/scx/build/release/deps/liblibbpf_rs-e15f38c706ea3947.rlib(libbpf_rs-e15f38c706ea3947.libbpf_rs.7d705f394687631-cgu.15.rcgu.o): in function `<libbpf_rs::linker::Linker as core::ops::drop::Drop>::drop':
          libbpf_rs.7d705f394687631-cgu.15:(.text._ZN67_$LT$libbpf_rs..linker..Linker$u20$as$u20$core..ops..drop..Drop$GT$4drop17h90e22eb37f778331E+0x5): undefined reference to `bpf_linker__free'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)

error: could not compile `scx_layered` (build script) due to 1 previous error

ninja: build stopped: subcommand failed.

with static libbpf/bpftool.

@JohnRTitor
Copy link
Contributor Author

Yeah I am not sure what's going on, probably related to the missing library index (#1155 (comment)).

Perhaps a more experienced user of Meson could help? (I don't know about meson that much) We need to run ranlib manually on libbpf.a.

CC @etsal @JakeHillion

@zamazan4ik
Copy link
Contributor

Is libbpf.a built with the same compiler as we build the schedulers or is this library precompiled and only linked with SCX? If we are mixing different compilers here - it would be a problem since LTO won't work between GCC and Clang.

I found a similar issue in Meson: mesonbuild/meson#8371 but nothing too useful where to try except changing a linker from ld to something else like gold, lld or mold. Regarding the root cause of the issue - I don't know too :(

@JohnRTitor
Copy link
Contributor Author

In my case, I am fetching a specific commit of libbpf.

scx/meson.build

Line 142 in 382c879

libbpf_commit = 'c5f22aca0f3aa855daa159b2777472b35e721804'

And using Clang as the compiler for all targets.

Could be related to mesonbuild/meson#4138 but that was apparently fixed.

I tried to run ranlib manually but it didn't seem to work. Could you check on your end perhaps?

@zamazan4ik
Copy link
Contributor

Could you check on your end perhaps?

Sure, why not. Could you please send me your exact build commands to reproduce the issue? I'll try to reproduce it in my Fedora-based env and report back the results. Thanks!

@JohnRTitor
Copy link
Contributor Author

I am using Nix (it automatically runs the build commands).

I would say my configure flags are:

-Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Dlibalpm=disabled -Dopenrc=disabled -Dsystemd=disabled -Denable_rust=false -Doffline=true  -Dopenrc=disabled -Dsystemd=disabled -Denable_rust=false -Doffline=true

And Nix build script is mostly following: https://github.com/sched-ext/scx?tab=readme-ov-file#static-linking-against-libbpf-preferred

I am fetching libbpf and bpftool repos, which are built by meson. Log is here: https://pastebin.com/SCDe5e81

@zamazan4ik
Copy link
Contributor

I quickly tried to reproduce your error but got other linking errors about undefined references: https://gist.github.com/zamazan4ik/3b013a6dc51dea1ede8a43e87fd440f0

@JohnRTitor
Copy link
Contributor Author

Humm, errors related to cargo, which couldn't be caught from my side as I had disabled building rust schedulers with -Denable_rust=false

@zamazan4ik
Copy link
Contributor

With meson setup build -Denable_rust=false && meson compile -C build the build finished successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants