Clang 3.8: Solaris 10 build

Good morning,
I got this error right at the end of build process:

[100%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/DwarfLinker.cpp.o
ld: elf error: file …/…/…/…/lib/libclang.so.3.8: elf_getehdr: Memory allocation error: scn descriptors: Not enough space
collect2: error: ld returned 1 exit status
gmake[2]: *** [lib/libclang.so.3.8] Error 1
gmake[1]: *** [tools/clang/tools/libclang/CMakeFiles/libclang.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs…

Any idea how to raise ld’s memory allocation limit on Solaris 10?

Thanks,
Oscar.