Bug 1290470 - Rebase elfutils to 0.164/0165 in DTS 4.1
Summary: Rebase elfutils to 0.164/0165 in DTS 4.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: elfutils
Version: DTS 4.1 RHEL 6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 4.1
Assignee: Mark Wielaard
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-10 15:39 UTC by mbenitez
Modified: 2016-05-31 08:39 UTC (History)
5 users (show)

Fixed In Version: devtoolset-4-elfutils-0.165-3
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-31 08:39:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1142 0 normal SHIPPED_LIVE devtoolset-4-elfutils bug fix and enhancement update 2016-05-31 12:30:23 UTC

Description mbenitez 2015-12-10 15:39:12 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Josh Stone 2016-01-28 21:47:00 UTC
Building systemtap against 0.165-2, I get these errors:

> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `deflate_cleanup.6800':
> (.text+0x11): undefined reference to `deflateEnd'
> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `__libelf_compress':
> (.text+0x16a): undefined reference to `deflateInit_'
> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `__libelf_compress':
> (.text+0x27d): undefined reference to `deflate'
> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `__libelf_compress':
> (.text+0x2f6): undefined reference to `deflateEnd'
> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `__libelf_decompress':
> (.text+0x47d): undefined reference to `inflateInit_'
> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `__libelf_decompress':
> (.text+0x4b3): undefined reference to `inflate'
> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `__libelf_decompress':
> (.text+0x4c0): undefined reference to `inflateReset'
> /opt/rh/devtoolset-4/root/usr/lib64/libelf.ar(libelf_a-elf_compress.o): In function `__libelf_decompress':
> (.text+0x4d4): undefined reference to `inflateEnd'
> collect2: error: ld returned 1 exit status

Adding "-lz" to systemtap's LDFLAGS solves it.  Is this expected behavior?

Comment 3 Josh Stone 2016-01-29 00:06:42 UTC
DTS's libelf.so is a linker script with "INPUT(libelf.ar)". Adding "INPUT(-lz)" to this solves the problem. In fact, libdw.so includes several libraries this way.

Comment 4 Mark Wielaard 2016-01-29 08:29:32 UTC
(In reply to Josh Stone from comment #3)
> DTS's libelf.so is a linker script with "INPUT(libelf.ar)". Adding
> "INPUT(-lz)" to this solves the problem. In fact, libdw.so includes several
> libraries this way.

Thanks for testing. That is the way I solved it. New build attached to errata.

Comment 5 Martin Cermak 2016-03-18 13:26:42 UTC
Rebase testing passed against devtoolset-4-elfutils-0.165-7.el[67].

Comment 7 errata-xmlrpc 2016-05-31 08:39:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1142


Note You need to log in before you can comment on or make changes to this bug.