From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 12:00:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 766DA1065758 for ; Wed, 15 Oct 2008 12:00:28 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57006.mail.re3.yahoo.com (web57006.mail.re3.yahoo.com [66.196.97.110]) by mx1.freebsd.org (Postfix) with SMTP id 057F68FC19 for ; Wed, 15 Oct 2008 12:00:27 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 65238 invoked by uid 60001); 15 Oct 2008 12:00:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=MOlFjNDZPVfj3ctBb8w9KP3ogGfKFe6zxyZR6rz6E1f4rQpEzqJbZBYHhVTCBCoNd0cZjApKiISRTlsZ3aSlXACODHLWDaKcwbekRAa+BkS8Fn4VpShl+irTNgfrcxAjXKdUqS9epUfEZ/41JQh6ANtpwETTLOFkhBZ7zR7gEfQ=; X-YMail-OSG: YDn3KW4VM1lrVvCU_w51PmTtn6jK.5fCMxDHz8eRA3ynNnmQ1Cd1z_h2nrUng.iGog1QG1tfDZdY0Lm2LCd6gq4ttfYT0HntE3BU3q9JwRKypPDhcKe0TtobDpbVCr_pHCQqPOy6ooty9AyTkjDoLq39kw-- Received: from [220.255.7.245] by web57006.mail.re3.yahoo.com via HTTP; Wed, 15 Oct 2008 05:00:27 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 15 Oct 2008 05:00:27 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <203696.64458.qm@web57006.mail.re3.yahoo.com> Subject: locore.s: suffix or operands invalid for mov X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 12:00:28 -0000 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