Solaris 11 (i386) build fails

I am getting such message:
llvm[3]: Linking Release Loadable Module
/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?


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