Crash report while compiling redis with standalone clang I got this
End of search list.
LINK redis-server
/usr/bin/ld: -f may not be used without -shared
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:345: redis-server] Error 1
make[1]: Leaving directory '/tmp/redis-stable/src'
make: *** [Makefile:6: all] Error 2
Additional information
- OS distribution and version ubuntu 20.04,
- Steps to reproduce (if any)
- I first compiled llvm and clang 10,
- then I clone redis, and I type the following command to compile redis using this clang
CC="path/to/llvm/bin/clang" CFLAGS="-v" make
Comment From: yossigo
I can confirm that clang-10 on Ubuntu 20.04 does compile Redis properly. @Nivekiba If you've built your own LLVM, something might be wrong/unusual with your environment.
Comment From: Nivekiba
Ok.
Comment From: Nivekiba
Thanks for the answer.. i'm going to look in the side of my llvm environment