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: Naresh Kamboju <naresh dot kamboju at linaro dot org>
- To: David Smith <dsmith at redhat dot com>
- Cc: systemtap at sourceware dot org, "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: Tue, 4 Feb 2014 16:58:45 +0530
- 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> <52EFEA4C dot 3030605 at redhat dot com>
On 4 February 2014 00:43, David Smith <dsmith@redhat.com> wrote:
> 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,
Thanks for your fix "Compile fix for runtime/vma.c"
Now things are looking fine.
-Naresh Kamboju
>
> --
> David Smith
> dsmith@redhat.com
> Red Hat
> http://www.redhat.com
> 256.217.0141 (direct)
> 256.837.0057 (fax)