[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03571) USAGI on a SUSE Linux PC compile errors
- To: usagi-users@xxxxxxxxxxxxxx, Larry Snyder <LSnyder@xxxxxxxxxx>
- Subject: (usagi-users 03571) USAGI on a SUSE Linux PC compile errors
- From: Tim McFadden <tim@xxxxxxxxxx>
- Date: Thu, 15 Dec 2005 13:16:25 -0800
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Dear USAGI,
I am trying to load USAGI on a Linux PC and get compile errors in the
kernel code and would appreciate help with finding the correct options
to use.
I am using SUSE 10.1. The current Linux kernel is “2.6.13-15-default”
After the prepare and mrproper, in ./kernel/linux26 I do:
“make”
The supplied code from “USAGI STABLE Release 6” gets assembly errors in
./kernel/linux26/arch/<whatever_architecture>/kernel/process.c.
E.g., /kernel/linux26/arch/i386/kernel/process.c.
I am using “gcc 4.0.2 20050901 (prerelease)”, supplied on the SUSE CD. I
can't find any relevant bug reports on the SUSE site.
The error messages are:
“Error: suffix or operands invalid for mov”
From the assembly listing, they object to any:
“movl %gs....” or “movl %fs....”
E.g., the following code gets errors:
-------------------------------
#APP
movl %fs,504(%ebp)
movl %gs,508(%ebp)
#NO_APP
I've tried the “make menuconfig” processor options that seem to make
sense, but still get the errors. I've compiled process.c separately from
a small script and plugged in all the “gcc” options I could find for
“-march”, etc., which also fail.
No options I can find can deal with code like:
“movl %gs....” or “movl %fs....”
The version of process.c supplied with the SUSE CD kernel code uses:
“mov %fs...”
and is quite different code, anyway.
I haven't been able to download the relevant Intel processor manuals
from their site, to help shed light on the problem.
Thank you for any help.
Tx,
Tim McFadden
--------------------------------------
Interniche Technologies, Inc.
51 East Campbell Avenue, Suite 160
Campbell, CA 95008
408-540-1160x207
tim@xxxxxxxxxx
www.iniche.com
--------------------------------------