public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/6400] New: New runtime unwinder code does not make use of locally built elfutils
@ 2008-04-14 19:30 wcohen at redhat dot com
  2008-04-14 19:51 ` [Bug runtime/6400] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: wcohen at redhat dot com @ 2008-04-14 19:30 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/6400] New runtime unwinder code does not make use of locally built elfutils
  2008-04-14 19:30 [Bug runtime/6400] New: New runtime unwinder code does not make use of locally built elfutils wcohen at redhat dot com
@ 2008-04-14 19:51 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2008-04-14 19:51 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-04-14 16:32 -------
fixed in commit b976b20

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-14 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-14 19:30 [Bug runtime/6400] New: New runtime unwinder code does not make use of locally built elfutils wcohen at redhat dot com
2008-04-14 19:51 ` [Bug runtime/6400] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).