* linux-kernel 2.1.130/VGER and egcs-2.92.23
@ 1998-12-09 1:22 teunis
1998-12-09 1:36 ` Matthias Urlichs
1998-12-09 3:08 ` Alexandre Oliva
0 siblings, 2 replies; 3+ messages in thread
From: teunis @ 1998-12-09 1:22 UTC (permalink / raw)
To: egcs
For those who don't have linux-2.1.130 source I'm not providing enough
info here to properly diagnose... tell me what to provide as I don't have
a working @#@#$^ web browser so can't read the docs.
linux-2.1.125-130 (VGER), lotsa other details.
Cyrix 6x86-200+ (non-MMX so pentium optimizations chosen).
Older egcs works.
Newer egcs spits out:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o init/main.c
/usr/src/linux/include/asm/string.h: In function `check_cyrix_cpu':
/usr/src/linux/include/asm/string.h:40: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:40: fixed or forbidden register 4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h: In function `get_options':
/usr/src/linux/include/asm/string.h:160: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:160: fixed or forbidden register 4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h: In function `name_to_kdev_t':
/usr/src/linux/include/asm/string.h:141: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:141: fixed or forbidden register 2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:141: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:141: fixed or forbidden register 2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h: In function `checksetup':
/usr/src/linux/include/asm/string.h:141: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:141: fixed or forbidden register 2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:141: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:141: fixed or forbidden register 2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:141: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:141: fixed or forbidden register 2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:141: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:141: fixed or forbidden register 2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h: In function `parse_options':
/usr/src/linux/include/asm/string.h:160: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:160: fixed or forbidden register 4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:119: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:119: fixed or forbidden register 4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:119: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:119: fixed or forbidden register 4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:119: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:119: fixed or forbidden register 4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h:141: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:141: fixed or forbidden register 2 (cx) was spilled for class CREG.
/usr/src/linux/include/asm/string.h:160: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:160: fixed or forbidden register 4 (si) was spilled for class SIREG.
/usr/src/linux/include/asm/string.h: In function `start_kernel':
/usr/src/linux/include/asm/string.h:535: Invalid `asm' statement:
/usr/src/linux/include/asm/string.h:535: fixed or forbidden register 2 (cx) was spilled for class CREG.
make: *** [init/main.o] Error 1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-kernel 2.1.130/VGER and egcs-2.92.23
1998-12-09 1:22 linux-kernel 2.1.130/VGER and egcs-2.92.23 teunis
@ 1998-12-09 1:36 ` Matthias Urlichs
1998-12-09 3:08 ` Alexandre Oliva
1 sibling, 0 replies; 3+ messages in thread
From: Matthias Urlichs @ 1998-12-09 1:36 UTC (permalink / raw)
To: teunis; +Cc: egcs
Hi,
teunis:
> Newer egcs spits out:
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o init/main.c
> /usr/src/linux/include/asm/string.h: In function `check_cyrix_cpu':
> /usr/src/linux/include/asm/string.h:40: Invalid `asm' statement:
> /usr/src/linux/include/asm/string.h:40: fixed or forbidden register 4 (si) was spilled for class SIREG.
The code looks like this:
extern inline char * strcpy(char * dest,const char *src)
{
__asm__ __volatile__(
"cld\n"
"1:\tlodsb\n\t"
"stosb\n\t"
"testb %%al,%%al\n\t"
"jne 1b"
: /* no output */
:"S" (src),"D" (dest):"si","di","ax","memory");
return dest;
}
--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-kernel 2.1.130/VGER and egcs-2.92.23
1998-12-09 1:22 linux-kernel 2.1.130/VGER and egcs-2.92.23 teunis
1998-12-09 1:36 ` Matthias Urlichs
@ 1998-12-09 3:08 ` Alexandre Oliva
1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 1998-12-09 3:08 UTC (permalink / raw)
To: teunis; +Cc: egcs
On Dec 9, 1998, teunis <teunis@computersupportcentre.com> wrote:
> /usr/src/linux/include/asm/string.h:40: Invalid `asm' statement:
Doesn't it say it all? You should probably read the following FAQs
unless you've read them already:
http://egcs.cygnus.com/faq.html#linuxkernel
http://egcs.cygnus.com/faq.html#asmclobber
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-12-09 3:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-09 1:22 linux-kernel 2.1.130/VGER and egcs-2.92.23 teunis
1998-12-09 1:36 ` Matthias Urlichs
1998-12-09 3:08 ` Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).