The waf build use an alias technic for library that can be used by more than 1 component with different name.
The current aliasing mode didn't work with solaris+sun studio as the compiler wants to have input object files, it refuses to create libraries if you don't specify a file on the command line.
It will also affect any library that has no source file (ie. samba-socket) or binaries (ie. smbtorture).
It seems that specifing - as a file on the command line do the trick now the hardest part is to figure out how to tell waf to specify it.
Has been fixed by tridge.