Bug 691768

Summary: systemtap.base/sdt.exp: 32 PASS -> 30 PASS, 1 FAIL, 1 UNTESTED on ppc64
Product: Red Hat Enterprise Linux 6 Reporter: Petr Muller <pmuller>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: mjw, ohudlick
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 694141 (view as bug list) Environment:
Last Closed: 2011-04-06 14:55:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 694141    
Bug Blocks: 682670    

Description Petr Muller 2011-03-29 12:51:04 UTC
Description of problem:
The RHEL6.1 candidate systemtap packages has 30 PASSes, 33 FAILs and 33 UNTESTED in
systemtap.base/sdt.exp testcase, while the 6.0.z systemtap has 32/32/32
here. This happens on ppc64, it does not happen on i686, unknown on s390x and
x86_64

Version-Release number of selected component (if applicable):
Environment:
kernel-2.6.32-122.el6
elfutils-0.152-1.el6
systemtap-testsuite-1.4-4.el6

Systemtap:
systemtap-1.2-11.el6_0 PASS
systemtap-1.4-4 FAIL

How reproducible:
always

Steps to Reproduce:
1. cd /usr/share/systemtap/testsuite/
2. make RUNTESTFLAGS=systemtap.base/sdt.exp installcheck
3.

Actual results:
FAIL

Expected results:
PASS

Additional info:
systemtap.sum.diff:
-PASS: compiling sdt.c c89 -pedantic uprobe
-PASS: sdt c89 -pedantic uprobe
+FAIL: compiling sdt.c c89 -pedantic uprobe
+UNTESTED: sdt c89 -pedantic uprobe

systemtap.log.diff:
-PASS: compiling sdt.c c89 -pedantic uprobe
-executing: stap -w /usr/share/systemtap/testsuite/systemtap.base/sdt.stp sdt.c.exe.2 -c ./sdt.c.exe.2
-PASS: sdt c89 -pedantic uprobe
+cc1: warnings being treated as errors
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c: In function ‘call9’:
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c:50: error: string length ‘542’ is greater than the length ‘509’ ISO C90 compilers are required to support
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c: In function ‘call10’:
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c:55: error: string length ‘579’ is greater than the length ‘509’ ISO C90 compilers are required to support
+compiler exited with status 1
+output is:
+cc1: warnings being treated as errors
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c: In function ‘call9’:
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c:50: error: string length ‘542’ is greater than the length ‘509’ ISO C90 compilers are required to support
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c: In function ‘call10’:
+/usr/share/systemtap/testsuite/systemtap.base/sdt.c:55: error: string length ‘579’ is greater than the length ‘509’ ISO C90 compilers are required to support
+
+FAIL: compiling sdt.c c89 -pedantic uprobe
+UNTESTED: sdt c89 -pedantic uprobe

Comment 2 Frank Ch. Eigler 2011-04-06 14:51:02 UTC
This is primarily a gcc problem that only affects edge cases.
http://sourceware.org/bugzilla/show_bug.cgi?id=12137
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7263

Comment 3 RHEL Program Management 2011-04-06 14:55:01 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.