KeyDB
KeyDB copied to clipboard
Build with clang failed adlist.o: file not recognized: file format not recognized
Clang 16 KeyDB lastest CC=clang CFLAGS="-static" make MALLOC=libc adlist.o: file not recognized: file format not recognized
did you run make distclean first to ensure adlist.o was compiled with the same compiler?
did you run make distclean first to ensure adlist.o was compiled with the same compiler?
yes before compiler run with make distclean
did you run make distclean first to ensure adlist.o was compiled with the same compiler?
CC=clang CXX=clang++ CFLAGS="-static" LDFLAGS="-static" make can't work with keydb but redis well
I believe you need to add CXXFLAGS="-static"