[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fixed or forbidden register 2 (cx) was spilled for class CREG
From: |
C . Ulrich |
Subject: |
fixed or forbidden register 2 (cx) was spilled for class CREG |
Date: |
Sat, 9 Jun 2001 19:45:41 -0600 |
Well, I suppose this is my first bug report. Or another one of my many
blunders. Guess we'll find out.
When compiling glibc-2.2.3, I get the following error about 17 minutes into
the make process:
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.
I am attempting to build glibc on one machine to eventually tranfer to
another for a homebrew Linux system. I am trying to compile it on a heavily
modified Mandrake 7.2 setup. I created a separate glibc-build directory as
the docs recommend. I have a script in it which contains my ./configure
arguments:
../glibc-2.2.3/configure \
--with-headers=/usr/local/geenix/usr/include/ \
--enable-add-ons=linuxthreads \
--prefix=/usr \
--enable-kernel=2.4.5 \
--disable-profile
configure complains about none of this. I am trying to build glibc on a
system using Linux kernel 2.4.1, but as you'll note above, I want to use the
headers from 2.4.5. (I reckon this shouldn't hurt. I've built 2.4.5 already,
so everything should be in order there.) I am using gcc 2.95.3 and have met
all the version requirements in the docs. I have read the glibc FAQ
completely.
When looking for an answer, I turned up two things of interest. The first is
a GCC FAQ. It appears to be saying that an error such as the one mentioned
above is caused by some sort of improper assembly coding:
http://gcc.gnu.org/fom_serv/cache/23.html
Not satisfied, I searched gnatsweb to see if I could find a bug report
similar to my problem. It returned a couple, but they seem to have something
to do more with documentation regarding said asm changes in the above FAQ.
Bugs 845, 852, 853, and 856 in the gcc-queue category.
I would appreciate any help, suggestions, or smackdowns. Thank you.
--C. Ulrich.
- fixed or forbidden register 2 (cx) was spilled for class CREG,
C . Ulrich <=