From owner-freebsd-newbies@FreeBSD.ORG Sat Jul 5 02:47:42 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC84337B401 for ; Sat, 5 Jul 2003 02:47:42 -0700 (PDT) Received: from hot.ee (mail.hot.ee [194.126.101.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id A410543FA3 for ; Sat, 5 Jul 2003 02:47:41 -0700 (PDT) (envelope-from hej@hot.ee) Received: from localhost (relay2 [127.0.0.1]) by hot.ee (Postfix) with ESMTP id 1E4071092CF for ; Sat, 5 Jul 2003 12:47:40 +0300 (EEST) Received: from hot.ee ([127.0.0.1]) by localhost (relay2 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06123-02 for ; Sat, 5 Jul 2003 12:47:39 +0300 (EEST) Received: from alpha2 (alpha2.hot.ee [10.0.0.158]) by hot.ee (Postfix) with SMTP id EEA5A1092B7 for ; Sat, 5 Jul 2003 12:47:39 +0300 (EEST) Received: by alpha2 (sSMTP sendmail emulation); Sat, 5 Jul 2003 12:47:39 +0300 Date: Sat, 5 Jul 2003 12:47:39 +0300 To: freebsd-newbies@freebsd.org From: Mihail Errors-To: X-Mailer: Hot.ee webmail (http://portal.hot.ee) Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <20030705094739.EEA5A1092B7@hot.ee> X-Virus-Scanned: by mail.hot.ee Subject: Kernel compile error X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 09:47:43 -0000 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