Sun Studio 12 Update 1: C++ User's Guide

Warnings

Do not use -xnolib with -xlang.

If you are mixing parallel Fortran objects with C++ objects, the link line must specify the -mt flag.