public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10602] New: REG_IP() used as lvalue fails on s390x, probably ia64
@ 2009-09-03 22:49 jkenisto at us dot ibm dot com
  2009-09-03 22:54 ` [Bug translator/10602] " jistone at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jkenisto at us dot ibm dot com @ 2009-09-03 22:49 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

The ia64 and s390x definitions of the REG_IP macro in runtime/regs.h prevent
REG_IP(x) from being assigned to, but stap-generated code includes several lines
of the form
    REG_IP(regs) = something;
At least on s390x, this yields compile errors in pass 4:
/tmp/stapkks1PD/stap_..._4792.c: In function ‘enter_kprobe_probe’:
/tmp/stapkks1PD/stap_..._4792.c:1080: error: lvalue required as left operand of
assignment

I think that this is an artifact of the fix for PR #10458.

-- 
           Summary: REG_IP() used as lvalue fails on s390x, probably ia64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


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

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

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

end of thread, other threads:[~2009-09-09 17:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 22:49 [Bug translator/10602] New: REG_IP() used as lvalue fails on s390x, probably ia64 jkenisto at us dot ibm dot com
2009-09-03 22:54 ` [Bug translator/10602] " jistone at redhat dot com
2009-09-03 23:58 ` jkenisto at us dot ibm dot com
2009-09-04  0:00 ` jkenisto at us dot ibm dot com
2009-09-04  0:34 ` jistone at redhat dot com
2009-09-04  4:54 ` andmike at linux dot vnet dot ibm dot com
2009-09-04  8:40 ` mjw at redhat dot com
2009-09-04 18:15 ` jkenisto at us dot ibm dot com
2009-09-04 18:52 ` jistone at redhat dot com
2009-09-09 17:37 ` fche 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).