From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020528
Description of problem:
The new php-4.1.2-7.3.3 source rpm fails to rebuild. Rebuild machine is SMP RH
7.3, with system kept current. The rebuild message for failure (doing rebuild as
regular user) is:
/usr/bin/ld: .libs/libphp4.so: undefined versioned symbol name
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
make: Leaving directory `/home/home1/myuser/rpm/BUILD/php-4.1.2/build-apache'
make: *** [all-recursive] Error 1
error: Bad exit status from /home/home1/myuser/rpm/tmp/rpm-tmp.39406 (%build)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Regular user, on SMP system: rpm --rebuild php-4.1.2-7.3.3.src.rpm
3.Fails in link step, missing dynamic cast symbol.
Actual Results: Linker fails, perhaps there is a name mangling issue involved.
Expected Results: i386 rpms should be created.
This rpm is a security fix rpm.
Dual PIII, 2.4.19.
[root@stripples dist-7.3-build]# /usr/sbin/chroot .
[root@stripples /]# rpm -qa | grep glibc
[root@stripples /]# rpm -qa | grep libstdc
*scratch* well this is the system thet RPM is built apon, and it's got the same
levels as yourself. You arn't using ccache (http://ccache.samba.org/) by any
chance are you? it tends not to pickup glibc changes on the fly.
I rebult the rpm on the build system and it does complete properly. I'm at a
loss as to whats going on in your system when you build it, but it looks like a
stdc++ linking error
[root@stripples /]# rpm -qf /usr/bin/ld
I am not using anyting unusual that I know of. I do not have samba installed,
nor any software that I know of from http://ccache.samba.org/.
My ld version:
# rpm -qf /usr/bin/ld
Looks like we differ in one patch level. As far as libstdc++ goes:
I forgot to add, for glibc, versions are:
Humm well I'm going to close this as everyone I've asked to recompile it on
their machines here can get it to compile. Something is terribly amiss on your box.
I'm attaching the rpmbuild --rebuild php-4.2.2-10.src.rpm output and closing
Created attachment 73613 [details]
output of rpmbuild
There may be a build requirement for the latest gcc too here; please re-open if
anything is determined.