Bug 1593421

Summary: Regression: direct GOT relocation R_386_GOT32 against `__PGOSF224_kpmhalloc' without base register can not be used when making a shared object
Product: Red Hat Enterprise Linux 7 Reporter: Joe Wright <jwright>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.5CC: alanm, law, ohudlick
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-21 12:13:16 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:

Description Joe Wright 2018-06-20 19:10:53 UTC
Description of problem:

Updating to RHEL 7.5, issue when relink Oracle EBS 12.1.3 binaries. Oracle Support found that the issue is caused by binutils -2.27-27.base.0.1.el7.x86_64. Per Oracle note 2392829.1, the workaround is to downgrade binutils package to binutils-2.25.1-32.base.el7_4.2.x86_64 or binutils-2.23.52.0.1-16.el7.x86_64. This workaround is effective

Version-Release number of selected component (if applicable):
- binutils -2.27-27.base.0.1.el7.x86_64

How reproducible:
- not sure how to reproduce in house (Red Hat)

Steps to Reproduce:
1. Update to RHEL 7.5/binutils -2.27-27.base.0.1.el7.x86_64
2. relink oracle  EBS 12.1.3 binaries
3.

Actual results:

Completed linking target nnfgt.o on Fri Jun 15 14:55:56 EDT 2018...
/u002/shared/FINEBF/apps/tech_st/10.1.2/network/lib
/u002/shared/FINEBF/apps/tech_st/10.1.2/bin/genclntsh
/bin/ld: /u002/shared/FINEBF/apps/tech_st/10.1.2/lib/libclient10.a(kpm.o): direct GOT relocation R_386_GOT32 against `__PGOSF224_kpmhalloc' without base register can not be used when making a shared object
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/u002/shared/FINEBF/apps/tech_st/10.1.2/bin/genagtsh /u002/shared/FINEBF/apps/tech_st/10.1.2/lib/libagtsh.so 1.0

Expected results:


Additional info:

Comment 3 Joe Wright 2018-06-20 19:13:04 UTC
error output truncated, heres the full output:

Completed linking target nnfgt.o on Fri Jun 15 14:55:56 EDT 2018...
/u002/shared/FINEBF/apps/tech_st/10.1.2/network/lib
/u002/shared/FINEBF/apps/tech_st/10.1.2/bin/genclntsh
/bin/ld: /u002/shared/FINEBF/apps/tech_st/10.1.2/lib/libclient10.a(kpm.o): direct GOT relocation R_386_GOT32 against `__PGOSF224_kpmhalloc' without base register can not be used when making a shared object
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/u002/shared/FINEBF/apps/tech_st/10.1.2/bin/genagtsh /u002/shared/FINEBF/apps/tech_st/10.1.2/lib/libagtsh.so 1.0

 
for libs in /u002/shared/FINEBF/apps/tech_st/10.1.2/lib//libde.so.0 /u002/shared/FINEBF/apps/tech_st/10.1.2/lib//libdeb.so.0 ; do \
                /u002/shared/FINEBF/apps/tech_st/10.1.2/bin/genshlib $libs; \
done
Completed linking targets sharedlibs on Fri Jun 15 14:56:03 EDT 2018...

Error found while relinking
  return code = .10.11.13.14.15.16.33.36.37.39.43.44.45.46.46.47.48.49

Comment 4 Nick Clifton 2018-06-21 12:13:16 UTC
Hi Joe,

  This bug has already been reported:

https://bugzilla.redhat.com/show_bug.cgi?id=1573872

  A fix has been applied to the RHEL 7.6 binutils, and it has
  also backported to RHEL 7.5 as a z-stream fix:

https://bugzilla.redhat.com/show_bug.cgi?id=1582602

Cheers
  Nick

*** This bug has been marked as a duplicate of bug 1573872 ***