locore.s: suffix or operands invalid for mov

Unga unga888 at yahoo.com
Wed Oct 15 05:00:28 PDT 2008


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



      


More information about the freebsd-questions mailing list