This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Summary of nightly testing 20061016 (failed to retrieve return value location)
- From: William Cohen <wcohen at redhat dot com>
- To: "Nguyen, Thang P" <thang dot p dot nguyen at intel dot com>
- Cc: systemtap at sourceware dot org
- Date: Wed, 18 Oct 2006 15:25:56 -0400
- Subject: Re: Summary of nightly testing 20061016 (failed to retrieve return value location)
- References: <9AE298E00BCF7B469C04BE82FCE78B8701AC14BF@scsmsx414.amr.corp.intel.com>
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