John Martin wrote:

> Here's the SPARC command line for malloc.c, although it is a debug
> only build.  I need to run an optimized build.
>
>
> /ws/onnv-tools/SUNWspro/SS11/bin/cc -xO3 -xarch=v8 
> -Wc,-Qassembler-ounrefsym=0


Your DEBUG-BUILDs already optimize for 3?
Aha.
I rarely ever built non-nondebug builds, and therefore never had a 
closer look.

> -xregs=no%appl -K pic -xspace -W0,-Lt -Xa -xildoff -errtags=yes 
> -errwarn=%all
> -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED
> -xc99=%all -Wd,-xsafe=unboundsym -W2,-xwrap_int -W0,-xglobalstatic -v 
> -xinline= -g
> -Wc,-Qiselect-T1 -xc99=%all -W0,-noglobal -xdebugformat=stabs 
> -D_REENTRANT -Dsparc
> -I./inc -I../inc -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO
> -I/export/build0/rugrat/onnv-clone/proto/root_sparc/usr/include -DPIC 
> -D_REENTRANT
> -c -o pics/malloc.o ../port/gen/malloc.c
>
> $ dis sparc/pics/malloc.o | grep %g2
> $


Damn, so what is different with the X11 system libs?
May it have to do with misbehaving code from .S files?
I'm waiting for your next test results  (i.e. non-debug version of 
malloc.c build), then further tests with Xsun and Xorg.
(Currently no disk space on any box, nor the time, to install the 
compilers, run the tests myself.
But nice to see you reporting.)



Reply via email to