[Bug runtime/6967] systemtap broken on s390x, compilation error

pmuller at redhat dot com sourceware-bugzilla@sourceware.org
Wed Oct 22 10:08:00 GMT 2008


------- Additional Comments From pmuller at redhat dot com  2008-10-22 10:07 -------
That compiles cleanly. However, I've modified the Makefile generated by 
systemtap do do not throw away the stap_check_build output, and I saw the 
following error:

In file included from include/linux/
irqflags.h:46,                                                                                    
                 from /usr/local/share/systemtap/runtime/autoconf-oneachcpu-
retry.c:2:                                                
include/asm/irqflags.h: In function 
‘raw_irqs_disabled_flags’:                                                                        
include/asm/irqflags.h:49: error: ‘__FLAG_SHIFT’ undeclared (first use in this 
function)

And indeed, if I do a hack and directly include <asm/system.h> (where 
__FLAGS_SHIFT is defined) to runtime/autoconf-oneachcpu-retry.c, things start 
to work, and systemtap starts to work correctly.

-- 


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

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



More information about the Systemtap mailing list