[root@1950 SRPMS]# rpmbuild -bp glibc-2.3.4-2.9xen2.src.rpm ... + mkdir -p /var/tmp/glibc-2.3.4-root/usr/lib/nptl + cp -a libc.a nptl/libpthread.a nptl/libpthread_nonshared.a rt/librt.a /var/tmp/glibc-2.3.4-root/usr/lib/nptl/ + sed ''s| /lib/| /lib/tls/|'' /var/tmp/glibc-2.3.4-root/usr/lib/libc.so sed: can''t read /var/tmp/glibc-2.3.4-root/usr/lib/libc.so: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.90673 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.90673 (%install) [root@1950 SRPMS]# suggestions? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2006-Oct-06 01:51 UTC
Re: [Xen-users] problems compiling RHEL4 glibc srpms
Luke Crawford wrote:> > [root@1950 SRPMS]# rpmbuild -bp glibc-2.3.4-2.9xen2.src.rpm > ...This may not be directly related to your problem, but why don''t you use the latest glibc SRPM from RHEL4 U4 (or CentOS, for that matter). Last I check it was glibc-2.3.4-2.25. I modified the .spec file to add -mno-tls-direct-seg-refs, and it compiles successfully. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users