From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15836 invoked by alias); 5 Nov 2009 08:40:29 -0000 Received: (qmail 15827 invoked by uid 22791); 5 Nov 2009 08:40:28 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pw0-f51.google.com (HELO mail-pw0-f51.google.com) (209.85.160.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Nov 2009 08:40:24 +0000 Received: by pwi19 with SMTP id 19so3816615pwi.10 for ; Thu, 05 Nov 2009 00:40:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.55.8 with SMTP id d8mr279307wfa.22.1257410422844; Thu, 05 Nov 2009 00:40:22 -0800 (PST) Date: Thu, 05 Nov 2009 08:40:00 -0000 Message-ID: Subject: Integer constant is too large for 'long' type From: naresh kamboju To: systemtap@sources.redhat.com Cc: "Frank Ch. Eigler" Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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 X-SW-Source: 2009-q4/txt/msg00418.txt.bz2 Hi, I have notice following warning for the most of stp example files under testsuite directory. Warnings being treated as errors and coming out from the build. /*******************************************************************/ # stap -a arm -B CROSS_COMPILE=/usr/local/arm/cross/devel/bin/arm-dev- -p4 -r 2.6.29.4-kzm-arm11-g8de6eff -m five five.stp -vv SystemTap translator/driver (version 1.0/0.137 non-git sources) Copyright (C) 2005-2009 Red Hat, Inc. and others This is free software; see the source for copying conditions. Session arch: arm release: 2.6.29.4-kzm-arm11-g8de6eff Created temporary directory "/tmp/stapBF1Ti1" Searched '/usr/local/arm/cross/devel/share/systemtap/tapset/*.stp', found 56 Pass 1: parsed user script and 56 library script(s) in 270usr/20sys/340real ms. probe schedule@kernel/sched.c:4699 kernel reloc=.dynamic pc=0xc0310c84 probe schedule@kernel/sched.c:4699 kernel reloc=.dynamic pc=0xc0310c84 Pass 2: analyzed script: 2 probe(s), 1 function(s), 0 embed(s), 0 global(s) in 400usr/20sys/509real ms. function recursion-analysis: max-nesting 0 non-recursive probe_1784 locks nothing probe_1785 locks nothing stap_dwarf_probe module[7] stap_dwarf_probe section[7] stap_dwarf_probe pp[59] dump_unwindsyms kernel index=0 base=0x0 Found build-id in kernel, length 20, end at 0x24 Found kernel _stext extra offset 0xc0008000 Pass 3: translated to C into "/tmp/stapBF1Ti1/five.c" in 570usr/20sys/601real ms. Running make -C "/lib/modules/2.6.29.4-kzm-arm11-g8de6eff/build" M="/tmp/stapBF1Ti1" ARCH="arm" "CROSS_COMPILE=/usr/local/arm/cross/devel/bin/arm-dev-" modules --no-print-directory CC [M] /tmp/stapBF1Ti1/five.o cc1: warnings being treated as errors In file included from /tmp/stapBF1Ti1/five.c:754: /tmp/stapBF1Ti1/stap-symbols.h:66980: error: integer constant is too large for 'long' type /tmp/stapBF1Ti1/stap-symbols.h:66980: error: large integer implicitly truncated to unsigned type make[1]: *** [/tmp/stapBF1Ti1/five.o] Error 1 make: *** [_module_/tmp/stapBF1Ti1] Error 2 Pass 4: compiled C into "five.ko" in 3210usr/900sys/4604real ms. Pass 4: compilation failed. Try again with another '--vp 0001' option. Running rm -rf /tmp/stapBF1Ti1 /*******************************************************************/ SystemTap-1.0 elfutils-0.137 gcc version 4.3.3 glibc-2.9 Kernel 2.6.29 /*******************************************************************/ Please provide if you any information related to this. Best regards, Naresh Kamboju