Hello,

I have been trying to build (nightly) ON build 79 tree (for x86) with slight 
modifications (added a system call as reported here: 
http://blogs.sun.com/eschrock/entry/how_to_add_a_system).  At first I did a 
debug build; everything went fine.  No errors, no warnings. Did a BFU, 
everything seems to work.  Now I want to build a non-debug build of the same 
tree, and I can't get a successful build.  Something related to Dtrace seems to 
break (see relevant output below).  Did someone see anything similar, or could 
perhaps advise on what could have gone wrong?

The following has already been done:

- downloaded and installed non-debug b79 closed binaries for x86
- "make clean" at the root of the source tree
- modifications in opensolaris.sh: redirected closed binaries and removed -D 
and -F flags from nightly options.

I also made some changes from the default opensolaris.sh before I did the debug 
build (so I had a successful debug build with all these changes):

- removed -l from nightly options (I didn't want to waste time on lint for a 
trivial change or no changes)
- set GATE and CODEMGR_WS as appropriate
- modified maxjobs() to return $ncpu \* 2 instead of $ncpu \* 2 + 2. 
- redirected ON_BLD_BIN to local build tools binaries
- changed STAFFER to my username
- added a custom VERSION description
- commented out BUILD_TOOLS and redirected ON_BLD_TOOLS to local build tools 
and SPRO_ROOT to local Sun Studio 11 binaries

The non-debug build failed as follows: 

(from nightly.log)
...
......
/cs/systems/home/dsa5/Sol_old_ws/usr/src/cmd/dtrace/test/cmd/chkargs/32
install -s -d -m 755 
/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/opt/SUNWdtrt/bin
install -s -d -m 755 
/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/opt/SUNWdtrt/bin/i86
/cs/systems/home/dsa5/Sol_wh/onbld_old/SUNWonbld/reloc/opt/onbld/bin/i386/cw 
-_cc -O  -xspace -Xa  -xildoff -er
rtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT 
-erroff=E_STATEMENT_NOT_REACHED -xc99=%none    -W0,-xg
lobalstatic -DTEXT_DOMAIN=\"SUNW_OST_OSCMD\" -D_TS_ERRNO  
-I/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/us
r/include        
-M/cs/systems/home/dsa5/Sol_old_ws/usr/src/common/mapfiles/common/map.noexstk 
-M/cs/systems/ho
me/dsa5/Sol_old_ws/usr/src/common/mapfiles/i386/map.pagealign 
-M/cs/systems/home/dsa5/Sol_old_ws/usr/src/common
/mapfiles/i386/map.noexdata -o chkargs ../chkargs.c 
-L/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/lib -L/c
s/systems/home/dsa5/Sol_old_ws/proto/root_i386/usr/lib   -ldtrace -lctf
+ /cs/systems/home/dsa5/SS11/SUNWspro/bin/cc -O -xspace -Xa -xildoff 
-errtags=yes -errwarn=%all -erroff=E_EMPTY
_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none 
-W0,-xglobalstatic -DTEXT_DOMAIN="SUNW_OST_OSCMD"
 -D_TS_ERRNO -I/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/usr/include 
-M/cs/systems/home/dsa5/Sol_old_ws/
usr/src/common/mapfiles/common/map.noexstk 
-M/cs/systems/home/dsa5/Sol_old_ws/usr/src/common/mapfiles/i386/map.
pagealign 
-M/cs/systems/home/dsa5/Sol_old_ws/usr/src/common/mapfiles/i386/map.noexdata -o 
chkargs ../chkargs.c
-L/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/lib 
-L/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/usr/l
ib -ldtrace -lctf
/usr/bin/rm -f 
/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/opt/SUNWdtrt/bin/i86/chkargs; 
install -s -m 055
5 -f /cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/opt/SUNWdtrt/bin/i86 
chkargs
/usr/bin/rm -f 
/cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/opt/SUNWdtrt/bin/chkargs; cp 
-p /usr/lib/isaexe
c /cs/systems/home/dsa5/Sol_old_ws/proto/root_i386/opt/SUNWdtrt/bin/chkargs
*** Error code 2
dmake: Warning: Target `install' not remade because of errors
Current working directory 
/cs/systems/home/dsa5/Sol_old_ws/usr/src/cmd/dtrace/test/cmd/chkargs/32
*** Error code 1
The following command caused the error:
cd 32; pwd; dmake install
......
...

Then the same thing happened in usr/src/cmd/dtrace/test/cmd/chkargs/64, and 
then the error started propagating to outer script commands (i.e.: "dmake: 
Warning: Target `install' not remade because of errors" at various levels, plus 
"Command failed for target `dtrace'"). 

Any help would be greatly appreciated.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to