Error building clang

Hi all,

Following my previous message about attempting to build a self-hosted version on clang / llvm, I've hit a problem with the compilation. With a clean source tree (from the trunk), and a working build with gcc (gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)), compilation of clang with clang is failing at the link step:

llvm[4]: Linking Release executable clang (without symbols)
ld: in /Users/jamesjackson/Documents/LLVM/build/Release/lib/libclangParse.a(ParseObjc.o), in section __TEXT,__text reloc 479: local relocation for address 0x00005FAE in section __text does not target section __const
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is with MacOS 10.6.8. My niavie build strategy is to have the gcc-built versions of the llvm / clang suite visible in the path, such that configure will pick them up. I get the same result setting CC and CXX by hand.

Can anybody shed any light on this?

Many thanks,
James.