Bug 349591

Summary: ld relocation problem while backporting php-5.2.4 to el4 on x86_64
Product: [Fedora] Fedora Reporter: Ingvar Hagelund <ingvar>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-23 21:41:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
part of rpmbuild output none

Description Ingvar Hagelund 2007-10-23 21:07:51 UTC
Description of problem:
x86_64/i386 ld problem (while backporting to el4 on x86_64)

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

How reproducible:
Always

Steps to Reproduce:

1. Fetch and install missing builddep packages from rpmforge or backport them
from rawhide.

2. Install source rpm on el4. Remove unsupported -Wno-pointer-sign on gcc-3.4.6
from CFLAGS in specfile. 

3. rpmbuild -bb php.spec. Watch as build fails on x86_64. Note that build in
i386 works without problems


Actual results:
ld says: relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object

For more details, se attached part of build log. 

Expected results:

A clean build as on i386

Additional info:
None

Comment 1 Ingvar Hagelund 2007-10-23 21:07:51 UTC
Created attachment 235551 [details]
part of rpmbuild output

Comment 2 Joe Orton 2007-10-23 21:41:33 UTC
That libc-client is not built with -fPIC.  Please don't file such issues in
Fedora bugzilla, try a RHEL or EPEL mailing list.