[Bug translator/10313] New: Build error due to a deprecation in elfutils
maranp at linux dot vnet dot ibm dot com
sourceware-bugzilla@sourceware.org
Tue Jun 23 05:11:00 GMT 2009
elf_getshstrndx is used by SystemTap but it is deprecated by commit
f189493154d0041deced00e6a99cc5426dc9d260 in elfutils.
This results in systemtap build error.
The error is pasted below.
g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/local/bin"'
-DSYSCONFDIR='"/usr/local/etc"' -DPKGDATADIR='"/usr/local/share/systemtap"'
-DPKGLIBDIR='"/usr/local/libexec/systemtap"' -Iinclude-elfutils -Wall
-Werror -g -O2 -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2 -MT
stap-hash.o -MD -MP -MF .deps/stap-hash.Tpo -c -o stap-hash.o `test -f
'hash.cxx' || echo './'`hash.cxx
cc1plus: warnings being treated as errors
tapsets.cxx: In constructor
Âdwarf_builder::probe_table::probe_table(std::string&, systemtap_session&,
dwflpp*)Â:
tapsets.cxx:702: warning: Âelf_getshstrndx is deprecated (declared at
include-elfutils/libelf.h:276)
tapsets.cxx:702: warning: Âelf_getshstrndx is deprecated (declared at
include-elfutils/libelf.h:276)
tapsets.cxx:726: warning: Âelf_getshstrndx is deprecated (declared at
include-elfutils/libelf.h:276)
tapsets.cxx:726: warning: Âelf_getshstrndx is deprecated (declared at
include-elfutils/libelf.h:276)
--
Summary: Build error due to a deprecation in elfutils
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: maranp at linux dot vnet dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10313
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list