This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2252] stap generated code does not compile on RHEL4 UP kernel
- From: "joshua dot i dot stone at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 31 Jan 2006 23:46:14 -0000
- Subject: [Bug translator/2252] stap generated code does not compile on RHEL4 UP kernel
- References: <20060131214910.2252.wcohen@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From joshua dot i dot stone at intel dot com 2006-01-31 23:46 -------
It appears to have a problem with this definition of read_trylock:
#ifndef read_trylock
#define read_trylock(x) (read_lock(x),1)
#endif
read_lock maps to _read_lock, which is defined two ways: a function on SMP, or a
do{...}while(0) macro on UP.
Nothing jumps at me *why* this is an error though...
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2252
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.