Sender: root AT mail DOT mobigym DOT se Message-ID: <38590B91.81E44C40@mobigym.se> Date: Thu, 16 Dec 1999 16:56:02 +0100 From: Joel Jacobson X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13ext3 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgcc AT delorie DOT com Subject: fixed or forbidden register 0 (ax) was spilled for class AREG Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: pgcc AT delorie DOT com Hi. *** I'm not a memeber of this mailing list so please reply to my e-mail address: joel DOT jacobson AT mobigym DOT se *** I'm having problems compiling GLIBC 2.1.2 with PGCC 2.95.3. I first reported this as a bug in GLIBC (after reading about an similar problem at http://www.delorie.com/archives/browse.cgi?p=pgcc/1999/03/03/10:46:35) but they claim that this is a compiler bug. Andreas Jaeger (aj AT suse DOT de) answered my bug report with this e-mail: ---begin--- ''Please upgrade to glibc 2.1.2 if you're using gcc-2.95.x or pgcc 2.95.x. If it's a bug in glibc 2.1.1, it should be fixed in glibc 2.1.2. I also advise to use gcc 2.95.2 instead of pgcc 2.95.2. The normal gcc has no problems with this code and it really looks like a compiler bug. >> How-To-Repeat: Joel> You will need pgcc 2.95.2, because I don't think gcc 2.95.1 will detect Joel> errors like those. I would say: Produce errors like this. gcc 2.95.2 compiles glibc 2.1.2 just fine. I'm closing the bug report soon, if you can't tell me exactly where glibc 2.1.2 is broken - which I doubt.'' ---end--- He must have missunderstood me. What I was trying to do was to _compile_ GLIBC 2.1.2, that is, I was not reporting a _bug_ IN GLIBC 2.1.2, but a source code error (okey, nearly the same thing, but anyway). I hope you can fix the bug in PGCC (if there is any), or tell how I can compile GLIBC 2.1.2 with PGCC 2.95.3. This is the error I get when executing `make`: ---begin--- make[2]: Entering directory `/usr/src/glibc-2.1.2/db2' gcc common/db_appinit.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -fPIC -I../include -I. -I/usr/src/glibcobj/db2 -I.. -I../libio -I/usr/src/glibcobj -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 /usr/src/glibcobj/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]: *** [/usr/src/glibcobj/db2/db_appinit.os] Error 1 make[2]: Leaving directory `/usr/src/glibc-2.1.2/db2' make[1]: *** [db2/others] Error 2 make[1]: Leaving directory `/usr/src/glibc-2.1.2' make: *** [all] Error 2 ---end--- Thanks in advance. - Joel Jacobson, student/Stockholm