ls doesn't like -xstrconst
cmd - userland programs
When ls is compiled with -xstrconst on SS12.1, color support causes it to segfault.
This is due to all string literals being treated as const char * in that situation.
Simple solution is to change source:usr/src/cmd/ls/ls.c#L3045 from:
static char default_colorstr* =...
static char colorstr = ...