Date: Sat, 5 Jul 2003 12:47:39 +0300 From: Mihail <hej@hot.ee> To: freebsd-newbies@freebsd.org Subject: Kernel compile error Message-ID: <20030705094739.EEA5A1092B7@hot.ee>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030705094739.EEA5A1092B7>