Chapter 5.6: Glibc-2.3.4 "symbol definition loop" errors

Andrew Price andy at andrewprice.me.uk
Sun May 21 12:32:46 PDT 2006


On a Fedora Core 5 host system I'm at chapter 5.6 of the stable LFS, 
building glibc-2.3.4.

I installed the patch as per the manual and the "configure" step goes 
fine with no errors but the "make" step throws up these errors:

> gcc -B/tools/bin/ ../sysdeps/wordsize-32/divdi3.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=4  -fPIC    -I../include -I. -I/mnt/lfs/sources/glibc-build/csu -I.. -I../libio -I../nptl -I/mnt/lfs/sources/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I
./sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -DHAVE_INITFINI -o /mnt/lfs/sources/glibc-build/csu/divdi3.os -MD -MP -MF /mnt/lfs/sources/glibc-build/csu/divdi3.os.dt -MT /mnt/lfs/sources/glibc-build/csu/divdi3.os
> /tmp/cc7sQmkl.s: Assembler messages:
> /tmp/cc7sQmkl.s:1632: Error: symbol definition loop encountered at `__divdi3_internal'
> /tmp/cc7sQmkl.s:1632: Error: symbol definition loop encountered at `__udivdi3_internal'
> /tmp/cc7sQmkl.s:1632: Error: symbol definition loop encountered at `__moddi3_internal'
> /tmp/cc7sQmkl.s:1632: Error: symbol definition loop encountered at `__umoddi3_internal'
> make[2]: *** [/mnt/lfs/sources/glibc-build/csu/divdi3.os] Error 1
> make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/csu'
> make[1]: *** [csu/subdir_lib] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4'
> make: *** [all] Error 2

I've looked around for solutions to this problem but haven't found 
anything in the errata, the FAQ or from googling and searching the LFS site.

Any light you could shed on the matter would be most appreciated.

Thank you in advance.

--
Andrew Price




More information about the lfs-support mailing list