This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[jkohen@tough.com] libc/2099: Error compiling glibc-2.2.2 on Linux kernel 2.4.1.
- To: libc-alpha at sources dot redhat dot com
- Subject: [jkohen@tough.com] libc/2099: Error compiling glibc-2.2.2 on Linux kernel 2.4.1.
- From: Andreas Jaeger <aj at suse dot de>
- Date: 19 Feb 2001 08:34:52 +0100
- Cc: jkohen at tough dot com
Hi libc developers,
This looks like a compiler error. Anything we can do to workaround
it?
Andreas
Topics:
libc/2099: Error compiling glibc-2.2.2 on Linux kernel 2.4.1.
- To: libc-gnats at gnu dot org, gnats-admin at gnu dot org
- Subject: libc/2099: Error compiling glibc-2.2.2 on Linux kernel 2.4.1.
- From: jkohen at tough dot com
- Date: Mon, 19 Feb 2001 01:35:02 -0500
>Number: 2099
>Category: libc
>Synopsis: Can't compile glibc-2.2.2.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: libc-gnats
>State: open
>Quarter:
>Keywords:
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Mon Feb 19 01:35:02 -0500 2001
>Cases:
>Originator: Javier Kohen
>Release: libc-2.2.2
>Organization:
>
>Environment:
Host type: i586-pc-linux-gnu
System: Linux jkohen 2.4.1 #3 jue feb 1 16:54:10 ART 2001 i586 unknown
Architecture: i586
Working glibc-2.2.1
Addons: linuxthreads
Build CC: gcc
Compiler version: 2.95.2 19991024 (release)
Kernel headers: 2.4.1
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: yes
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
Can't compile glibc-2.2.2 with my current setup. Make dies with the following message:
gcc ../sysdeps/unix/sysv/linux/i386/getdents64.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/mnt/store/tmp/glibc/dirent -I.. -I../libio -I/mnt/store/tmp/glibc -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/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/i586 -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../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 -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /mnt/store/tmp/glibc/dirent/getdents64.o
In file included from ../sysdeps/unix/sysv/linux/i386/getdents64.c:22:
../sysdeps/unix/sysv/linux/getdents.c: In function `__getdents64':
../sysdeps/unix/sysv/linux/getdents.c:123: Invalid `asm' statement:
../sysdeps/unix/sysv/linux/getdents.c:123: fixed or forbidden register 2 (cx) was spilled for class CREG.
make[2]: *** [/mnt/store/tmp/glibc/dirent/getdents64.o] Error 1
make[2]: Saliendo directorio `/usr/src/glibc-2.2.2/dirent'
make[1]: *** [dirent/subdir_lib] Error 2
make[1]: Saliendo directorio `/usr/src/glibc-2.2.2'
make: *** [all] Error 2
>How-To-Repeat:
make
>Fix:
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj