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: Summary of nightly testing 20061016 (failed to retrieve return value location)


Nguyen, Thang P wrote:
Hi Will,

Sorry for the confusion. The test I used

./testsuite/systemtap.samples/tcptest.exp (tcptest.stp)

Occasionally it fails due to TCP traffic, but not "$return" error.


Thang

The problem is due to shared libraries. Need to set up so looks for shared libraries in when running the tests. Below demonstrates the problem.


$ LD_LIBRARY_PATH=/home/wcohen/systemtap_write/obj/lib-elfutils:/home/wcohen/systemtap_write/obj/lib-elfutils/systemtap:$LD_LIBRARY_PATH ./stap ../src/testsuite/systemtap.samples/tcptest.stp

Okay the following works:

$ LD_LIBRARY_PATH=/home/wcohen/systemtap_write/intall2/lib/systemtap ./stap ../src/testsuite/systemtap.samples/tcptest.stp

This does not work:

$ ./stap ../src/testsuite/systemtap.samples/tcptest.stp semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:129:9
semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:159:9
semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:129:9
semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:159:9
semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:129:9
semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:159:9
semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:129:9
semantic error: failed to retrieve return value location: identifier '$return' at /home/wcohen/systemtap_write/intall2/share/systemtap/tapset/tcp.stp:159:9
Pass 2: analysis failed. Try again with more '-v' (verbose) options.


-Will


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