From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27120 invoked by alias); 3 Feb 2014 09:16:52 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 27112 invoked by uid 89); 3 Feb 2014 09:16:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f172.google.com Received: from mail-yk0-f172.google.com (HELO mail-yk0-f172.google.com) (209.85.160.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 03 Feb 2014 09:16:50 +0000 Received: by mail-yk0-f172.google.com with SMTP id 200so12341226ykr.3 for ; Mon, 03 Feb 2014 01:16:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CGA4E1giBeERzrQwNJyxAIOJwH1u+YoJCjZ1+EJnLgs=; b=ge2W4IFKKCqrZc6VH30DnZun3Z/nkmIDvl0CUrexB8LEvadrD99EqIE8LBSnltPzk/ /cTO5iPoazRnOGtYLnmqWY8H5FWuQKQDfd9e/5zkW/KGe28uOsi8DgdHdI2zRSaLoulF 6fTfm42grQ++YstgiKXotXkeDjd5ASs+3tw3hngcJRnmnosbYL0JNt+jTZbQPiBB3Vpy Y/S7GRKPlLhrvOfeqPeZ3UKLbhODP5vB7a2InWn6m32NbTQUOd4vf00eR8Dj129nM8Cz zcNYnFUGz3ZK5JWPWJhGXcwwMSecg6lH5hnYCnSCSD2YMSDiF4PKn8r4evNu7Q7BBdJe zHTA== X-Gm-Message-State: ALoCoQm5Bhbtxku41N8YBVg7MEAUxYTQnD2V6gTjOSzMgZ00HTW8qdOsK6vo5R69jwqXF8RpYz5S MIME-Version: 1.0 X-Received: by 10.236.230.3 with SMTP id i3mr32948975yhq.13.1391419008058; Mon, 03 Feb 2014 01:16:48 -0800 (PST) Received: by 10.170.121.13 with HTTP; Mon, 3 Feb 2014 01:16:48 -0800 (PST) In-Reply-To: References: Date: Mon, 03 Feb 2014 09:16:00 -0000 Message-ID: Subject: Re: systemtap test suite compilation failed: runtime/vma.c :133:21: error: pointer targets in initialization differ in signedness From: Will Newton To: Naresh Kamboju Cc: systemtap@sourceware.org, "Frank Ch. Eigler" , William Cohen , Milosz Wasilewski , Linaro Toolchain Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2014-q1/txt/msg00079.txt.bz2 On 3 February 2014 07:30, Naresh Kamboju 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) -- Will Newton Toolchain Working Group, Linaro