cannot compile 3.2, ScalarEvolutionTest fails to link

I am trying to build 3.2 and get this error:

make[2]: Leaving directory `/home/opt/llvm-3.2.src/unittests/ADT'
/home/opt/llvm-3.2.src/unittests/Analysis/Release+Asserts/ScalarEvolutionTest.o:
In function `llvm::(anonymous
namespace)::ScalarEvolutionsTest_SCEVMultiplyAddRecs_Test::TestBody()':
ScalarEvolutionTest.cpp:(.text+0x1408): undefined reference to
`llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()'
ScalarEvolutionTest.cpp:(.text+0x14fa): undefined reference to
`llvm::LoopBase<llvm::BasicBlock, llvm::Loop>::~LoopBase()'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

I compile with these options:

export REQUIRES_RTTI=1
export REQUIRES_EH=1
./configure --prefix=/opt/llvm/install --enable-optimized
--enable-shared --enable-libffi --enable-assertions
make

gcc --version

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

I was able to compile 3.1 previously.