This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Integer constant is too large for 'long' type
Hi -
On Mon, Nov 16, 2009 at 09:14:52PM +0530, naresh kamboju wrote:
> [...]
> In the above line, extra_offset datatype is "long long int" but
> ".build_id_offset is "unsigned long" only. [...]
That's because it presumes that the buildid note section will be
located somewhat after .text. In the case of your arm kernel build,
that's not the case.
> However, I have [reverted] this patch and able to resolve the build
> issue on ARM.
That's only the build issue. Does the code *run* though, meaning does
it actually verify the buildid bits at virtual address 0x0-ish on your
arm kernel? I suspect not.
- FChE