On 14/03/10 10:56 PM, Aubrey Li wrote: > Hi, > > Is ON gate ready to be built by sunstudio12u1?
No, not yet - we only use the SS12u1 _lint_ at this point. > I tried to replace sunstudio12 by sunstudio12u1 and nightly reported a > bunch of error. > I selected one below: > ===================================== > /opt/SUNWspro/bin/cc -O -K PIC -xspace -Xa -xildoff -errtags=yes > -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT > -erroff=E_STATEMENT_NOT_REACHED -erroff=E_UNRECOGNIZED_PRAGMA_IGNORED > -erroff=E_INTEGER_OVERFLOW_DETECTED -erroff=E_INIT_DOES_NOT_FIT > -xc99=%all -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -W0,-xglobalstatic > -v -xcsi -xstrconst -g -xc99=%all -D_XOPEN_SOURCE=600 > -D__EXTENSIONS__=1 -W0,-noglobal -xdebugformat=dwarf > -DTEXT_DOMAIN="SUNW_OST_OSLIB" -D_TS_ERRNO -DHOSTTYPE="sol11.i386" > -Isrc/lib/libast -I../common -I../common/comp -I../common/include > -I../common/std -I../common/dir -I../common/port -I../common/sfio > -I../common/astsa -I../common/misc -I../common/string -Iinclude/ast > -I/export/home/aubrey/work/onnv-b134/proto/root_i386/usr/include > -DCONF_LIBSUFFIX=".so" -DCONF_LIBPREFIX="lib" -DERROR_CATALOG="libast" > -D__OBSOLETE__=20090101 -D_BLD_ast -D_PACKAGE_ast -D_BLD_DLL -DPIC > -D_REENTRANT -c -o pics/common/comp/setlocale.o > ../common/comp/setlocale.c > "../common/comp/setlocale.c", line 767: initializer will be > sign-extended: -2147483648 (E_INIT_SIGN_EXTEND) > ===================================== > > The cc version is as follows: > ===================================== > aubrey at wsmep:~/work/onnv-b134/usr/src/lib/libast$ which cc > /opt/SUNWspro/bin/cc > aubrey at wsmep:~/work/onnv-b134/usr/src/lib/libast$ cc -Version > cc: Sun C 5.10 SunOS_i386 2009/06/03 > usage: cc [ options] files. Use 'cc -flags' for details > ===================================== > > If I switched back to sunstudio12, everything works fine. If you stick with SS12+patches, then you will be building with the same compiler that we use for the gate. This is of benefit to you because it helps ensure that we are all using a common build environment for onnv. cheers, James C. McPherson -- Senior Software Engineer, Solaris Sun Microsystems http://www.jmcp.homeunix.com/blog