From: fche@redhat.com (Frank Ch. Eigler)
To: Satish Kumar <sakumar@mvista.com>
Cc: systemtap@sourceware.org
Subject: Re: Error: staprun syntax error on Target
Date: Wed, 29 Nov 2017 19:19:00 -0000 [thread overview]
Message-ID: <87374w99kg.fsf@redhat.com> (raw)
In-Reply-To: <CABx0mK+5iuWQ8gDUb3GQHUsYWbVX+bMLioxvnA7ygAj5oicrHw@mail.gmail.com>
Satish Kumar <sakumar@mvista.com> 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
next prev parent reply other threads:[~2017-11-29 19:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-29 16:46 Satish Kumar
2017-11-29 19:19 ` Frank Ch. Eigler [this message]
2017-11-30 15:30 ` Satish Kumar
2017-11-30 15:35 ` Frank Ch. Eigler
2017-11-30 15:40 ` Satish Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87374w99kg.fsf@redhat.com \
--to=fche@redhat.com \
--cc=sakumar@mvista.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).