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: Eirik Nygaard <eirikn@xxxxxxxxxxxx>
Date: Mon, 19 Jan 2004 17:19:23 +0100

On Mon, Jan 19, 2004 at 09:20:46AM -0500, David Rhodus wrote:
> 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...
> 

I had tried that, the fix was a rebuild of world. Works now at least.

-- 
Eirik Nygaard
eirikn@xxxxxxxxxxxx    Never let a computer know you're in a hurry.

Attachment: pgp00006.pgp
Description: PGP signature



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