Hi,
The systemtap test suite compilation failed with below error.
ARCH: arm --------------- kernel location: kernel version: 3.13.0-1-linaro-arndale systemtap location: /usr/local/bin/stap systemtap version: version 2.5/0.157, non-git sources gcc location: /usr/bin/gcc gcc version: gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
**** 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; ^ cc1: all warnings being treated as errors make[4]: *** [/tmp/stapvEzrD5/stap_f7468ebd0051d533d2bae853173fe5a7_892_src.o] Error 1 make[3]: *** [_module_/tmp/stapvEzrD5] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4]
**** aborting testing.
Please let me know if you need more information.
Best regards Naresh kamboju
Re-sending it as plan-text mode. (sorry)
On 3 February 2014 13:00, Naresh Kamboju naresh.kamboju@linaro.org wrote:
Hi,
The systemtap test suite compilation failed with below error.
ARCH: arm
kernel location: kernel version: 3.13.0-1-linaro-arndale systemtap location: /usr/local/bin/stap systemtap version: version 2.5/0.157, non-git sources gcc location: /usr/bin/gcc gcc version: gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
**** 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; ^ cc1: all warnings being treated as errors make[4]: *** [/tmp/stapvEzrD5/stap_f7468ebd0051d533d2bae853173fe5a7_892_src.o] Error 1 make[3]: *** [_module_/tmp/stapvEzrD5] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4]
**** aborting testing.
Please let me know if you need more information.
Best regards Naresh kamboju
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.
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)
On 3 February 2014 07:30, Naresh Kamboju naresh.kamboju@linaro.org wrote:
Hi,
The systemtap test suite compilation failed with below error.
ARCH: arm
kernel location: kernel version: 3.13.0-1-linaro-arndale systemtap location: /usr/local/bin/stap systemtap version: version 2.5/0.157, non-git sources gcc location: /usr/bin/gcc gcc version: gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
**** 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; ^ cc1: all warnings being treated as errors make[4]: *** [/tmp/stapvEzrD5/stap_f7468ebd0051d533d2bae853173fe5a7_892_src.o] Error 1 make[3]: *** [_module_/tmp/stapvEzrD5] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4]
**** aborting testing.
Please let me know if you need more information.
The kernel has lots of these errors, but disables the warning explicitly:
# disable pointer signed / unsigned warnings in gcc 4.0 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)
linaro-toolchain@lists.linaro.org