Compiling on solaris with a non gcc compiler does not correctly enable debugging when --enable-debug is specified. src/template/solaris is specifying CFLAGS="-O -v" and -O overrides the -g that --enable-debug adds.
Kris Jurka