solaris: First light

Add i386 patches against solaris gcc.