From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21290 invoked by alias); 14 Dec 2009 05:55:45 -0000 Received: (qmail 21279 invoked by uid 22791); 14 Dec 2009 05:55:44 -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-pz0-f199.google.com (HELO mail-pz0-f199.google.com) (209.85.222.199) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Dec 2009 05:55:40 +0000 Received: by pzk37 with SMTP id 37so1897282pzk.10 for ; Sun, 13 Dec 2009 21:55:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.67.7 with SMTP id p7mr2827866wfa.251.1260770138742; Sun, 13 Dec 2009 21:55:38 -0800 (PST) Date: Mon, 14 Dec 2009 05:55:00 -0000 Message-ID: <48e37220912132155j7989f649r5cf719f49eb75ac6@mail.gmail.com> Subject: systemtap-1.0.0 runtime failure on ARM - simple stap script translation fails From: Indraneel Mukherjee To: systemtap@sources.redhat.com 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/msg00891.txt.bz2 Hi, I'm getting the following runtime error on ARM when i try to execute a simple stap script. The error log is below. [root@fedora-arm root]# stap -v test.stp Pass 1: parsed user script and 56 library script(s) in 6040usr/120sys/6210real ms. Pass 2: analyzed script: 1 probe(s), 11 function(s), 2 embed(s), 1 global(s) in 5050usr/4610sys/13504real ms. Pass 3: translated to C into "/tmp/stapkharFx/stap_b865062b08e6d305fd52a1f8999b8bbf_4768.c" in 12590usr/1230sys/22308real ms. In file included from /root/stap/share/systemtap/runtime/runtime.h:124, from /tmp/stapkharFx/stap_b865062b08e6d305fd52a1f8999b8bbf_4768.c:51: /root/stap/share/systemtap/runtime/regs.c: In function '_stp_print_regs': /root/stap/share/systemtap/runtime/regs.c:270: error: implicit declaration of function 'condition_codes' make[1]: *** [/tmp/stapkharFx/stap_b865062b08e6d305fd52a1f8999b8bbf_4768.o] Error 1 make: *** [_module_/tmp/stapkharFx] Error 2 Pass 4: compiled C into "stap_b865062b08e6d305fd52a1f8999b8bbf_4768.ko" in 53690usr/9670sys/66343real ms. Pass 4: compilation failed. Try again with another '--vp 0001' option. The Stap Script is a simple one: #! /usr/bin/env stap proble vfs.read { printf("Systemtap ARM test.\n"); exit(); } SYSTEMTAP VERSION INFO: I'm using the Fedora ARM distro - systemtap-1.0.0 - gcc (GCC) 4.4.2 20091019 (Red Hat 4.4.2-5) - elfutils-0.143-1.fc12.armv5tel The build and run m/c is ARM(no cross instrumentation). Please let me know if more verbose logs are required. Googled without any meaningful pointers. Any pointers will be very helpful!! TIA, Indro