From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10594 invoked by alias); 30 Nov 2017 15:30:57 -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 10300 invoked by uid 89); 30 Nov 2017 15:30:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.3 required=5.0 tests=BAYES_00,HTML_MESSAGE,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Cross, Provided, H*c:alternative, H*f:sk:87374w9 X-HELO: mail-pl0-f44.google.com Received: from mail-pl0-f44.google.com (HELO mail-pl0-f44.google.com) (209.85.160.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Nov 2017 15:30:54 +0000 Received: by mail-pl0-f44.google.com with SMTP id x22so4423516pln.11 for ; Thu, 30 Nov 2017 07:30:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eHcQ8ABbEey6BH+6NODI7hZOZ2UUGgjj9joH+S87E54=; b=Pq8ISd/H5mRbnOc4YyZEdPsvmgis/WhkG6njS9x8T7GeT8MQIlCgNcFr8HTczZzUSa YMRHW0fZWjYZB/54m5s3CYv2GXm11adQ/AHnvLuUHx842sJjh/zKG3tp5jWrk03iuZny ksOB6YKI7zG7/eMTlYQP2NCmskkXFaDZh8AGPrcS+Drgbe59q8rHd2JiyW1DS7f8VLF8 YdxpmSLhyo39qpHnCh32HpTzQpb3gBSgCtpTgv+tRJQN3RPj5S6CA4a/BOoClGLvxZfg oabUQonULVssIYeiYPdm0njbJf3GzWCcHEdPqmzUsl9VsbNr4IC+C2/wWH15niHcFENc kGTA== X-Gm-Message-State: AJaThX4BCPm/hru4w4DKljnIBgQifb5p42++sgs22xbyzuDk6genfe5D +eE/XiE0I2iQEXIq760peuSdVcDCaE/FNt48x08XVQ== X-Google-Smtp-Source: AGs4zMaX9jwQLjnDzOeFKYkRvx/Qm1Q7LquU+gWI7KuAqd4ST3wPJMT/eAmRiXZ4DcKSCl7HwtajBvOlBFu4HpVHFW8= X-Received: by 10.84.214.136 with SMTP id j8mr3008266pli.408.1512055853044; Thu, 30 Nov 2017 07:30:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.183.233 with HTTP; Thu, 30 Nov 2017 07:30:52 -0800 (PST) In-Reply-To: <87374w99kg.fsf@redhat.com> References: <87374w99kg.fsf@redhat.com> From: Satish Kumar Date: Thu, 30 Nov 2017 15:30:00 -0000 Message-ID: Subject: Re: Error: staprun syntax error on Target To: "Frank Ch. Eigler" Cc: systemtap@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-q4/txt/msg00159.txt.bz2 Hi Frank, Thank you for quick reply. It is working now on target board based on your inputs. If compiling stap, staprun, stapio on the same system, instead of using Cross compilation, issue becomes resolved. In this case, systemtap 2.6 + elfutils 0.161 + Kernel 3.14 --> success Same want to run on Kernel 4.9, so which version of systemtap & which version of elfutils should use I am looking for ARM Arch .board Because if systemtap version and kernel version are not aligned, it does not work(Provided in one of Document). If systemtap not supports till 4.9 kernel , what is highest supported Kernel version + which systemtap version + which elfutils version? Please provide the above information Thanks in advance. Regards Satish.G On Wed, Nov 29, 2017 at 11:42 PM, Frank Ch. Eigler wrote: > Satish Kumar writes: > > > [...] > > root@xilinx-zynq-le:~# staprun > > /usr/target/bin/staprun: line 1: syntax error: unexpected "(" > > following web page > > https://drzhf9.wordpress.com/2015/02/19/systemtap-for-arm/ > > The staprun binary needs to be built for the same architecture on which > it will be executed. (This is the same as any other binary.) It sounds > as though you did the "building for target board" part without the > appropriate --host=XXXXX configure option, or something went wrong with > that build process. > > Can the ARM board run a full enough OS to natively build systemtap > (with --disable-translator if you like), so cross-compilation is not > needed? > > > - FChE >