Red Hat Bugzilla – Bug 349591
ld relocation problem while backporting php-5.2.4 to el4 on x86_64
Last modified: 2007-11-30 17:12:20 EST
Description of problem:
x86_64/i386 ld problem (while backporting to el4 on x86_64)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Fetch and install missing builddep packages from rpmforge or backport them
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
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.
A clean build as on i386
Created attachment 235551 [details]
part of rpmbuild output
That libc-client is not built with -fPIC. Please don't file such issues in
Fedora bugzilla, try a RHEL or EPEL mailing list.