Closed wolicodes closed 2 years ago
This sounds more like an issue with your build environment. Can you give me information about what distro you are using under WSL.
It's Ubuntu, here are the versions of the different software:
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
rustc 1.57.0
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Alright so I'm thinking -flto
with clang
is causing problems for your specific build environment. You should edit the first line of the Makefile
and remove that flag, and optionally switch to using gcc
instead of clang
.
It was indeed the -flto
option, works now even when compiling with clang
.
Thanks :)
Hello, here's the error: