Problem Compiling

Ian Chilton ian at
Sat Jun 24 12:01:25 PDT 2000


I am building LFS 2.3.5b, and am in the 'building static software' stage,
and having a problem with glibc 2.1.3.

I tried the patch, but that didn't seem to help...anyone have any ideas?

make[2]: Entering directory `/lfs/src/glibc-2.1.3/db2'
common/db_appinit.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings
 -g   -fPIC    -I../include -I. -I/lfs/src/glibc-2.1.3/glibc-build/db2 -I.. 
-I../libio  -I/lfs/src/glibc-2.1.3/glibc-build -I../sysdeps/i386/elf -I../cr
ypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads
/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysde
ps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -
I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I..
/sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysd
eps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdep
s/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I..
/sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/libm-i387/i686 -I../s
ysdeps/i386/fpu -I../sysdeps/libm-i387 -I../sysdeps/i386 -I../sysdeps/wordsi
ze-32 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/el
f -I../sysdeps/generic  -nostdinc -isystem
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/include -isystem
/lfs/usr/include -D_LIBC_REENTRANT -include
/include/libc-symbols.h  -DPIC   -DHAVE_LLSEEK=1 -DHAVE_SPINLOCKS=1 -DHAVE_A
SSEM_X86_GCC=1 -I./include -include ./compat.h -o
common/db_appinit.c: In function `__db_appname':
common/db_appinit.c:479: fixed or forbidden register 0 (ax) was spilled for
class AREG.
common/db_appinit.c:479: This may be due to a compiler bug or to impossible
common/db_appinit.c:479: statements or clauses.
common/db_appinit.c:479: This is the instruction:
(insn 902 901 903 (parallel[
            (set (reg:SI 2 %ecx)
                        (mem:BLK (reg:SI 5 %edi) 0)
                        (const_int 0 [0x0])
                        (const_int 1 [0x1])
                    ]  0))
            (clobber (reg:SI 5 %edi))
        ] ) 424 {strlensi+1} (insn_list 901 (nil))
    (expr_list:REG_UNUSED (reg:SI 5 %edi)
make[2]: *** [/lfs/src/glibc-2.1.3/glibc-build/db2/db_appinit.os] Error 1
make[2]: Leaving directory `/lfs/src/glibc-2.1.3/db2'
make[1]: *** [db2/others] Error 2
make[1]: Leaving directory `/lfs/src/glibc-2.1.3'
make: *** [all] Error 2


Bye for Now,


                     (o o)
 |  Ian Chilton                              |
 |  E-Mail : ian at              |

Mail archive:
IRC access: server: port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list