This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: systemtap test suite compilation failed: runtime/vma.c :133:21: error: pointer targets in initialization differ in signedness
- From: David Smith <dsmith at redhat dot com>
- To: Naresh Kamboju <naresh dot kamboju at linaro dot org>, systemtap at sourceware dot org
- Cc: "Frank Ch. Eigler" <fche at redhat dot com>, William Cohen <wcohen at redhat dot com>, Milosz Wasilewski <milosz dot wasilewski at linaro dot org>, linaro-toolchain at lists dot linaro dot org
- Date: Mon, 03 Feb 2014 13:13:16 -0600
- Subject: Re: systemtap test suite compilation failed: runtime/vma.c :133:21: error: pointer targets in initialization differ in signedness
- Authentication-results: sourceware.org; auth=none
- References: <CA+G9fYtc+BkcSOv_K94CpSAbusBoAvBoRrsbN05P8xBPyCT5OQ at mail dot gmail dot com> <CA+G9fYsao6n+hiR9BeFbepDu9OJUHnVPOtzAv2cZQOpCvesfdg at mail dot gmail dot com>
On 02/03/2014 01:38 AM, Naresh Kamboju wrote:
> Re-sending it as plan-text mode. (sorry)
>
>> **** failed systemtap kernel-devel smoke test:
>>
>> In file included from /usr/local/share/systemtap/runtime/sym.c:16:0,
>> from /usr/local/share/systemtap/runtime/linux/runtime.h:198,
>> from /usr/local/share/systemtap/runtime/runtime.h:24,
>> from /tmp/stapvEzrD5/stap_f7468ebd0051d533d2bae853173fe5a7_892_src.c:24:
>> /usr/local/share/systemtap/runtime/vma.c: In function '_stp_vma_mmap_cb':
>> /usr/local/share/systemtap/runtime/vma.c:133:21: error: pointer targets in initialization differ in signedness [-Werror=pointer-sign]
>> const char *name = (dentry != NULL) ? dentry->d_name.name : NULL;
>> ^
I'm not sure why you are seeing this error but I'm not, but I committed
a cast that should fix it.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)