This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10602] New: REG_IP() used as lvalue fails on s390x, probably ia64
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 3 Sep 2009 22:49:30 -0000
- Subject: [Bug translator/10602] New: REG_IP() used as lvalue fails on s390x, probably ia64
- Reply-to: sourceware-bugzilla at sourceware dot org
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.