redis latest version clang 16 os Manjaro/Fedora38 complie with CC=clang CXX=clang++ CFLAGS="-static" LDFLAGS="-static" USE_SYSTEMD=yes MALLOC=jemalloc make or CC=gcc CXX=g++ CFLAGS="-static -static-libgcc -static-libstdc++" LDFLAGS="-static -static-libgcc -static-libstdc++" USE_SYSTEMD=yes MALLOC=jemalloc make

fedora error

manjaro error Redis build failed with CFLAGS=

Comment From: yossigo

@KnightBlood The problem doesn't seem to be related to specific operating systems/compilers but to your tweaks to compiler and linker flags.