Bug 1508983
| Summary: | Need to rebuild rpm in order to remove static relocations not known to older linkers | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Nick Clifton <nickc> |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.5 | CC: | ashankar, atragler, desktop-qa-list, fweimer, jakub, law, lvrabec, mgrepl, mmalik, mnewsome, mpetlan, mpolacek, ohudlick, pfrankli, plautrba, ptoscano, qe-baseos-security, qe-baseos-tools-bugs, sgrubb, yoguo |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libguestfs-1.36.10-2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1508980 | Environment: | |
| Last Closed: | 2018-04-10 09:20:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1508954, 1508965, 1508966, 1508968, 1508970, 1508979, 1508980 | ||
| Bug Blocks: | |||
|
Comment 2
Richard W.M. Jones
2017-11-02 15:42:01 UTC
Reproduced with the following packages:
binutils-2.27-19.base.el7.x86_64
libguestfs-1.36.10-1.el7.x86_64
Steps:
1. On rhel7.4(x86_64) host
#mkdir /dev/shm/delme; pushd /dev/shm/delme
2. Download the package of ocaml-libguestfs-devel-1.36.10-1.el7.x86_64.rpm
#rpm2cpio ocaml-libguestfs-devel-1.36.10-1.el7.x86_64.rpm | cpio -dim
3. #find . -type f -exec readelf -r -W {} \; > relocs.out
4. #grep -e GOTPCRELX -e GOT32X relocs.out
-----------------------------------------------------
...
0000000000039b72 000002700000002a R_X86_64_REX_GOTPCRELX 0000000000000000 caml_local_roots - 4
0000000000039ca2 000002700000002a R_X86_64_REX_GOTPCRELX 0000000000000000 caml_local_roots - 4
0000000000039dd4 000002700000002a R_X86_64_REX_GOTPCRELX 0000000000000000 caml_local_roots - 4
0000000000039f84 000002700000002a R_X86_64_REX_GOTPCRELX 0000000000000000 caml_local_roots - 4
000000000003a134 000002700000002a R_X86_64_REX_GOTPCRELX 0000000000000000 caml_local_roots - 4
000000000003a2b4 000002700000002a R_X86_64_REX_GOTPCRELX 0000000000000000 caml_local_roots - 4
000000000003a464 000002700000002a R_X86_64_REX_GOTPCRELX 0000000000000000 caml_local_roots - 4
-----------------------------------------------------
I verified that this appears to be fixed in the ocaml-libguestfs-devel-1.36.10-2.el7.x86_64.rpm package. Verified with the following packages:
binutils-2.27-19.base.el7.x86_64
libguestfs-1.36.10-1.el7.x86_64
Steps:
1. On rhel7.4(x86_64) host
#mkdir /dev/shm/delme; pushd /dev/shm/delme
2. Download the package of ocaml-libguestfs-devel-1.36.10-2.el7.x86_64.rpm
#rpm2cpio ocaml-libguestfs-devel-1.36.10-2.el7.x86_64.rpm | cpio -dim
3. #find . -type f -exec readelf -r -W {} \; > relocs.out
4. #grep -e GOTPCRELX -e GOT32X relocs.out
In step 4, there is no relocs found. So verified this bug.
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-2018:0677 |