-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
usage.md mentions that the JIT mode requires certain dynamic libraries, but it doesn't specify which ones or how to set them up.
Trying to run jit/lazy-jit results in a bunch of linker errors for me.
The error messages refer to libc items.
= note: ld.lld: error: /home/theduke/dev/github.com/bjorn3/rustc_codegen_cranelift/build/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-64ad50e1415b1d9b.so: undefined reference to stat64@GLIBC_2.33 [--no-allow-shlib-undefined]
ld.lld: error: /home/theduke/dev/github.com/bjorn3/rustc_codegen_cranelift/build/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-64ad50e1415b1d9b.so: undefined reference to fstat64@GLIBC_2.33 [--no-allow-shlib-undefined]
ld.lld: error: /home/theduke/dev/github.com/bjorn3/rustc_codegen_cranelift/build/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-64ad50e1415b1d9b.so: undefined reference to lstat64@GLIBC_2.33 [--no-allow-shlib-undefined]
ld.lld: error: /home/theduke/dev/github.com/bjorn3/rustc_codegen_cranelift/build/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-64ad50e1415b1d9b.so: undefined reference to fstatat64@GLIBC_2.33 [--no-allow-shlib-undefined]
collect2: error: ld returned 1 exit status
Metadata
Metadata
Assignees
Labels
No labels