On Fri, Mar 17, 2006 at 11:15:40PM +0100, Roland Mainz wrote:

> Is there any RFE yet which asks to compile the whole kernel+tools with
> "-xstrconst -xbuiltin=%all" to improve the footprint a little bit for
> Sun Forte/Workshop/Studio builds (I've checked the bug database but
> couldn't find anything matching... ;-( ) ? gcc already does the same by
> default (without setting any flags) so it may be worth to do the same
> for the Sun Forte/Workshop/Studio compiler, too...

Note that when building ON with gcc, we use -fno-builtin.  I would be
very interested in seeing your results with ON built with -xstrconst;
this is a correctness issue as well as footprint, and in fact gcc has
no effective way to turn *off* -xstrconst.  The RFE should probably be
to make -xstrconst the default in the compiler.  We've come across
several programs that expect to be able to write into string
constants, though, and while we've fixed most of these, no test suite
we have covers all of ON.

-- 
Keith M Wesolowski              "Sir, we're surrounded!" 
Solaris Kernel Team             "Excellent; we can attack in any direction!" 
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to