Sun Studio probably relies on the behaviour 3616 removed
This is a bit of a guess, because I haven't debugged it yet.
Recently, ZFS added inline functions in header files, which means that libzpool (for eg) makes use of COMDAT to make sure only one out-of-line definition survives.
This breaks, when Studio is the primary compiler. It looks like that Studio wants us to process both name-based and GROUP comdat, whereas doing so with GCC is problematic.
Perhaps we should sniff the key symbol name for a known "COMDAT-y" name, (.section%symbol), and run both if it matches?
Perhaps I'm an idiot.
Perhaps we should just despair.