public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4)
@ 2010-03-09 20:00 mjw at redhat dot com
  2010-03-10  9:31 ` [Bug runtime/11364] " mjw at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mjw at redhat dot com @ 2010-03-09 20:00 UTC (permalink / raw)
  To: systemtap

After this commit:

commit f43a495397a431683f2b5ee8ad827f77b82f5f09
Author: Stan Cox <scox@redhat.com>
Date:   Tue Mar 9 10:50:14 2010 -0500

    Only use volatile for sdt.h arguments when needed.
    
    sdt.h (VOLATILE_ARG): gcc 4.4.3 support for inline asm
    argument debug info means volatile is not needed.

The following testcase started failing:

Running /home/mark/systemtap/testsuite/systemtap.base/cxxclass.exp ...
FAIL: cxxclass

		=== systemtap Summary ===

# of expected passes		1
# of unexpected failures	1

Running /home/mark/systemtap/testsuite/systemtap.base/cxxclass.exp ...
Executing on host: g++
/home/mark/systemtap/testsuite/systemtap.base/cxxclass.cxx  -g -O2
-I/home/mark/systemtap/testsuite/../includes  -lm   -o cxxclass.exe    (timeout
= 300)
PASS: cxxclass.c compile
executing: stap /home/mark/systemtap/testsuite/systemtap.base/cxxclass.stp
cxxclass.exe -c ./cxxclass.exe
FAIL: cxxclass
line 1: expected "main_enter"
Got "semantic error: failed to retrieve location attribute for local 'arg3'
(dieoffset: 0x599): identifier '$arg3' at
/home/mark/systemtap/testsuite/systemtap.base/cxxclass.stp:28:57"

This is on fedora 12 x86_64 with g++ (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)

-- 
           Summary: cxxclass.exp fails with latest std.h and g++ (Red Hat
                    4.4.3-4)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com
                CC: scox at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11364

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

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

* [Bug runtime/11364] cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4)
  2010-03-09 20:00 [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4) mjw at redhat dot com
@ 2010-03-10  9:31 ` mjw at redhat dot com
  2010-03-10  9:49 ` mjw at redhat dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mjw at redhat dot com @ 2010-03-10  9:31 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2010-03-10 09:31 -------
This commit makes things work again:

commit 985adad37f66be2b1796641360296b7632c7f290
Author: Stan Cox <scox@redhat.com>
Date:   Tue Mar 9 17:40:04 2010 -0500

    Include __GNUC_RH_RELEASE__ in the volatile check.
    
    sdt.h (GNUC_VERSION) Include __GNUC_RH_RELEASE__.  Check for at least gcc 4.4.4

Do you happen to know which 4.4.4 commit made it work, that isn't in 4.4.3?
(I even tried the fedora 12 4.4.3-8 version, which still fails if the above
check is "downgraded").

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11364

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

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

* [Bug runtime/11364] cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4)
  2010-03-09 20:00 [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4) mjw at redhat dot com
  2010-03-10  9:31 ` [Bug runtime/11364] " mjw at redhat dot com
@ 2010-03-10  9:49 ` mjw at redhat dot com
  2010-03-10  9:59 ` mjw at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mjw at redhat dot com @ 2010-03-10  9:49 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2010-03-10 09:49 -------
Also tried with g++ (GCC) 4.4.3 20100309 (Red Hat 4.4.3-9) which also still fails.
We really should try to figure out what 4.4.4 patch does make this work.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11364

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

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

* [Bug runtime/11364] cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4)
  2010-03-09 20:00 [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4) mjw at redhat dot com
  2010-03-10  9:31 ` [Bug runtime/11364] " mjw at redhat dot com
  2010-03-10  9:49 ` mjw at redhat dot com
@ 2010-03-10  9:59 ` mjw at redhat dot com
  2010-03-11 21:27 ` mjw at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mjw at redhat dot com @ 2010-03-10  9:59 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2010-03-10 09:59 -------
BTW. The test/guard is: #if GNUC_VERSION >= 4040400 && ! defined VOLATILE

What about a program that might be using VOLATILE as define already?
Can't we use something a bit less likely to be used?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11364

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

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

* [Bug runtime/11364] cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4)
  2010-03-09 20:00 [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4) mjw at redhat dot com
                   ` (2 preceding siblings ...)
  2010-03-10  9:59 ` mjw at redhat dot com
@ 2010-03-11 21:27 ` mjw at redhat dot com
  2010-03-11 21:31 ` mjw at redhat dot com
  2010-03-17 15:24 ` mjw at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mjw at redhat dot com @ 2010-03-11 21:27 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2010-03-11 21:27 -------
See also: https://bugzilla.redhat.com/show_bug.cgi?id=572260
"missing debuginfo for inline asm arg in c++ method"

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11364

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

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

* [Bug runtime/11364] cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4)
  2010-03-09 20:00 [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4) mjw at redhat dot com
                   ` (3 preceding siblings ...)
  2010-03-11 21:27 ` mjw at redhat dot com
@ 2010-03-11 21:31 ` mjw at redhat dot com
  2010-03-17 15:24 ` mjw at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mjw at redhat dot com @ 2010-03-11 21:31 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2010-03-11 21:31 -------
Upstream gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43329
"Early inlining causes suboptimal debug info"

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11364

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

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

* [Bug runtime/11364] cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4)
  2010-03-09 20:00 [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4) mjw at redhat dot com
                   ` (4 preceding siblings ...)
  2010-03-11 21:31 ` mjw at redhat dot com
@ 2010-03-17 15:24 ` mjw at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mjw at redhat dot com @ 2010-03-17 15:24 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2010-03-17 15:24 -------
commit 6ccb243c59eff3ac89072b112414c50d6ef6cf3b
Author: Mark Wielaard <mjw@redhat.com>
Date:   Wed Mar 17 15:41:02 2010 +0100

    PR11364 sdt.h volatile for args isn't needed with gcc 4.5 or rh 4.4.3-10+


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11364

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

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

end of thread, other threads:[~2010-03-17 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-09 20:00 [Bug runtime/11364] New: cxxclass.exp fails with latest std.h and g++ (Red Hat 4.4.3-4) mjw at redhat dot com
2010-03-10  9:31 ` [Bug runtime/11364] " mjw at redhat dot com
2010-03-10  9:49 ` mjw at redhat dot com
2010-03-10  9:59 ` mjw at redhat dot com
2010-03-11 21:27 ` mjw at redhat dot com
2010-03-11 21:31 ` mjw at redhat dot com
2010-03-17 15:24 ` mjw 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).