Can'r build glibc from SRPM

Steve Snyder swsnyder at insightbb.com
Tue Jan 11 12:30:36 UTC 2005


I've had this problem.  It was the result of not building against the 
RHL/Fedora official kernels.  Apparently the plain Linux kernels didn't 
have some expected patches, causing the build to fail.

On Monday 10 January 2005 4:13 pm, Kevin Worthington wrote:
> I downloaded glibc:
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/SRPMS
>/glibc-2.3.4-2.fc3.src.rpm and can not rebuild it on any of my i686
> systems. I ran: rpmbuild -ba glibc.spec --target=i686 and it gives me
> the following:
>
> <snippage>
> ====================PLT RELOCS LIBC.SO==============
> + sed -n -e '/^Relocation section
> .*\(\.rela\?\.plt\|\.rela\.IA_64\.pltoff\)/,/^$/p'
> + readelf -Wr /tmp/glibc-2.3.4-root/lib/tls/libc-2.3.4.so
> Relocation section '.rel.plt' at offset 0x14b48 contains 7 entries:
>  Offset     Info    Type                Sym. Value  Symbol's Name
> 00126000  00003207 R_386_JUMP_SLOT        000feac0   _Unwind_Find_FDE
> 00126004  0001ee07 R_386_JUMP_SLOT        00063b50   malloc
> 00126008  00034507 R_386_JUMP_SLOT        00063860   calloc
> 0012600c  0004a307 R_386_JUMP_SLOT        00064190   realloc
> 00126010  00060407 R_386_JUMP_SLOT        00063e30   memalign
> 00126014  00067807 R_386_JUMP_SLOT        00000000   ___tls_get_addr
> 00126018  00085a07 R_386_JUMP_SLOT        00061a70   free
> + echo ====================PLT RELOCS END==================
> ====================PLT RELOCS END==================
[snip]

I've had this problem.  It was the result of not building against the 
RHL/Fedora official kernels.  Apparently the plain Linux kernels didn't 
have some expected patches, causing the GLibC build to fail.




More information about the fedora-list mailing list