DragonFly BSD
DragonFly bugs List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: kernelbuild fails in locore.s


From: David Rhodus <drhodus@xxxxxxxxxxx>
Date: Mon, 19 Jan 2004 09:20:46 -0500

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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]