ppc64 compile failures and make check failure

Paul Nasrat pnasrat@redhat.com
Thu May 11 20:28:00 GMT 2006


I'm running on rawhide on ppc64 and wanted to try out systemtap I'm
having some issues building:

probe module("iscsi*").function("*fileio*") {
    printf("%s\n", print_backtrace())
}

Pass 4: compilation failed.  Try again with more '-v' (verbose) options

stap -p2 and p3 seem fine

uname -r
2.6.16-1.2200_FC6

rpm -q gcc binutils systemtap kernel-debuginfo kernel
gcc-4.1.0-14.ppc
binutils-2.17.50.0.1-1.ppc
systemtap-0.5.5-2.ppc
kernel-debuginfo-2.6.16-1.2200_FC6.ppc64
kernel-2.6.16-1.2111_FC5.ppc64
kernel-2.6.16-1.2200_FC6.ppc64
kernel-devel-2.6.16-1.2111_FC5.ppc
kernel-devel-2.6.16-1.2111_FC5.ppc64
kernel-devel-2.6.16-1.2200_FC6.ppc64
kernel-devel-2.6.16-1.2200_FC6.ppc

Attached is the transcript of the build, the temporary files.  I also
tried building systemtap from CVS but hit some failures, the testreports
are also attached.

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stap-output.tar.gz
Type: application/x-compressed-tar
Size: 262731 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20060511/6f21c6a6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemtap-20060511-CVS.tar.gz
Type: application/x-compressed-tar
Size: 1952 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20060511/6f21c6a6/attachment-0001.bin>
-------------- next part --------------
Script started on Thu 11 May 2006 07:13:38 PM EDT
Created temporary directory "/tmp/stapvhHabT"
Searched '/usr/share/systemtap/tapset/2.6.16-1.2111_FC5/ppc64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.16-1.2111_FC5/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.16/ppc64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.16/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/ppc64/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/ppc64/*.stp', match count 1
Searched '/usr/share/systemtap/tapset/*.stp', match count 14
Pass 1: parsed user script and 15 library script(s) in 150usr/0sys/286real ms.
parsed '*fileio*' -> func '*fileio*'
pattern 'iscsi*' matches module 'iscsi_trgt'
focused on module 'iscsi_trgt' = [d0000000001e0000-d0000000001fc8d8, bias 0]
pattern '*fileio*' matches function 'fileio_attach'
selected function fileio_attach
pattern '*fileio*' matches function 'fileio_detach'
selected function fileio_detach
pattern '*fileio*' matches function 'fileio_make_request'
selected function fileio_make_request
pattern '*fileio*' matches function 'fileio_show'
selected function fileio_show
pattern '*fileio*' matches function 'fileio_sync'
selected function fileio_sync
finding prologue for 'fileio_detach' entrypc=0xd0000000001e8e40 highpc=0xd0000000001e8eb4
finding prologue for 'fileio_sync' entrypc=0xd0000000001e8eb4 highpc=0xd0000000001e8f50
finding prologue for 'fileio_make_request' entrypc=0xd0000000001e8f50 highpc=0xd0000000001e915c
prologue disagreement: fileio_make_request heur0=d0000000001e8f80 heur1=d0000000001e8f88
finding prologue for 'fileio_attach' entrypc=0xd0000000001e915c highpc=0xd0000000001e9500
prologue disagreement: fileio_attach heur0=d0000000001e9184 heur1=d0000000001e918c
finding prologue for 'fileio_show' entrypc=0xd0000000001e9500 highpc=0xd0000000001e9548
probe fileio_detach@/usr/src/redhat/BUILD/r1266/kernel/file-io.c:204 pc=0xd0000000001e8e58
probe fileio_sync@/usr/src/redhat/BUILD/r1266/kernel/file-io.c:73 pc=0xd0000000001e8ed4
probe fileio_make_request@/usr/src/redhat/BUILD/r1266/kernel/file-io.c:21 pc=0xd0000000001e8f88
probe fileio_attach@/usr/src/redhat/BUILD/r1266/kernel/file-io.c:215 pc=0xd0000000001e918c
probe fileio_show@/usr/src/redhat/BUILD/r1266/kernel/file-io.c:257 pc=0xd0000000001e9514
Eliding unused function print_regs
Eliding unused function backtrace
Eliding unused function execname
Eliding unused function pid
Eliding unused function tid
Eliding unused function ppid
Eliding unused function pexecname
Eliding unused function gid
Eliding unused function egid
Eliding unused function uid
Eliding unused function euid
Eliding unused function cpuid
Eliding unused function cpu
Eliding unused function print_stack
Eliding unused function pp
Eliding unused function is_return
Eliding unused function target
Eliding unused function returnval
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 global(s) in 20usr/0sys/30real ms.
Probe #0 locks nothing
Running grep " [tT] " /proc/kallsyms | sort -k 1,8 -s -o /tmp/stapvhHabT/symbols.sorted
Pass 3: translated to C into "/tmp/stapvhHabT/stap_8860.c" in 110usr/40sys/169real ms.
Running make -C "/lib/modules/2.6.16-1.2111_FC5/build" M="/tmp/stapvhHabT" modules V=1
make: Entering directory `/usr/src/kernels/2.6.16-1.2111_FC5-ppc64'
mkdir -p /tmp/stapvhHabT/.tmp_versions
make -f scripts/Makefile.build obj=/tmp/stapvhHabT
  gcc -m64 -Wp,-MD,/tmp/stapvhHabT/.stap_8860.o.d  -nostdinc -isystem /usr/lib/gcc/ppc64-redhat-linux/4.1.0/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os     -fomit-frame-pointer -g -msoft-float -pipe -mminimal-toc -mtraceback=none  -mcall-aixdesc -mtune=power4 -mno-altivec -funit-at-a-time -mstring -Wa,-maltivec -Wdeclaration-after-statement -Wno-pointer-sign -Wno-unused -Werror -I "/usr/share/systemtap/runtime"   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(stap_8860)"  -D"KBUILD_MODNAME=KBUILD_STR(stap_8860)" -c -o /tmp/stapvhHabT/.tmp_stap_8860.o /tmp/stapvhHabT/stap_8860.c
/tmp/stapvhHabT/stap_8860.c:226: error: array type has incomplete element type
/tmp/stapvhHabT/stap_8860.c:227: error: field name not in record or union initializer
/tmp/stapvhHabT/stap_8860.c:227: error: (near initialization for 'dwarf_kprobe_0')
/tmp/stapvhHabT/stap_8860.c:228: error: field name not in record or union initializer
/tmp/stapvhHabT/stap_8860.c:228: error: (near initialization for 'dwarf_kprobe_0')
/tmp/stapvhHabT/stap_8860.c:229: error: field name not in record or union initializer
/tmp/stapvhHabT/stap_8860.c:229: error: (near initialization for 'dwarf_kprobe_0')
/tmp/stapvhHabT/stap_8860.c:230: error: field name not in record or union initializer
/tmp/stapvhHabT/stap_8860.c:230: error: (near initialization for 'dwarf_kprobe_0')
/tmp/stapvhHabT/stap_8860.c:231: error: field name not in record or union initializer
/tmp/stapvhHabT/stap_8860.c:231: error: (near initialization for 'dwarf_kprobe_0')
make[1]: *** [/tmp/stapvhHabT/stap_8860.o] Error 1
make: *** [_module_/tmp/stapvhHabT] Error 2
make: Leaving directory `/usr/src/kernels/2.6.16-1.2111_FC5-ppc64'
Pass 4: compiled C into "stap_8860.ko" in 740usr/140sys/882real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Keeping temporary directory "/tmp/stapvhHabT"
Script done on Thu 11 May 2006 07:13:45 PM EDT


More information about the Systemtap mailing list