From: jgeorgas AT home DOT com Sender: root AT delorie DOT com Message-ID: <38F13D2A.22DAEF54@home.com> Date: Sun, 09 Apr 2000 22:32:10 -0400 X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.3.99-pre3 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgcc AT delorie DOT com Subject: bug compiling glibc-2.1.3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: pgcc AT delorie DOT com here's a good one: I have a dual celeron ( abit bp6 board ) system running a stock slackware 7 system, and I am using pgcc2.95.3, compiled with options: --enable-shared --with-gnu-as --with-gnu-ld --enable-threads. I tried to compile glibc2.1.3 with options: --enable-add-ons --prefix=/usr --disable-profile --host=i686-pc-linux-gnu. ( I had problems with the '-j 2' option to make (3.77) so I turned it off ). glibc compiled and checked fine with gcc2.95.2 compiled with the same options. Here is the error that stopped the make: gcc common/db_appinit.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -fPIC -I../include -I. -I/disks/hda7/build/glibc-2.1.3/db2 -I.. -I../libio -I/disks/hda7/build/glibc-2.1.3 -I../sysdeps/i386/elf -I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/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../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 -I../sysdeps/i386/i486 -I../sysdeps/libm-i387/i686 -I../sysdeps/i386/fpu -I../sysdeps/libm-i387 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DHAVE_LLSEEK=1 -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_X86_GCC=1 -I./include -include ./compat.h -o /disks/hda7/build/glibc-2.1.3/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]: *** [/disks/hda7/build/glibc-2.1.3/db2/db_appinit.os] Error 1 make[2]: Leaving directory `/disks/hda7/glibc-2.1.3/db2' make[1]: *** [db2/others] Error 2 make[1]: Leaving directory `/disks/hda7/glibc-2.1.3' make: *** [all] Error 2