The macro FD_ZERO() which is in /usr/src/linux/include/asm-i386/posix_types.h
is in error and hasn't been modified since Dec 27, 1998. Will need to have
a fix done to correct this so that this sysvinit can be compiled using this
macro and no register spilling occurs.
Can someone post a temporary solution in the meantime while I wait for
linux kernel v2.2.14 to come out (I'm having problems doing the patch
method). I'd like to recompile "init" and determine if this is my
"do_select()" problem when the "init" process is running. Thanks.
cc -c -Wall -O2 -D_GNU_SOURCE init.c
init.c: In function `console_open':
init.c:457: warning: `fd' might be used uninitialized in this function
init.c: In function `check_pipe':
init.c:1693: Invalid `asm' statement:
init.c:1693: fixed or forbidden register 2 (cx) was spilled for class CREG.
init.c: In function `check_init_fifo':
init.c:1893: Invalid `asm' statement:
init.c:1893: fixed or forbidden register 2 (cx) was spilled for class CREG.
make: *** [init.o] Error 1
**** Here is one line of code from the errors above that is causing it.
1693 FD_ZERO(&s);
PS: Everything else in syvsinit compiles.
MIke
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/