I added some fields to my offsets.il file and am now getting:

/opt/onbld/bin/genoffsets -s /opt/onbld/bin/s390x/ctfstabs -r 
/opt/onbld/bin/s390x/ctfconvert  /opt/onbld/bin/s390x/cw -_gcc -xarch=z990 
-_noecho  -W0,-xdbggen=no%usedonly    -xO3 ../../zSeries/ml/s390x.il 
-D_ASM_INLINES -Xa   -_gcc=-ffreestanding -v -xildoff  -g  -xO0 -xc99=%none 
-W0,-noglobal -xdebugformat=stabs  -xc99=%all -W0,-xglobalstatic  -D_KERNEL  
-D_ELF64  -D_DDI_STRICT -Dsun -D__sun -D__SVR4 -Ds390x -D_MACHDEP  -DDEBUG   
-DC2_AUDIT   -I../../s390x -I../../zSeries -I../ -I./debug64 -Y I,../../common 
-D__s390x -U_BIG_ENDIAG -g  -xO0 -xc99=%none -W0,-noglobal -xdebugformat=stabs 
<../../s390x/ml/offsets.in >debug64/assym.h
ctfstabs: Line 184: Couldn't find member named cpu_stats
ctfstabs: Line 184: Error found: skipping to the next blank line

That section of the .in file looks like:
cpu     CPUSIZE
        cpu_id
        cpu_flags
        cpu_thread
        cpu_thread_lock
        cpu_kprunrun
        cpu_lwp
        cpu_fpowner
        cpu_idle_thread
        cpu_intr_thread
        cpu_intr_actv
        cpu_base_spl
        cpu_intr_stack
        cpu_stats.sys.cpumigrate        CPU_STATS_SYS_CPUMIGRATE

It's at this last line where it spits it. Even if I replace the line with 

cpu_stats   CPU_STATS

in an attempt to get an offset to that structure it fails with the same 
message. sys/sysinfo.h is being included by cpuvar.h so that cpu_stats_t type 
is being defined. 

Neale
 
 
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