llvm 3.4.2 build error on RHEL 6

I’m the maintainer of llvm in the EPEL for RHEL 6 and I’m trying to update to 3.4.2, but I ran into the following error during the build:

In file included from /home/dlj/rpmbuild/BUILD/llvm-3.4.2.src/projects/compiler-rt/lib/asan/asan_interceptors.cc:157:
/home/dlj/rpmbuild/BUILD/llvm-3.4.2.src/projects/compiler-rt/lib/asan/…/sanitizer_common/sanitizer_common_interceptors.inc:219: error: reference to ‘OFF_T’ is ambiguous
/home/dlj/rpmbuild/BUILD/llvm-3.4.2.src/projects/compiler-rt/lib/asan/…/interception/interception.h:30: error: candidates are: typedef __sanitizer::OFF_T OFF_T
/home/dlj/rpmbuild/BUILD/llvm-3.4.2.src/projects/compiler-rt/lib/asan/…/sanitizer_common/sanitizer_internal_defs.h:85: error: typedef __sanitizer::uptr __sanitizer::OFF_T

Is there something that I need to change in the configuration? Or is this an issue that slipped in to 3.4.2?

Thanks,
Dave

Nevermind about that issue. I had been playing around with using CMake instead of Autoconf to resolve an issue with some of the clang shared libraries not being generated and that was what was causing this issue. So I’d actually like some help with trying to resolve that.

For example, libclangFrontEnd.a is built ( http://pkgs.org/centos-6/epel-x86_64/llvm-static-3.4-10.el6.x86_64.rpm.html#files ) but libclangFrontEnd.so isn’t ( http://pkgs.org/centos-6/epel-x86_64/clang-3.4-10.el6.x86_64.rpm.html#files ). Is this a configuration problem? Or any ideas on what I can do to fix this?

Thanks,
Dave