This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Assembler problem(?) when compiling SysVinit.
- To: oeysteij@online.no
- Subject: Re: Assembler problem(?) when compiling SysVinit.
- From: Ian Lance Taylor <ian@zembu.com>
- Date: 29 Aug 1999 17:09:12 -0400
- CC: binutils@sourceware.cygnus.com
- References: <37C6EAA1.660E8D47@online.no>
Date: Fri, 27 Aug 1999 21:44:34 +0200
From: =?iso-8859-1?Q?=D8ystein?= Johansen <oeysteij@online.no>
(I'm not sure if this is the right mailinglist to ask this question,
but I don't know any other place to ask. As a matter of fact, I'm not
even sure the assembler is the problem..)
The assembler is not the problem.
gcc -c -Wall -O2 -D_GNU_SOURCE init.c
init.c: In function `console_open':
init.c:478: warning: `fd' might be used uninitialized in this function
init.c: In function `check_pipe':
init.c:1757: Invalid `asm' statement:
init.c:1757: fixed or forbidden register 2 (cx) was spilled for class
CREG.
init.c: In function `check_init_fifo':
init.c:1964: Invalid `asm' statement:
init.c:1964: fixed or forbidden register 2 (cx) was spilled for class
CREG.
make: *** [init.o] Error 1
At this lines (1757 and 1964) the program calls a macro called FD_SET.
Is this a bug in the assembler or gcc-2.95? A error in my setup?
An error in SysVinit?
The bug is either in gcc or (more likely) in the inline assembler code
in question. The bug is not in the assembler; the assembler is not
even being run.
Ian