This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error: staprun syntax error on Target


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 <fche@redhat.com> wrote:

> 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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]