Error: suffix or operands invalid for `shr'

Eirik Nygaard eirikn at kerneled.com
Wed Jan 21 06:40:13 PST 2004


On Wed, Jan 21, 2004 at 02:18:36PM +0000, Steve Mynott wrote:
> I get the following with the current tree (I did "rm -rf /usr/obj" and 
> "make installincludes"
> 
> make kernel
> 
> [snip]
> 
> 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/src/sys -I/usr/src/sys/../include 
> -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter 
> -D_KERNEL -include opt_global.h  -mpreferred-stack-boundary=2 
> -ffreestanding /usr/src/sys/i386/i386/locore.s
> {standard input}: Assembler messages:
> {standard input}:2233: Error: suffix or operands invalid for `shr'
> {standard input}:2234: Error: suffix or operands invalid for `shr'
> {standard input}:2250: Error: suffix or operands invalid for `shr'
> {standard input}:2251: Error: suffix or operands invalid for `shr'
> {standard input}:2256: Error: suffix or operands invalid for `shr'
> {standard input}:2261: Error: suffix or operands invalid for `shr'
> {standard input}:2266: Error: suffix or operands invalid for `shr'
> {standard input}:2271: Error: suffix or operands invalid for `shr'
> {standard input}:2288: Error: suffix or operands invalid for `shr'
> {standard input}:2293: Error: suffix or operands invalid for `shr'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> -- Steve
> 

Rebuild world before you make your new kernel should fix it. I think the
error has something todo with the gcc work that has been done in the tree.

-- 
Eirik Nygaard
eirikn at xxxxxxxxxxxx    Never let a computer know you're in a hurry.
Attachment:
pgp00007.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00007.pgp
Type: application/octet-stream
Size: 187 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20040121/f7ce5359/attachment-0016.obj>


More information about the Bugs mailing list