kernelbuild fails in locore.s

David Rhodus drhodus at machdep.com
Mon Jan 19 06:22:15 PST 2004


Eirik Nygaard wrote:

My kernel bails out with:
cc -c -x assembler-with-cpp -DLOCORE -O -pipe  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I.
-I/usr/home/eirik/dragonfly/src/sys
-I/usr/home/eirik/dragonfly/src/sys/../include
-I/usr/home/eirik/dragonfly/src/sys/contrib/dev/acpica
-I/usr/home/eirik/dragonfly/src/sys/contrib/ipfilter  -D_KERNEL -include
opt_global.h  -mpreferred-stack-boundary=2 -ffreestanding
/usr/home/eirik/dragonfly/src/sys/i386/i386/locore.s
{standard input}: Assembler messages:
{standard input}:2231: Error: suffix or operands invalid for `shr'
{standard input}:2232: Error: suffix or operands invalid for `shr'
{standard input}:2248: Error: suffix or operands invalid for `shr'
{standard input}:2249: Error: suffix or operands invalid for `shr'
{standard input}:2254: Error: suffix or operands invalid for `shr'
{standard input}:2259: Error: suffix or operands invalid for `shr'
{standard input}:2264: Error: suffix or operands invalid for `shr'
{standard input}:2269: Error: suffix or operands invalid for `shr'
{standard input}:2286: Error: suffix or operands invalid for `shr'
{standard input}:2291: Error: suffix or operands invalid for `shr'
*** Error code 1
Last cvs update 10min ago. Could someone with some assembly knowledge take
a look?
 

Try removing your kernel compile dir.
config -r GENERIC # or what ever your config is...
-DR






More information about the Bugs mailing list