public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/24448] New: exelib.exp regressed on rhel8
@ 2019-04-11 14:07 mcermak at redhat dot com
  2019-04-11 14:08 ` [Bug runtime/24448] " mcermak at redhat dot com
  2019-04-11 14:10 ` mcermak at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2019-04-11 14:07 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=24448

            Bug ID: 24448
           Summary: exelib.exp regressed on rhel8
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
  Target Milestone: ---

Created attachment 11740
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11740&action=edit
test logs

The exelib.exp testcase regressed comparing rhel-7 and rhel-8. The test only
runs with -O3 by default.  Re-running it with -O0 showed some failures, and
with -O0 the test passed.

The first failure I see (with the default -O3) is:

=======
8.0 Server x86_64 # gcc
/usr/share/systemtap/testsuite/systemtap.exelib/uprobes_lib.c
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -g -m32 -O3 -fPIC
-shared -lm -o ./libuprobeslibgcc-O3-m32-debug.so
8.0 Server x86_64 # gcc
/usr/share/systemtap/testsuite/systemtap.exelib/uprobes_exe.c
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -g -m32 -O3 -L.
-luprobeslibgcc-O3-m32-debug -Wl,-rpath,. -lm -o
./uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe
8.0 Server x86_64 # stap -w --ldd
/usr/share/systemtap/testsuite/systemtap.exelib/libmarkunamestack.stp
./uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe
./libuprobeslibgcc-O3-m32-debug.so -c
./uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe
main
exe: main=main
main_func: 3
exe: main_func=main_func
print_ubacktrace exe 0
0x8048580 : main_func+0x0/0x50
[...yeyJV/uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe]
0x8048422 : main+0x22/0x40
[...yeyJV/uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe]
main_count: 3
main_func: 2
exe: main_func=main_func
print_usyms exe 1
0x8048580 : main_func+0x0/0x50
[...yeyJV/uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe]
0x80485a7 : main_func+0x27/0x50
[...yeyJV/uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe]
0x8048422 : main+0x22/0x40
[...yeyJV/uprobesgcc-O3-m32-debug-uprobeslibgcc-O3-m32-debug_exe]
main_count: 2
main_func: 1
exe: main_func=main_func
main_count: 1
lib_main
lib: lib_main=lib_main
lib_func: 3
lib: lib_func=lib_func
print_ubacktrace lib 2
0xf7fc1480 : lib_func+0x0/0x50
[/tmp/tmp.98qTgyeyJV/libuprobeslibgcc-O3-m32-debug.so]
0xf7fc14f0 : lib_main+0x20/0x2c
[/tmp/tmp.98qTgyeyJV/libuprobeslibgcc-O3-m32-debug.so]
func_count: 5360

^^^^^^^^^^^^^^^^^^ HERE the hitcount should be 3

Pass 5: run failed. [man error::pass5]
(1) 8.0 Server x86_64 #
=======

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/24448] exelib.exp regressed on rhel8
  2019-04-11 14:07 [Bug runtime/24448] New: exelib.exp regressed on rhel8 mcermak at redhat dot com
@ 2019-04-11 14:08 ` mcermak at redhat dot com
  2019-04-11 14:10 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2019-04-11 14:08 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=24448

Martin Cermak <mcermak at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/24448] exelib.exp regressed on rhel8
  2019-04-11 14:07 [Bug runtime/24448] New: exelib.exp regressed on rhel8 mcermak at redhat dot com
  2019-04-11 14:08 ` [Bug runtime/24448] " mcermak at redhat dot com
@ 2019-04-11 14:10 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2019-04-11 14:10 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=24448

--- Comment #1 from Martin Cermak <mcermak at redhat dot com> ---
(In reply to Martin Cermak from comment #0)
> Re-running it with -O0 showed some failures, and with -O0 the test passed.

Should have read: Re-running with -O2 showed some (less) failures, and with -O0
the test passed.  See attached test logs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-11 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-11 14:07 [Bug runtime/24448] New: exelib.exp regressed on rhel8 mcermak at redhat dot com
2019-04-11 14:08 ` [Bug runtime/24448] " mcermak at redhat dot com
2019-04-11 14:10 ` mcermak at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).