This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: new systemtap snapshot available


When I compile profile.stp in EM64T and IA64 machine, maybe in PPC64 it has the same problem, but I have no PPC64 Box:).  There will be such warning information that it can not compile.
	/tmp/stapsOq5Wi/stap_19359.c: In function `function_accumulate':
	/tmp/stapsOq5Wi/stap_19359.c:382: warning: cast from pointer to integer of different size.
And by the error information, I find the line:
	 l->__tmp3 = (((int)_stp_map_get_is (global_command, l->__tmp2))
And in runtime/map-gen.c function KEYSYM(_stp_map_get) return value type should be VALTYPE. It is int64_t.
So I modify translate.cxx,as follows: 
	  string exists (vector<tmpvar> const & indices) const
  {
    return "(((int64_t)" + call_prefix("get", indices) + ")) != 0)";
  }
And it will compile and run ok in my IA32, EM64T and IA64 box.

>-----Original Message-----
>From: systemtap-owner@sourceware.org [mailto:systemtap-owner@sourceware.org]
>On Behalf Of fche@sourceware.org
>Sent: 2005年11月5日 22:27
>To: systemtap@sources.redhat.com
>Subject: new systemtap snapshot available
>
>A new automated systemtap CVS snapshot is available.
>ftp://sources.redhat.com/pub/systemtap/snapshots/systemtap-20051105.tar.bz2
>328848 bytes


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]