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)
Removing debug64/hat.o
*** Error code 1
dmake: Warning: Command failed for target `debug64/hat.o'
Current working directory /export/testws/usr/src/uts/intel/genunix
/usr/ccs/bin/ld -dy -b -o debug32/unix -e _start -I misc/krtld -M
../../i86pc/conf/Mapfile \
./debug32/unix.o ./debug32/modstubs.o -L ../../intel/genunix/debug32 -l
genunix debug32/
ibdtracestubs.so
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/ctfmerge -L VERSION -d
../../intel/gen
unix/debug32/genunix -o debug32/unix debug32/locore.o
debug32/fast_trap_asm.o
debug32/interrupt.o debug32/syscall_asm.o
debug32/muldiv.o deb
ug32/beeper.o debug32/biosdisk.o debug32/cbe.o
deb
ug32/cmi.o debug32/confunix.o
debug32/cpuid.o
debug32/dis_tables.o debug32/ddi_impl.o
debug32/dtr
ace_subr.o debug32/dvma.o debug32/graphics.o
deb
ug32/hat_i86.o debug32/hat_kdi.o debug32/hment.o
debug32/hrtimers.o debug32/htable.o
debug32/instr_size.
o debug32/intr.o debug32/lgrpplat.o
debug32/mac
h_i86mmu.o debug32/mach_kdi.o
debug32/mach_sysconfig.o deb
ug32/machdep.o debug32/mem_config_stubs.o debug32/memnode.o
deb
ug32/mlsetup.o debug32/mp_call.o debug32/mp_implfuncs.o
deb
ug32/mp_machdep.o debug32/mp_startup.o
debug32/memscrub.o
debug32/mpcore.o debug32/notes.o
debug32/pci
_bios.o debug32/pci_cfgspace.o debug32/pci_mech1.o
debug32/pci
_mech2.o debug32/pci_neptune.o debug32/pci_orion.o
deb
ug32/pmem.o debug32/ppage.o
debug32/startup.o
debug32/timestamp.o debug32/trap.o
debug32/vm_
machdep.o debug32/x_call.o debug32/smb_error.o
debug32/smb_info.o debug32/smb
_open.o debug32/smb_subr.o debug32/smb_dev.o debug32/copy.o
debug32/copy_subr.o
debug32/cpc_subr.o debug32/ddi_arch.o debug32/ddi_i86.o
debug32/ddi
_i86_asm.o debug32/desctbls.o debug32/desctbls_asm.o
debug32/exception.o deb
ug32/float.o debug32/fpu.o debug32/i86_subr.o
debug32/lwp_private
.o debug32/lock_prim.o debug32/ovbcopy.o debug32/polled_io.o
debug32/sse
blk.o debug32/sundep.o debug32/swtch.o
debug32/sysi86.o debug32/pr
machdep.o debug32/atomic.o debug32/bp_map.o debug32/chip.o
debug32/cpu
.o debug32/cpu_intr.o debug32/cpupart.o debug32/disp.o
deb
ug32/kstat_fr.o debug32/lgrp.o debug32/lgrp_topo.o
debug32/mutex.o
debug32/page_lock.o debug32/page_retire.o debug32/panic.o
deb
ug32/param.o debug32/putnext.o debug32/rctl_proc.o
debug32/rwlock.o
debug32/seg_kmem.o debug32/thread_intr.o debug32/vm_page.o
debug32/vm_
pagelist.o debug32/avintr.o debug32/pit.o debug32/pic.o
debug32/har
dclk.o debug32/i8254.o debug32/vers.o
ERROR: ctfmerge: ../../intel/genunix/debug32/genunix: Reference to invalid type
43325
Removing debug32/unix
*** Error code 1
The following command caused the error:
label="-L VERSION" ; if [ -z "#" ] ; then uniq="-D BASE" ; set --
`/export/testws/usr/src
/tools/proto/opt/onbld/bin/ctffindmod -n -r -t debug32/unix` ; if [ "X$1" !=
"X-" ] ; then
label="-l $1" ; if [ "$2" != "fcs" ] ; then uniq="-D $2" ; fi ; fi ; fi
; mergecmd="
/export/testws/usr/src/tools/proto/opt/onbld/bin/i386/ctfmerge " ;
cmd="$mergecmd $label -d
../../intel/genunix/debug32/genunix $uniq -o debug32/unix" ; echo $cmd
"debug32/locore.o
debug32/fast_trap_asm.o debug32/interrupt.o
debug32/syscall_asm.o debug32/muldiv.o debug32/beeper.o
debug32/biosdisk.o
debug32/cbe.o debug32/cmi.o
debug32/confunix.o
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code