This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: systemtap testsuite summary report - s390x
Hi Mark,
I have attached inlinedvars.s
Mark Wielaard wrote:
Hi Maran,
On Tue, 2009-08-25 at 16:44 +0530, Maran wrote:
So this is a really old toolchain (gcc 4.1?) but very recent kernel,
systemtap and elfutils.
FAIL: compiling inlinedvars.c -O0
FAIL: compiling inlinedvars.c -O1
FAIL: compiling inlinedvars.c -O2
FAIL: compiling inlinedvars.c -O3
They should at least compile :{ Could you post the relevant
testsuite/systemtap.log output for these failures?
testsuite/systemtap.log excerpt for the above failures
Running
/root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/systemtap.base/inlinedvars.exp
...
Executing on host: gcc
/root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/systemtap.base/inlinedvars.c
-g -O0 -lm -o inlinedvars.exe (timeout = 300)
/tmp/cckvNtVq.s: Assembler messages:
/tmp/cckvNtVq.s:185: Error: missing operand
compiler exited with status 1
output is:
/tmp/cckvNtVq.s: Assembler messages:
/tmp/cckvNtVq.s:185: Error: missing operand
Could you send me the .s file?
$ gcc testsuite/systemtap.base/inlinedvars.c -g -O0 -lm -S -o inlinedvars.s
.file "inlinedvars.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.section .rodata
.align 2
.LC0:
.string "main"
.text
.align 4
.globl main
.type main, @function
main:
.LFB5:
.file 1 "testsuite/systemtap.base/inlinedvars.c"
.loc 1 39 0
stmg %r11,%r15,88(%r15)
.LCFI0:
aghi %r15,-192
.LCFI1:
lgr %r11,%r15
.LCFI2:
lgr %r1,%r2
stg %r3,160(%r11)
st %r1,172(%r11)
.loc 1 40 0
lhi %r1,64
st %r1,188(%r11)
.loc 1 41 0
lghi %r1,42
stg %r1,176(%r11)
.loc 1 42 0
l %r1,188(%r11)
lg %r3,176(%r11)
lgfr %r1,%r1
lgr %r2,%r1
brasl %r14,call
.loc 1 43 0
l %r1,188(%r11)
lg %r3,176(%r11)
lgfr %r1,%r1
lgr %r2,%r1
brasl %r14,call2
.loc 1 44 0
l %r1,188(%r11)
lg %r4,176(%r11)
lgfr %r1,%r1
larl %r2,.LC0
lgr %r3,%r1
brasl %r14,m
.loc 1 45 0
lhi %r1,0
lgfr %r1,%r1
.loc 1 46 0
lgr %r2,%r1
lg %r4,304(%r11)
lmg %r11,%r15,280(%r11)
br %r4
.LFE5:
.size main, .-main
.section .rodata
.align 2
.LC1:
.string "call"
.text
.align 4
.type call, @function
call:
.LFB3:
.loc 1 23 0
stmg %r11,%r15,88(%r15)
.LCFI3:
aghi %r15,-184
.LCFI4:
lgr %r11,%r15
.LCFI5:
lgr %r1,%r2
stg %r3,160(%r11)
st %r1,172(%r11)
.loc 1 24 0
l %r1,172(%r11)
ahi %r1,-42
st %r1,180(%r11)
.loc 1 25 0
lg %r1,160(%r11)
ahi %r1,42
st %r1,176(%r11)
.loc 1 26 0
l %r2,180(%r11)
l %r1,176(%r11)
lgfr %r4,%r1
lgfr %r1,%r2
larl %r2,.LC1
lgr %r3,%r1
brasl %r14,m
lgr %r1,%r2
lgfr %r1,%r1
.loc 1 27 0
lgr %r2,%r1
lg %r4,296(%r11)
lmg %r11,%r15,272(%r11)
br %r4
.LFE3:
.size call, .-call
.section .rodata
.align 2
.LC2:
.string "call2"
.text
.align 4
.type call2, @function
call2:
.LFB4:
.loc 1 31 0
stmg %r11,%r15,88(%r15)
.LCFI6:
aghi %r15,-184
.LCFI7:
lgr %r11,%r15
.LCFI8:
lgr %r1,%r2
stg %r3,160(%r11)
st %r1,172(%r11)
.loc 1 32 0
l %r1,172(%r11)
ahi %r1,64
st %r1,180(%r11)
.loc 1 33 0
lg %r1,160(%r11)
ahi %r1,-64
st %r1,176(%r11)
.loc 1 34 0
l %r2,180(%r11)
l %r1,176(%r11)
lgfr %r4,%r1
lgfr %r1,%r2
larl %r2,.LC2
lgr %r3,%r1
brasl %r14,m
lgr %r1,%r2
lgfr %r1,%r1
.loc 1 35 0
lgr %r2,%r1
lg %r4,296(%r11)
lmg %r11,%r15,272(%r11)
br %r4
.LFE4:
.size call2, .-call2
.align 4
.type m, @function
m:
.LFB2:
.loc 1 3 0
stmg %r11,%r15,88(%r15)
.LCFI9:
aghi %r15,-216
.LCFI10:
lgr %r11,%r15
.LCFI11:
stg %r2,176(%r11)
lgr %r1,%r3
stg %r4,160(%r11)
st %r1,172(%r11)
.LBB2:
.loc 1 10 0
lhi %r1,0
st %r1,212(%r11)
.loc 1 11 0
mvc 200(8,%r11),176(%r11)
.loc 1 12 0
mvc 196(4,%r11),172(%r11)
.loc 1 13 0
mvc 184(8,%r11),160(%r11)
.L11:
.loc 1 15 0
lg %r3,200(%r11)
l %r2,196(%r11)
lg %r1,184(%r11)
#APP
nop
.loc 1 16 0
#NO_APP
l %r1,212(%r11)
ltr %r1,%r1
jne .L11
.LBE2:
.loc 1 18 0
l %r1,172(%r11)
ahi %r1,32
lgfr %r1,%r1
.loc 1 19 0
lgr %r2,%r1
lg %r4,328(%r11)
lmg %r11,%r15,304(%r11)
br %r4
.LFE2:
.size m, .-m
.section .debug_frame,"",@progbits
.Lframe0:
.4byte .LECIE0-.LSCIE0
.LSCIE0:
.4byte 0xffffffff
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -8
.byte 0xe
.byte 0xc
.uleb128 0xf
.uleb128 0xa0
.align 8
.LECIE0:
.LSFDE0:
.4byte .LEFDE0-.LASFDE0
.LASFDE0:
.4byte .Lframe0
.8byte .LFB5
.8byte .LFE5-.LFB5
.byte 0x4
.4byte .LCFI0-.LFB5
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI1-.LCFI0
.byte 0xe
.uleb128 0x160
.byte 0x4
.4byte .LCFI2-.LCFI1
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE0:
.LSFDE2:
.4byte .LEFDE2-.LASFDE2
.LASFDE2:
.4byte .Lframe0
.8byte .LFB3
.8byte .LFE3-.LFB3
.byte 0x4
.4byte .LCFI3-.LFB3
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI4-.LCFI3
.byte 0xe
.uleb128 0x158
.byte 0x4
.4byte .LCFI5-.LCFI4
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE2:
.LSFDE4:
.4byte .LEFDE4-.LASFDE4
.LASFDE4:
.4byte .Lframe0
.8byte .LFB4
.8byte .LFE4-.LFB4
.byte 0x4
.4byte .LCFI6-.LFB4
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI7-.LCFI6
.byte 0xe
.uleb128 0x158
.byte 0x4
.4byte .LCFI8-.LCFI7
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE4:
.LSFDE6:
.4byte .LEFDE6-.LASFDE6
.LASFDE6:
.4byte .Lframe0
.8byte .LFB2
.8byte .LFE2-.LFB2
.byte 0x4
.4byte .LCFI9-.LFB2
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI10-.LCFI9
.byte 0xe
.uleb128 0x178
.byte 0x4
.4byte .LCFI11-.LCFI10
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE6:
.section .eh_frame,"a",@progbits
.Lframe1:
.4byte .LECIE1-.LSCIE1
.LSCIE1:
.4byte 0x0
.byte 0x1
.string ""
.uleb128 0x1
.sleb128 -8
.byte 0xe
.byte 0xc
.uleb128 0xf
.uleb128 0xa0
.align 8
.LECIE1:
.LSFDE1:
.4byte .LEFDE1-.LASFDE1
.LASFDE1:
.4byte .LASFDE1-.Lframe1
.8byte .LFB5
.8byte .LFE5-.LFB5
.byte 0x4
.4byte .LCFI0-.LFB5
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI1-.LCFI0
.byte 0xe
.uleb128 0x160
.byte 0x4
.4byte .LCFI2-.LCFI1
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE1:
.LSFDE3:
.4byte .LEFDE3-.LASFDE3
.LASFDE3:
.4byte .LASFDE3-.Lframe1
.8byte .LFB3
.8byte .LFE3-.LFB3
.byte 0x4
.4byte .LCFI3-.LFB3
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI4-.LCFI3
.byte 0xe
.uleb128 0x158
.byte 0x4
.4byte .LCFI5-.LCFI4
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE3:
.LSFDE5:
.4byte .LEFDE5-.LASFDE5
.LASFDE5:
.4byte .LASFDE5-.Lframe1
.8byte .LFB4
.8byte .LFE4-.LFB4
.byte 0x4
.4byte .LCFI6-.LFB4
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI7-.LCFI6
.byte 0xe
.uleb128 0x158
.byte 0x4
.4byte .LCFI8-.LCFI7
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE5:
.LSFDE7:
.4byte .LEFDE7-.LASFDE7
.LASFDE7:
.4byte .LASFDE7-.Lframe1
.8byte .LFB2
.8byte .LFE2-.LFB2
.byte 0x4
.4byte .LCFI9-.LFB2
.byte 0x8f
.uleb128 0x5
.byte 0x8e
.uleb128 0x6
.byte 0x8d
.uleb128 0x7
.byte 0x8c
.uleb128 0x8
.byte 0x8b
.uleb128 0x9
.byte 0x4
.4byte .LCFI10-.LCFI9
.byte 0xe
.uleb128 0x178
.byte 0x4
.4byte .LCFI11-.LCFI10
.byte 0xd
.uleb128 0xb
.align 8
.LEFDE7:
.text
.Letext0:
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LLST0:
.8byte .LFB5-.Ltext0
.8byte .LCFI1-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 160
.8byte .LCFI1-.Ltext0
.8byte .LCFI2-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 352
.8byte .LCFI2-.Ltext0
.8byte .LFE5-.Ltext0
.2byte 0x3
.byte 0x7b
.sleb128 352
.8byte 0x0
.8byte 0x0
.LLST1:
.8byte .LFB3-.Ltext0
.8byte .LCFI4-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 160
.8byte .LCFI4-.Ltext0
.8byte .LCFI5-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 344
.8byte .LCFI5-.Ltext0
.8byte .LFE3-.Ltext0
.2byte 0x3
.byte 0x7b
.sleb128 344
.8byte 0x0
.8byte 0x0
.LLST2:
.8byte .LFB4-.Ltext0
.8byte .LCFI7-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 160
.8byte .LCFI7-.Ltext0
.8byte .LCFI8-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 344
.8byte .LCFI8-.Ltext0
.8byte .LFE4-.Ltext0
.2byte 0x3
.byte 0x7b
.sleb128 344
.8byte 0x0
.8byte 0x0
.LLST3:
.8byte .LFB2-.Ltext0
.8byte .LCFI10-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 160
.8byte .LCFI10-.Ltext0
.8byte .LCFI11-.Ltext0
.2byte 0x3
.byte 0x7f
.sleb128 376
.8byte .LCFI11-.Ltext0
.8byte .LFE2-.Ltext0
.2byte 0x3
.byte 0x7b
.sleb128 376
.8byte 0x0
.8byte 0x0
.section .debug_info
.4byte 0x2b1
.2byte 0x2
.4byte .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.4byte .Ldebug_line0
.8byte .Letext0
.8byte .Ltext0
.string "GNU C 4.1.2 20080704 (Red Hat 4.1.2-44)"
.byte 0x1
.string "testsuite/systemtap.base/inlinedvars.c"
.string "/root/maran/systemtap/s390test/systemtap.git/systemtap"
.uleb128 0x2
.4byte 0x108
.byte 0x1
.string "main"
.byte 0x1
.byte 0x27
.byte 0x1
.4byte 0x108
.8byte .LFB5
.8byte .LFE5
.4byte .LLST0
.uleb128 0x3
.string "argc"
.byte 0x1
.byte 0x26
.4byte 0x108
.byte 0x3
.byte 0x91
.sleb128 -180
.uleb128 0x3
.string "argv"
.byte 0x1
.byte 0x26
.4byte 0x10f
.byte 0x3
.byte 0x91
.sleb128 -192
.uleb128 0x4
.string "i"
.byte 0x1
.byte 0x28
.4byte 0x123
.byte 0x3
.byte 0x91
.sleb128 -164
.uleb128 0x4
.string "j"
.byte 0x1
.byte 0x29
.4byte 0x128
.byte 0x3
.byte 0x91
.sleb128 -176
.byte 0x0
.uleb128 0x5
.string "int"
.byte 0x4
.byte 0x5
.uleb128 0x6
.byte 0x8
.4byte 0x115
.uleb128 0x6
.byte 0x8
.4byte 0x11b
.uleb128 0x5
.string "char"
.byte 0x1
.byte 0x8
.uleb128 0x7
.4byte 0x108
.uleb128 0x7
.4byte 0x12d
.uleb128 0x5
.string "long int"
.byte 0x8
.byte 0x5
.uleb128 0x8
.4byte 0x197
.string "call"
.byte 0x1
.byte 0x17
.byte 0x1
.4byte 0x108
.8byte .LFB3
.8byte .LFE3
.4byte .LLST1
.uleb128 0x3
.string "pi"
.byte 0x1
.byte 0x16
.4byte 0x108
.byte 0x3
.byte 0x91
.sleb128 -172
.uleb128 0x3
.string "pj"
.byte 0x1
.byte 0x16
.4byte 0x12d
.byte 0x3
.byte 0x91
.sleb128 -184
.uleb128 0x4
.string "ic"
.byte 0x1
.byte 0x18
.4byte 0x123
.byte 0x3
.byte 0x91
.sleb128 -164
.uleb128 0x4
.string "jc"
.byte 0x1
.byte 0x19
.4byte 0x123
.byte 0x3
.byte 0x91
.sleb128 -168
.byte 0x0
.uleb128 0x8
.4byte 0x1fa
.string "call2"
.byte 0x1
.byte 0x1f
.byte 0x1
.4byte 0x108
.8byte .LFB4
.8byte .LFE4
.4byte .LLST2
.uleb128 0x3
.string "pi2"
.byte 0x1
.byte 0x1e
.4byte 0x108
.byte 0x3
.byte 0x91
.sleb128 -172
.uleb128 0x3
.string "pj2"
.byte 0x1
.byte 0x1e
.4byte 0x12d
.byte 0x3
.byte 0x91
.sleb128 -184
.uleb128 0x4
.string "ic2"
.byte 0x1
.byte 0x20
.4byte 0x123
.byte 0x3
.byte 0x91
.sleb128 -164
.uleb128 0x4
.string "jc2"
.byte 0x1
.byte 0x21
.4byte 0x123
.byte 0x3
.byte 0x91
.sleb128 -168
.byte 0x0
.uleb128 0x8
.4byte 0x2af
.string "m"
.byte 0x1
.byte 0x3
.byte 0x1
.4byte 0x108
.8byte .LFB2
.8byte .LFE2
.4byte .LLST3
.uleb128 0x3
.string "name"
.byte 0x1
.byte 0x2
.4byte 0x115
.byte 0x3
.byte 0x91
.sleb128 -200
.uleb128 0x3
.string "i"
.byte 0x1
.byte 0x2
.4byte 0x108
.byte 0x3
.byte 0x91
.sleb128 -204
.uleb128 0x3
.string "j"
.byte 0x1
.byte 0x2
.4byte 0x12d
.byte 0x3
.byte 0x91
.sleb128 -216
.uleb128 0x9
.string "inlined_label"
.byte 0x1
.byte 0x10
.8byte .L11
.uleb128 0xa
.8byte .LBB2
.8byte .LBE2
.uleb128 0x4
.string "c"
.byte 0x1
.byte 0xa
.4byte 0x123
.byte 0x3
.byte 0x91
.sleb128 -164
.uleb128 0x4
.string "p_name"
.byte 0x1
.byte 0xb
.4byte 0x2af
.byte 0x3
.byte 0x91
.sleb128 -176
.uleb128 0x4
.string "p_i"
.byte 0x1
.byte 0xc
.4byte 0x123
.byte 0x3
.byte 0x91
.sleb128 -180
.uleb128 0x4
.string "p_j"
.byte 0x1
.byte 0xd
.4byte 0x128
.byte 0x3
.byte 0x91
.sleb128 -192
.byte 0x0
.byte 0x0
.uleb128 0x7
.4byte 0x115
.byte 0x0
.section .debug_abbrev
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x10
.uleb128 0x6
.uleb128 0x12
.uleb128 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x25
.uleb128 0x8
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.uleb128 0x1b
.uleb128 0x8
.byte 0x0
.byte 0x0
.uleb128 0x2
.uleb128 0x2e
.byte 0x1
.uleb128 0x1
.uleb128 0x13
.uleb128 0x3f
.uleb128 0xc
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x3
.uleb128 0x5
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x4
.uleb128 0x34
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0xa
.byte 0x0
.byte 0x0
.uleb128 0x5
.uleb128 0x24
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.byte 0x0
.byte 0x0
.uleb128 0x6
.uleb128 0xf
.byte 0x0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x7
.uleb128 0x35
.byte 0x0
.uleb128 0x49
.uleb128 0x13
.byte 0x0
.byte 0x0
.uleb128 0x8
.uleb128 0x2e
.byte 0x1
.uleb128 0x1
.uleb128 0x13
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x27
.uleb128 0xc
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.uleb128 0x40
.uleb128 0x6
.byte 0x0
.byte 0x0
.uleb128 0x9
.uleb128 0xa
.byte 0x0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x11
.uleb128 0x1
.byte 0x0
.byte 0x0
.uleb128 0xa
.uleb128 0xb
.byte 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x1
.byte 0x0
.byte 0x0
.byte 0x0
.section .debug_pubnames,"",@progbits
.4byte 0x17
.2byte 0x2
.4byte .Ldebug_info0
.4byte 0x2b5
.4byte 0xa7
.string "main"
.4byte 0x0
.section .debug_aranges,"",@progbits
.4byte 0x2c
.2byte 0x2
.4byte .Ldebug_info0
.byte 0x8
.byte 0x0
.2byte 0x0
.2byte 0x0
.8byte .Ltext0
.8byte .Letext0-.Ltext0
.8byte 0x0
.8byte 0x0
.ident "GCC: (GNU) 4.1.2 20080704 (Red Hat 4.1.2-44)"
.section .note.GNU-stack,"",@progbits