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: different result on cross-compile on fc12 and fc13


Yes, the -vvvvv and the compare is useful. I found some difference is
suspicious in the comparison. I recompiled the systemtap with another
version elfutils, looks like it solve the problem. Thanks!

On Mon, Mar 21, 2011 at 5:55 PM, Adrien Kunysz <adrien@kunysz.be> wrote:
> On Mon, Mar 21, 2011 at 10:28:02AM +0800, Zhiwei Ying wrote:
>> I have a develop board, which runs linux 2.6.35. The board is
>> connected to a fedora 12. I cross-compile the systemtap script to
>> generate trace.ko, and copy the trace.ko to run the instrumented code
>> on the board.
>>
>> If I compiled the trace.ko on fc13, then everything is fine. The trace
>> log is generated correctly. But if I compiled the trace.ko on fc12,
>> whatever I use the stap on fc12 or compile a systemtap 1.4 myself, I
>> cannot see correct trace log on the board after running. The trace.ko
>> cannot generate any log from application, but only able to trace
>> probe.end.
>>
>> I didn't see any compile error msg on fc12 system.
>>
>> Any idea to solve this problem. I cannot drop fc12 now and don't want
>> to use another fc13 to compile the script.
>
> I would rebuild both the working and non-working versions of the module
> with -vvvvv and try to find any difference in there. Failing that, I
> would look at differences in the modules themselves (maybe with objdump
> and diff) then try to figure out where it comes from.
>
> A more detailed description of what (doesn't) work(s) would also help.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk2HIH8ACgkQKLX03ZSPZGyWvwCfUJWrv3IjG4vG5dKvhFprkcFA
> F2gAn2VMceMx4NL51YRlUAO7V7E/ftgx
> =IYfX
> -----END PGP SIGNATURE-----
>
>


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