Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 05:00:27 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   locore.s: suffix or operands invalid for mov
Message-ID:  <203696.64458.qm@web57006.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all

I get an error when compiling the RELENG_7 kernel on i386.

cc -c -x assembler-with-cpp -DLOCORE -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/i386/i386/locore.s
/usr/src/sys/i386/i386/locore.s: Assembler messages:
/usr/src/sys/i386/i386/locore.s:341: Error: suffix or operands invalid for `mov'
/usr/src/sys/i386/i386/locore.s:358: Error: suffix or operands invalid for `mov'
*** Error code 1

Btw, I'm using a gcc 4.2.1 patched by myself. This error doesn't happen using the gcc ship with FreeBSD.

What could be the cause of this error? 

Appreciate your reply in this regard.

Kind regards
Unga



      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?203696.64458.qm>