Compile GNU Coreutils using Clang + LLVM 3.4

Hello list,

Does anyone successfully compile GNU coreutils using clang + llvm 3.4?

I firstly did these:

export CC="/usr/bin/clang"
export CXX="/usr/bin/clang++"

Then

./configure

make -j4

make check

To my surprise, make check failed with multiple errors.

I tried coreutils 8.15 and coreutils 8.23, they all failed in the above process.

I am wondering if anyone successfully compiled coreutils with llvm? Could anyone give me help on that?

Sincerely,

Shuai