Problem Compiling

Thomas T. Veldhouse veldy at veldy.net
Sat Jun 24 14:05:25 PDT 2000


Did you upgrade your compiler to 2.95.2?

Tom Veldhouse
veldy at veldy.net

On Sat, 24 Jun 2000, Ian Chilton wrote:

> Hello,
> 
> 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'
> gcc
> 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
> /lfs/src/glibc-2.1.3/glibc-build/db2/db_appinit.os
> 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
> asm
> 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)
>                 (unspec:SI[
>                         (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)
>         (nil)))
> 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
> 
> 
> Thanks!
> 
> 
> Bye for Now,
> 
> Ian
> 
> 
>                      \|||/
>                      (o o)
>  /----------------ooO-(_)-Ooo----------------\
>  |  Ian Chilton                              |
>  |  E-Mail : ian at ichilton.co.uk              |
>  \-------------------------------------------/
> 
> --
> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> "unsubscribe" (without the quotation marks) in the body of the message
> (no subject is required)
> 

--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org 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