Jake Hamby wrote:
I successfully built ON release 20060807 with SS11 (the .tar from OpenSolaris.org) but the latest 
code drop (20060821) is broken again. It seems that there has been some sort of regression since it 
looks like the same errors I remember seeing when I first tried building under SS11 in July. I've 
attached excerpts of the two errors I'm seeing, "ERROR: ctfconvert: file does not contain 
dwarf type data (try compiling with -g)" and "ERROR: ctfmerge: 
../../intel/genunix/debug32/genunix: Reference to invalid type 43325"

I'm building on an AMD64 system with:

cc: Sun C 5.8 Patch 121016-02 2006/03/31
CC: Sun C++ 5.8 Patch 121018-02 2006/04/26

and NIGHTLY_OPTIONS="-NDFnaCdmrt". I should also note that I've set 
CW_NO_SHADOW=y to avoid shadow compilation with gcc. I'll try running a non-debug build 
next to see if it avoids this error.

Jake


server1 --> 2 jobs
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -xarch=amd64 
-Ui386 -U__i386 -O3 ../../intel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  
-Wu,-xmodel=kernel -Wu,-save_ars -v -xildoff  -g -xc99=%none -W0,-noglobal 
-_gcc=-fno-dwarf2-indirect-strings -errtags=yes errwarn=%all -xc99=%all 
-W0,-xglobalstatic  -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF6  
-D_DDI_STRICT -Dsun -D__sun -D__SVR4 -DDEBUG -D_SIMULATOR_SUPPORT -DC2_AUDIT 
-DOPTERON_ERRATUM_88 -DOPTERON_ERRATUM_91 -DOPTERON_ERRATUM_93 
-DOPTERON_ERRATUM_95 -DOPTERON_ERRATUM_100 -DOPTERON_ERRATUM_101 
-DOPTERON_ERRATUM_108 -DOPTERON_ERRATUM_109 -DOPTERON_ERRATUM_121 
-DOPTERON_ERRATUM_122 -DOPTERON_ERRATUM_131 -DOPTERON_WORKAROUND_6336786 
-DOPTERON_WORKAROUND_6323525   -I../../intel -Y I,../../common  
-I/export/testws/usr/src/common -c -o debug64/hat.o ../../common/vm/hat.c
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/ctfconvert -i -L VERSION 
debug64/hat.o
server1 --> Job output
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/cw -_cc -xarch=amd64 
-Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace  
-Wu,-xmodel=kernel -Wu,-save_args -v -xildoff  -g -xc99=%none -W0,-noglobal 
-_gcc=-fno-dwarf2-indirect-strings -errtags=yes -errwarn=%all -xc99=%all 
-W0,-xglobalstatic  -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64  
-D_DDI_STRICT -Dsun -D__sun -D__SVR4 -DDEBUG -D_SIMULATOR_SUPPORT -DC2_AUDIT 
-DOPTERON_ERRATUM_88 -DOPTERON_ERRATUM_91 -DOPTERON_ERRATUM_93 
-DOPTERON_ERRATUM_95 -DOPTERON_ERRATUM_100 -DOPTERON_ERRATUM_101 
-DOPTERON_ERRATUM_108 -DOPTERON_ERRATUM_109 -DOPTERON_ERRATUM_121 
-DOPTERON_ERRATUM_122 -DOPTERON_ERRATUM_131 -DOPTERON_WORKAROUND_6336786 
-DOPTERON_WORKAROUND_6323525   -I../../intel -Y I,../../common  
-I/export/testws/usr/src/common -c -o debug64/hat.o ../../common/vm/hat.c
+ /opt/SUNWspro/bin/cc -xarch=amd64 -Ui386 -U__i386 -xO3 ../../intel/amd64/ml/amd64.il -D_ASM_INLINES -Xa -xspace -Wu,-xmodel=kernel -Wu,-save_args -v -xildoff -g -xc99=%none -W0,-noglobal -errtags=yes -errwarn=%all -xc99=%all -W0,-xglobalstatic -D_KERNEL -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 -D_DDI_STRICT -Dsun -D__sun -D__SVR4 -DDEBUG -D_SIMULATOR_SUPPORT -DC2_AUDIT -DOPTERON_ERRATUM_88 -DOPTERON_ERRATUM_91 -DOPTERON_ERRATUM_93 -DOPTERON_ERRATUM_95 -DOPTERON_ERRATUM_100 -DOPTERON_ERRATUM_101 -DOPTERON_ERRATUM_108 -DOPTERON_ERRATUM_109 -DOPTERON_ERRATUM_121 -DOPTERON_ERRATUM_122 -DOPTERON_ERRATUM_131 -DOPTERON_WORKAROUND_6336786 -DOPTERON_WORKAROUND_6323525 -I../../intel -Y I,../../common -I/export/testws/usr/src/common -c -o debug64/hat.o ../../common/vm/hat.c /export/testws/usr/src/tools/proto/opt/onbld/bin/i386/ctfconvert -i -L VERSION debug64/hat.o
ERROR: ctfconvert: file does not contain dwarf type data (try compiling with -g)

This warning could be because Studio 11 changed the default debug
format.  I'd guess that in the 0807 sources you have this in
Makefile.master:

# Default debug format for Sun Studio 11 is dwarf, so force it to
# generate stabs.
#
DEBUGFORMAT=    -xdebugformat=stabs

which gets added to CTF_FLAGS. But that was undone when ON switched
back to Studio 10 so you probably don't have it in the later
sources.

        Mike
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to