Thank you! The workaround is working for me. Another option that helped is to change tool collection from default SunStudio to SunStudio_12.1. When I do that, "-xannotate=no" isn't needed.
This is a bit off-topic, but since I am new to developing on OpenSolaris, could you point me to some website with list of compiler options or a basic tutorial? -- This message posted from opensolaris.org
