Was this fixed? http://llvm.org/bugs/show_bug.cgi?id=7591. Its status
is still new. I just got some more hints about this bug.
It happened to me when I have both Debug and Release compilation. At
this case, if we do
make ENABLE_OPTIMIZED=1 install
it works fine.
But if we do
make ENABLE_OPTIMIZED=0 install
the error like bug 7591 happens when generating ocamldoc for ocaml bindings.
The problem got fixed if we make ENABLE_OPTIMIZED=1 clean in
./bindings, and then make ENABLE_OPTIMIZED=0 install. But I did not
look into the problem. Hope this helps.