I'm now trying to rebuild the entire project with -g (http://docs.sun.com/app/docs/doc/820-7599/bkase?a=view) to be able to look at the various crashes. It turns out that the usually picky Sun Studio gets even pickier with that flag and often fails.
So far the problems I encountered were: 1. FOSSexiv2 - fails with ... pkgbuild: Undefined first referenced pkgbuild: symbol in file pkgbuild: Exiv2::array ./.libs/libexiv2.so Workaround: none, remove -g for this one 2. KDElibs - fails at the configure phase, reported as https://bugs.kde.org/show_bug.cgi?id=204993. Also segfaults due to http://bugs.sun.com/view_bug.do?bug_id=6865312 / http://defect.opensolaris.org/bz/show_bug.cgi?id=9720 Workaround: modify KDElibs.spec to read %define CXXFLAGS %CPPFLAGS_CXX %_TARGET_ARCH %_CXX_COMMON -L%{foss_qt4_lib} -lQtCore -lQtNetwork -xannotate=no 3. KDEpimlibs - fails with '"/usr/include/gpg-error.h", line 284: Error: Multiple declaration for GPG_ERR_INV_PASSPHRASE.' Workaround: none, remove -g for this one currently discussed at http://forums.sun.com/thread.jspa?threadID=5404636&tstart=0 4. KDEbase-workspace - fails with ... pkgbuild: Linking CXX executable kwin pkgbuild: Undefined first referenced pkgbuild: symbol in file pkgbuild: QScriptValue::~QScriptValue() /opt/kde4/lib/libplasma.so.3.0.0 pkgbuild: QScriptValue::QScriptValue() /opt/kde4/lib/libplasma.so.3.0.0 pkgbuild: ld: fatal: symbol referencing errors. No output written to kwin Workaround - modify include/kde-common.spec to read linker_common="-L%{_foss_prefix}/lib -R%{_foss_prefix}/lib $iconv -lstdcxx -L/usr/lib -R/usr/lib -lxml2 -lrt -lsocket -L/usr/X11/lib -R/usr/X11/lib -L%{foss_qt4_lib} -lQtScript" -- This message posted from opensolaris.org
