Kernel compile error

Mihail hej at hot.ee
Sat Jul 5 02:47:43 PDT 2003


Hi,

While building a custom kernel "make" failed with this error:

cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -falign-functions=4 -march=pentium4 -mfpmath=sse -msse -msse2 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  ../../../dev/fb/vga.c
{standard input}: Assembler messages:
{standard input}:3833: Error: suffix or operands invalid for `movd'
{standard input}:4053: Error: suffix or operands invalid for `movd'
*** Error code 1

I did "make" from /usr/src/sys/i386/compile/MYKERNEL
just as described on http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
BTW, how to change the _default_ CFLAGS? I would want to remove -mcpu=pentiumpro that is being appended
(in case -mcpu=pentiumpro conflicts with my -march=pentium4 flag?)

Thanks in advance,
smiha

-----------------------------------------
Hot Mobiil - helinad, logod ja piltsõnumid!
http://portal.hot.ee



More information about the freebsd-newbies mailing list