kernelbuild fails in locore.s

Eirik Nygaard eirikn at kerneled.com
Mon Jan 19 08:20:35 PST 2004


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 at xxxxxxxxxxxx    Never let a computer know you're in a hurry.
Attachment:
pgp00006.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20040119/7fab3b07/attachment-0020.obj>


More information about the Bugs mailing list