This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6400] New: New runtime unwinder code does not make use of locally built elfutils
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 14 Apr 2008 15:59:20 -0000
- Subject: [Bug runtime/6400] New: New runtime unwinder code does not make use of locally built elfutils
- Reply-to: sourceware-bugzilla at sourceware dot org
When attempting to build a snapshot of systemtap checked out of git April 14 on
rhel5 machine, the build failed. It appears that the new unwind code assumes
that the elfutils are installed in the machine and does not make use of the
locally built copy of elfutils. Got the following output when attempting to
build on RHEL5 x868_64 machine:
gcc -DHAVE_CONFIG_H -I. -I/home/wcohen/stap_testing_200804140830/systemtap
-DBINDIR='"/home/wcohen/stap_testing_200804140830/install/bin"'
-DPKGDATADIR='"/home/wcohen/stap_testing_200804140830/install/share/systemtap"'
-DPKGLIBDIR='"/home/wcohen/stap_testing_200804140830/install/libexec/systemtap"'
-m64 -D_GNU_SOURCE -fexceptions -Wall -Werror -Wshadow -Wunused -Wformat=2 -W
-g -O2 -fstack-protector-all -D_FORTIFY_SOURCE=2 -MT stapio-unwind_data.o -MD
-MP -MF .deps/stapio-unwind_data.Tpo -c -o stapio-unwind_data.o `test -f
'runtime/staprun/unwind_data.c' || echo
'/home/wcohen/stap_testing_200804140830/systemtap/'`runtime/staprun/unwind_data.c
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:13:30:
error: elfutils/libdwfl.h: No such file or directory
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:14:19:
error: dwarf.h: No such file or directory
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:18:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kernel_callbacks'
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:25:
error: expected ')' before '*' token
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:
In function 'send_unwind_data':
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:66:
error: 'Dwfl' undeclared (first use in this function)
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:66:
error: (Each undeclared identifier is reported only once
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:66:
error: for each function it appears in.)
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:66:
error: 'dwfl' undeclared (first use in this function)
cc1: warnings being treated as errors
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:66:
warning: implicit declaration of function 'dwfl_begin'
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:66:
error: 'kernel_callbacks' undeclared (first use in this function)
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:69:
warning: implicit declaration of function 'get_module_unwind_data'
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:69:
warning: assignment makes pointer from integer without a cast
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:71:
warning: assignment makes pointer from integer without a cast
/home/wcohen/stap_testing_200804140830/systemtap/runtime/staprun/unwind_data.c:80:
warning: implicit declaration of function 'dwfl_end'
make[2]: *** [stapio-unwind_data.o] Error 1
make[2]: Leaving directory `/home/wcohen/stap_testing_200804140830/obj'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wcohen/stap_testing_200804140830/obj'
make: *** [all] Error 2
+ check_error 2 'problem building stap'
+ test 2 '!=' 0
+ echo problem building stap
problem building stap
+ exit 2
--
Summary: New runtime unwinder code does not make use of locally
built elfutils
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: wcohen at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6400
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.