This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10313] New: Build error due to a deprecation in elfutils
- From: "maranp at linux dot vnet dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 23 Jun 2009 05:10:53 -0000
- Subject: [Bug translator/10313] New: Build error due to a deprecation in elfutils
- Reply-to: sourceware-bugzilla at sourceware dot org
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.