Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.