Solaris 11 (i386) build fails

I am getting such message:
llvm[3]: Linking Release Loadable Module LLVMHello.so
/opt/local/bin/ld: anonymous version tag cannot be combined with other version tags
collect2: ld returned 1 exit status

ld version is 2.21 (GNU)

What might be a problem?

Yuri

OpenSolaris has GNU ld installed but gcc uses Sun's ld iirc.

Andreas